[Tinyos-help] Tinyos bug or my code bug?? noise_reading = -173
Nahr Elk
nahrelk at gmail.com
Fri Jun 26 07:39:14 PDT 2009
Hello all!
I am wondering if there is a bug in the Tinyos cc2420 rssi register
implementation. Because when I try to sense the background noise I usually
found -98 values which is normal value as I don't have a 802.11 traffic
however sometimes I found a value about -173 value?!! abnormal
I am using this interface Read<uint16_t> as NoiseReading;
and at this event :readDone(error_t result, uint16_t data)
I set the noise_reading variable to noise_reading= (data-0x7F)&0xFF;
Where is the wrong here?
What can be the source of -173 value?
Thank you!
Best regards,
Nahr Elk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090626/98e31ef6/attachment.htm
More information about the Tinyos-help
mailing list