[Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420/interfaces CC2420Config.nc, 1.1, 1.2

dmm rincon at users.sourceforge.net
Fri Jul 6 11:09:46 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv27278/interfaces

Modified Files:
	CC2420Config.nc 
Log Message:
Updated the HTML regression test report, named it something more date-neutral.  Updated CC2420Config to provide async commands so CC2420Receive can use them to perform software address checking.

Index: CC2420Config.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/chips/cc2420/interfaces/CC2420Config.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** CC2420Config.nc	4 Jul 2007 00:37:14 -0000	1.1
--- CC2420Config.nc	6 Jul 2007 18:09:44 -0000	1.2
***************
*** 62,66 ****
     * Change the short address of the radio.
     */
!   command uint16_t getShortAddr();
    command void setShortAddr( uint16_t address );
  
--- 62,66 ----
     * Change the short address of the radio.
     */
!   async command uint16_t getShortAddr();
    command void setShortAddr( uint16_t address );
  
***************
*** 68,76 ****
     * Change the PAN address of the radio.
     */
!   command uint16_t getPanAddr();
    command void setPanAddr( uint16_t address );
  
    
    /**
     * Sync must be called for acknowledgement changes to take effect
     * @param enableAutoAck TRUE to enable auto acknowledgements
--- 68,86 ----
     * Change the PAN address of the radio.
     */
!   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



More information about the Tinyos-2-commits mailing list