TinyOS-2.0.1: Connect into the CC2420Control.ReadRssi interface (ReadRssi is the Read<uint16_t> interface). Make sure your radio is on.
-David _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of roberto pagliari Sent: Tuesday, June 19, 2007 9:08 AM To: Tsung-Han Lin Cc: Philip Levis; [email protected] Subject: Re: [Tinyos-help] RSSI measuring I'm wondering to know if it is possible to measure the RSSI value whenever I want, I mean, not necessary during the reception of a packet, but everytime, for some reasons due to my specific applications... thank you On 6/19/07, Tsung-Han Lin <[EMAIL PROTECTED]> wrote: It's over the first 8 symbols. The built-in RSSI is always averaged over 8 symbol period (Page 49). -Han Aleksandr N. Sadkov : > Thanks for reply :) > > But I have one more question, > Looking through CC2420 datasheet we can see: > "The length will be 8 bytes, RSSI will contain the average RSSI level during > receiving of the packet and FCS/corr contain information of FCS check result > and the correlation levels." Page 33 > And on the other hand, we see: > "The first FCS byte is replaced by the 8-bit RSSI value. This RSSI value is > measured over the first 8 symbols following the SFD." Page 38 > > What actually RSSI we measured? Averaged over the first 8 symbols or over > the full packet? > > Regards, Aleksandr. > > > > wbr, Sadkov Aleksandr > [EMAIL PROTECTED] > www.sumkino.com > www.wl.unn.ru >> -----Original Message----- >> From: Philip Levis [mailto: <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] >> Sent: Monday, June 18, 2007 9:42 PM >> To: Tsung-Han Lin >> Cc: Aleksandr N. Sadkov; [email protected] >> Subject: Re: [Tinyos-help] RSSI measuring >> >> On Jun 18, 2007, at 6:05 AM, Tsung-Han Lin wrote: >> >>> According to the datasheet, "the RSSI_VALID status bit indicates >>> when the RSSI value is valid, meaning that the receiver has been >>> enabled for at least 8 symbol periods." Since receiving a packet >>> will always be longer than 8 symbol periods, there's no need to >>> check. I think this register should be checked when you're using >>> CC2420 to sample background noise. >> >> Right. The RSSI_VALID bit is there for sampling when the radio is in >> TX mode or before it's had a chance to generate a sample. >> >> Phil > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
