Hi Matteo,
You should interpret rssi reading as signed 8 bit value in 2's complement
form.
(From Page 64 of 87: CC2420 datasheet)
"RSSI (0x13) - RSSI and CCA Status and Control Register" part

On Sun, Aug 16, 2009 at 1:09 AM, Matteo Dany <[email protected]> wrote:

> Hi guys,
>
> I have a tmote sky and I search to read a Rssi, but I have little
> problem with convert Rssi .
> I read correctly the Rssi from radio message and the value appears in
> a range  0, 255. But how convert the value in dbm?
> I search in google and I read the CC2420 datasheet, they suggest to
> subtract -45 to the value found.
> When I found 255 - 45 = 210 dbm? I read in the datasheet that the
> range is from 0 to -100 dbm.
> Where I wrong?
>
>
> Thank you very much
>
> Matt
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Mehmet Akif Antepli
Grad. Student
Dept. of EEE
Middle East Technical University
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to