Quickfix: Treat the number as a uint8_t and then subtract 301 from it. For example the default RSSI threshold value used for deciding channel clear is -77 dBm which is stored as uint8_t value 224 (224 -301 = -77). So what ever value is returned from the register reading should be treated as a unsigned integer and then subtract 301 from it.
Details: Please read the MSP430 datasheet for more clarification. Thanks, Nilesh On Jan 25, 2008 11:15 PM, Edmund J <[EMAIL PROTECTED]> wrote: > hi, > Anyone knows how to convert the RSSI value(the strength) of tmote sky to > db? e.g 0xFA to dB? thank you. > > Regards, > Edmund > > ------------------------------ > > Search. browse and > book<http://sg.rd.yahoo.com/spirit/fea/travel/*http://sg.travel.yahoo.com>your > hotels and flights through Yahoo! Travel > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > -- Nilesh Mishra Embedded Networks Laboratory University of Southern California, 3710 S. McClintock Avenue, Ronald Tutor Hall (RTH) 418 Los Angeles, CA 90089 mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] ph: (213) 821-5627 (lab) (626) 226-7463 (Cell)
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
