Please read below. Somehow the full conversation went private instead of
going to list hence I am copying it here. Hope it helps :)

On Sun, Jan 27, 2008 at 6:31 AM, Edmund J <[EMAIL PROTECTED]> wrote:

> oh thank you very much for your reply.. cheers.
>
> Regards,
> Edmund
>
> *Nilesh Mishra <[EMAIL PROTECTED]>* wrote:
>
> Essentially the 301 (256+45) figure does the 2's complement (256 - value)
> as well as adds (-45 dBm) to the value reported from the radio register (as
> specified in the MSP430 manual). So essentially the formula can be written
> as - (256 - value) + (-45) = value - 301.
> Cheers,
> Nilesh
>
> On Jan 26, 2008 12:32 AM, Edmund J <[EMAIL PROTECTED]> wrote:
>
> > hi,
> > thanks for the reply. So am i right to say that if i get 0xFA in hex
> > covert to decimal is 250 and then i subtract 301 from it? 250-301 = -96 dB?
> > i no ned to do any 2 complement right? why subtract 301? u have any idea?
> > because i need to write a report on it. thanks alot. cheers.
> >
> > Regards,
> > Edmund
> >
> > *Nilesh Mishra <[EMAIL PROTECTED]>* wrote:
> >
> > 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
> > >
> > >


On Sun, Mar 23, 2008 at 9:16 PM, naveen reddy <[EMAIL PROTECTED]> wrote:

> Hi every one,
>
> I am working on micaz mudules and i need rssi value of received
> signal....i used pong application and got some value of rssi....now how to
> convert it to actual rssi value in DB...wat i felt
> is to get 2's complement of obtained value and add -45(offset) to it....is
> that right??????Thaking in advance....
>
> regrads,
> naveen,
> IIT Bombay.
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Regards
Nilesh

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)
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to