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

dmm rincon at users.sourceforge.net
Tue Jun 19 10:30:10 PDT 2007


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

Modified Files:
	ActiveMessageAddress.nc 
Log Message:
Updated the ActiveMessageAddress interface after discovering issues with calling setAmGroup() and setAmAddress() separately and having the radio try to split-phase sync() with each one of those.

Index: ActiveMessageAddress.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/interfaces/ActiveMessageAddress.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** ActiveMessageAddress.nc	13 Jun 2007 20:45:29 -0000	1.1
--- ActiveMessageAddress.nc	19 Jun 2007 17:30:08 -0000	1.2
***************
*** 35,48 ****
   */
  interface ActiveMessageAddress {
    /**
!    * @return the active message address of this node
     */
!   async command am_addr_t amAddress();
    
    /**
!    * Set the active message address of this node
!    * @param addr The target active message address
     */
!   async command void setAmAddress(am_addr_t addr);
    
    /**
--- 35,50 ----
   */
  interface ActiveMessageAddress {
+ 
    /**
!    * Set the active message address of this node
!    * @param group The node's group ID
!    * @param addr The node's active message address
     */
!   async command void setAddress(am_group_t group, am_addr_t addr);
    
    /**
!    * @return the active message address of this node
     */
!   async command am_addr_t amAddress();
    
    /**
***************
*** 52,62 ****
    
    /**
-    * Set the group address of this node
-    * @param group The group address
-    */
-   async command void setAmGroup(am_group_t group);
-   
-   
-   /**
     * Notification that the address or group settings changed.
     */
--- 54,57 ----



More information about the Tinyos-2-commits mailing list