BOOL MiMAC_ReceivedPacket();
This is the primary MiMAC interface for the protocol layer to check if a packet has been received by the RF transceiver. When a packet has been received, all information will be stored in the global variable MACRxPacket in the format of MAC_RECEIVED_PACKET;
This is the primary MiMAC interface for the protocol layer to check if a packet has been received by the RF transceiver. When a packet has been received, all information will be stored in the global variable MACRxPacket in the format of MAC_RECEIVED_PACKET;
MiMAC initialization has been done.
MiMAC initialization has been done.
A boolean to indicate if a packet has been received by the RF transceiver.
A boolean to indicate if a packet has been received by the RF transceiver.
None
None
if( TRUE == MiMAC_ReceivedPacket() ) { // handle the raw data from RF transceiver // discard the current packet MiMAC_DiscardPacket(); }
if( TRUE == MiMAC_ReceivedPacket() ) { // handle the raw data from RF transceiver // discard the current packet MiMAC_DiscardPacket(); }