Firstly, convert hex value to decimal (for example, 0xFF = 255) Secondly, get the raw RSSI value by taking 256 out of the converted value (for example, 255-256 = -1)
Finally, get the dBm by adding -45 (offset) (for example, -1+(-45) = -46 dBm) I'm not sure about the last one, you should refer to the CC1000 specification. Hope this helps. Ittipong On 12/04/2008, shankar satish <[EMAIL PROTECTED]> wrote: > > Hi, > Thank you for the demo. > > I am using tinyos-1.x to read Rssi values from Mica2 motes (CC1000 radio). > The message->strength field gives me a hex number whose value increases with > decrease in link quality. Does anyone know how to convert the hex number to > a dBm value? > > > Regards, > Shankar. > > > > On Fri, Apr 11, 2008 at 11:34 PM, Ittipong Khemapech < > [EMAIL PROTECTED]> wrote: > > > Hi Dimas, > > > > Many thanks for your contributions. The number of emails about "how to > > measure RSSI" on this mailing list should be decreased. > > > > However, you may have more emails in your mailbox :-) > > > > Ittipong > > > > On 11/04/2008, Dimas Abreu Dutra <[EMAIL PROTECTED]> wrote: > > > > > Hello everyone, > > > > > > I am proud to announce that, as promised on a previous thread on this > > > list ( > > > http://www.mail-archive.com/[email protected]/msg17933.html) > > > , I procrastinated my real research this afternoon and created a tutorial > > > in > > > the tinyos wiki (http://docs.tinyos.net/index.php/Rssi_Demo) that > > > explains how to read RSSI on tinyos2.x . I submitted the code to the > > > project > > > managers and it should be on the CVS soon. > > > > > > Hope it helps, > > > ~Dimas~ > > > > > > _______________________________________________ > > > Tinyos-help mailing list > > > [email protected] > > > > > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > > > > > > > _______________________________________________ > > Tinyos-help mailing list > > [email protected] > > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > > > >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
