inet-3.6.4/src/inet/linklayer/xmac/XMacLayer.cc
/**
 * Handle XMAC preambles and received data packets.
 */
Handle XMAC preambles and received data packets.
Handle XMAC preambles and received data packets .
void XMacLayer::handleLowerPacket(cPacket *msg)
{
    if (msg->hasBitError()) {
        EV << "Received " << msg << " contains bit errors or collision, dropping it\n";
        nbRxBrokenDataPackets++;
        delete msg;
        return;
    }
	handleSelfMessage(msg);
}
void XMacLayer :: handleLowerPacket ( cPacket * msg ) { if ( msg -> hasBitError ( ) ) { EV << " " << msg << " \n " ; nbRxBrokenDataPackets ++ ; delete msg ; return ; } handleSelfMessage ( msg ) ; }
Handle XMAC preambles and received data packets.
Handle XMAC preambles and received data packets .
// simply pass the massage as self message, to be processed by the FSM.
