In the reality
First case, received signal high, bad s/n -> CRC error -> collision
Second case, received signal low, CRC error ->bit error
In the code, in inetmanet the radio module return the error cause
PhyIndication frameState = radioModel->isReceivedCorrectly(airframe, list);
if (frameState != FRAMEOK)
{
airframe->getEncapsulatedPacket()->setKind(frameState);
airframe->setName(frameState == COLLISION ? "COLLISION" : "BITERROR");
numGivenUp++;
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.