Hi Paolo, My understanding is that sampling the noise level while not currently receiving a packet was not originally part of TinyOS. Moteiv provided a slightly modified version of TinyOS based on TinyOS 1.x, but oriented towards TinyOS 2.x. In the document you are referring to, they describe how this noise level measurement functionality can be added to their version of TinyOS.
TinyOS 2.x now implements this already in the core code for CC2420-based motes (e.g. tmote and micaz). Just use the Read<uint16_t> interface called ReadRssi of the CC2420ControlC module. Cheers, Urs Paolo wrote: > Hello, > I would like measure the signal strength in the absence of the incoming > packets > (ambient Noise and Source interference). While Reading from various post i > understand that it is sufficient the sampling the RSSI register: is it > correct ? > > If is correct why does > http://www.moteiv.com/community/Reading_RSSI_values_from_Tmote_Sky reccomend > this ? > > /When a Tmote Sky receives a packet, it stores the signal strength of the > incoming packet in the TOS_Msg structure. It is also possible to read the > signal > strength in the absence of the incoming packets. Such functionality is useful > for estimating the noise floor of a particular channel and locating sources > of > interference such as 802.11 networks and microwave ovens. The default radio > stack does not include such functionality; this document includes > instructions > for how to incorporate the needed functionality into the radio stack. You > will > need to modify two files CC2420ControlM.nc and CC2420RadioC.nc./ > / > /thank you very much > > Paolo Latella > website: www.halos.it > // _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help