Hi, If you read RSSI value with CC2420ControlC.ReadRSSI while there is a packet coming, you may get the packet's RSSI plus the ambient noise as well.
Xiaohui On Tue, Apr 21, 2009 at 2:18 AM, Urs Hunkeler <[email protected]> wrote: > Hi, > > The ReadRSSI interface in CC2420ControlC is for reading the current > power level at the receiver and mostly measures the background noise > (useful, for instance, to calculate the signal-to-noise ratio (SNR)). > > The RSSI value with which a packet has been received is put in a special > field of that packet. You can read this value with the method > getRSSI(message_t* msg) method provided by the interface CC2420Packet. > This interface is provided by the component CC2420PacketC. > > Cheers, > Urs > > > Razvan Musaloiu-E. wrote: > > Hi! > > > > On Mon, 20 Apr 2009, achmad ariansyah wrote: > > > >> hello everyone... > >> > >> im a student in bachelor degree... > >> now i want to measure RSSI value.. > >> what module in tinyOS should i use to do that?? > >> > > > > For CC2420 the ReadRssi is provided by CC2420ControlC. The > > CC2420ControlC.nc file is in tos/chips/cc2420/control/. > > > > -- > > Razvan ME > _______________________________________________ > 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
