MiMAC_DiscardPacket Function

MiWi Development Environment

MiWi(TM) Development Environment Help
MiMAC_DiscardPacket Function
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();
}
Microchip My Application xx.yy - [Jan 1, 2009]
Copyright © 2009 Microchip Technology, Inc.  All rights reserved.