]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/interfaces/CC2420Config.nc
Working hardware acks
[tinyos-2.x.git] / tos / chips / cc2420 / interfaces / CC2420Config.nc
index 972f37a09fc55243e7af285295ea04720e1dd549..14b12d2d1b475e1da44c1e5b44e323c75b7068aa 100644 (file)
@@ -72,15 +72,24 @@ interface CC2420Config {
 
   
   /**
-   * @param on TRUE to turn address recognition on, FALSE to turn it off
+   * @param enableAddressRecognition TRUE to turn address recognition on
+   * @param useHwAddressRecognition TRUE to perform address recognition first
+   *     in hardware. This doesn't affect software address recognition. The
+   *     driver must sync with the chip after changing this value.
    */
-  command void setAddressRecognition(bool on);
+  command void setAddressRecognition(bool enableAddressRecognition, bool useHwAddressRecognition);
+  
   
   /**
    * @return TRUE if address recognition is enabled
    */
   async command bool isAddressRecognitionEnabled();
   
+  /**
+   * @return TRUE if address recognition is performed first in hardware.
+   */
+  async command bool isHwAddressRecognitionDefault();
+  
   /**
    * Sync must be called for acknowledgement changes to take effect
    * @param enableAutoAck TRUE to enable auto acknowledgements
@@ -100,4 +109,6 @@ interface CC2420Config {
    */
   async command bool isAutoAckEnabled();
   
+
+  
 }