]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/lib/byte_radio/ChannelMonitorData.nc
Incorporate new modular tos-bsl.
[tinyos-2.x.git] / tos / lib / byte_radio / ChannelMonitorData.nc
index c6914fef23025d961a85f6de6f91c6f2efb345e2..c2c0b788813b05173a0cbe7483168b48f01f2f07 100644 (file)
@@ -73,6 +73,12 @@ interface ChannelMonitorData
     */
     async event void getSnrDone(int16_t snr);
 
+    /**
+     * try to be lucky: read anything stored as the rssi and
+     * make a crude and fast conversion to an snr value
+     */
+    async command uint16_t readSnr();
+
     /** 
      * Get the noisefloor in mV.
      *