]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/cc2420/interfaces/CC2420Config.nc
Updated the HTML regression test report, named it something more date-neutral. Updat...
[tinyos-2.x.git] / tos / chips / cc2420 / interfaces / CC2420Config.nc
index 8e11a095612e3603cfdf4c2b214f726473c77f07..972f37a09fc55243e7af285295ea04720e1dd549 100644 (file)
@@ -61,16 +61,26 @@ interface CC2420Config {
   /**
    * Change the short address of the radio.
    */
-  command uint16_t getShortAddr();
+  async command uint16_t getShortAddr();
   command void setShortAddr( uint16_t address );
 
   /**
    * Change the PAN address of the radio.
    */
-  command uint16_t getPanAddr();
+  async command uint16_t getPanAddr();
   command void setPanAddr( uint16_t address );
 
   
+  /**
+   * @param on TRUE to turn address recognition on, FALSE to turn it off
+   */
+  command void setAddressRecognition(bool on);
+  
+  /**
+   * @return TRUE if address recognition is enabled
+   */
+  async command bool isAddressRecognitionEnabled();
+  
   /**
    * Sync must be called for acknowledgement changes to take effect
    * @param enableAutoAck TRUE to enable auto acknowledgements