Can I get the received signal strength in TinyOS?
Yes for Mica2; kind-of for Mica. Mica2: The strength field (TOS_Msg->strength) of the TOS_Msg structure is filled in with data from the radio’s Received Signal Strength Indicator (RSSI) pin. The RSSI data is inversely proportional to the signal’s strength. You can find out exactly how to interpret the RSSI data by looking at the RSSI Output section of the Chipcon CC1000 radio’s datasheet: http://www.chipcon.com/files/CC1000_Data_Sheet_2_1.pdf Mica: It is possible to get the signal strength field on the Mica’s RFM radio, but the code in the tree does not support that functionality; the code in the tree leaves the strength field equal to 0. However, there are implementations out there that do support the strength field though they’re for older versions of code.