C
void MiMAC_DiscardPacket();
Description
This is the primary MiMAC interface for the protocol layer to discard the current packet received from the RF transceiver.
This is the primary MiMAC interface for the protocol layer to discard the current packet received from the RF transceiver.
Preconditions
MiMAC initialization has been done.
MiMAC initialization has been done.
Returns
None
None
Remarks
None
None
Example 1
if( TRUE == MiMAC_ReceivedPacket() ) { // handle the raw data from RF transceiver // discard the current packet MiMAC_DiscardPacket(); }
Example 2
if( TRUE == MiMAC_ReceivedPacket() ) { // handle the raw data from RF transceiver // discard the current packet MiMAC_DiscardPacket(); }