On Sep 9, 2006, at 9:22 AM, Tie Luo wrote:

Hi, how to detect packet collision in tinyos 2.0? Specifically, a collision can occur either during receiving a packet, or when the two packets come at the same time.

AMReceive only provides event void receive(), which is called when a "good" packet has been received.

Thanks a lot in advance.


Distinguishing a packet collision from a corrupted packet is very difficult.

One way you could do it is to turn off CRC checking (very dangerous) and then examine whether the RSSI value is close to the sensitivity threshold. If it is above the sensitivity threshold, then some RF energy (bringing the noise above the floor) caused the corruption. This RF energy, however, might not be from a TinyOS node; it could be from any transmitter at the same frequency.

Phil

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to