Hi,

I am wondering why data[length-1] and data[length-2] are used to get these values (lqi, strength, crc) in RXFIFODone (CC2420RadioM.nc) for Telos. Since the CC2420 calculates the crc-values I thought I wouldn't get any crc-informations on the receving end as well.
And for the lqi and strength values.
Is this just appended by the CC2420 to let me know about the link quality?

Also I was wondering about the (length > MSG_DATA_SIZE) check.
If 2 additional bytes(lqi, strength) are added to the actually received data this should be correct at the beginning of :
rxbufptr->length == length -2
and MSG_DATA_SIZE is the maximum of rxbuf-ptr-length, right?


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

Reply via email to