]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420_tkn154/CC2420Power.nc
+ modified radio driver (PHY) interfaces: CSMA-CA algorithm is now pushed to radio...
[tinyos-2.x.git] / tos / chips / cc2420_tkn154 / CC2420Power.nc
index a213f31d5d7a1c938a7122360ff7c05687d14d79..9d62b049fc6b1a9208e317b7e8b80923d9c00319 100644 (file)
@@ -102,4 +102,12 @@ interface CC2420Power {
    * @return SUCCESS if RSSI was read successfulyy, FAIL otherwise.
    */
   async command error_t rssi(int8_t *rssi);
+  /**
+   * Flush the RXFIFO if it is not empty. 
+   * Radio SHOULD be disabled (off) when calling this command.
+   *
+   * @return SUCCESS if fifo was flushed (or it was empty), FAIL otherwise.
+   */
+  async command error_t flushRxFifo(); 
 }