[Tinyos-contrib-commits] CVS: tinyos-1.x/contrib/wustl/apps/Agilla/interfaces AddressMgrI.nc, 1.3, 1.3.2.1 ErrorMgrI.nc, 1.3, 1.3.2.1 LocationMgrI.nc, 1.2, 1.2.2.1 LocationUtilI.nc, 1.3, 1.3.2.1

Chien-Liang Fok chien-liang at users.sourceforge.net
Tue Nov 14 20:29:37 PST 2006


Update of /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/interfaces
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv26847/interfaces

Modified Files:
      Tag: GroupComm
	AddressMgrI.nc ErrorMgrI.nc LocationMgrI.nc LocationUtilI.nc 
Log Message:
Added a proxy heart beat and a virtual ID for the proxy.

Index: AddressMgrI.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/interfaces/AddressMgrI.nc,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** AddressMgrI.nc	18 May 2006 19:58:41 -0000	1.3
--- AddressMgrI.nc	15 Nov 2006 04:29:34 -0000	1.3.2.1
***************
*** 56,58 ****
--- 56,64 ----
     */  
    command result_t isOrigAddress(uint16_t addr);
+ 
+   /**
+    * Returns the virtual ID of this proxy.
+    */
+   command result_t getVID();
+   
  }

Index: ErrorMgrI.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/interfaces/ErrorMgrI.nc,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** ErrorMgrI.nc	18 May 2006 19:58:41 -0000	1.3
--- ErrorMgrI.nc	15 Nov 2006 04:29:34 -0000	1.3.2.1
***************
*** 73,76 ****
--- 73,89 ----
    
    /**
+    * Notifies the base station of an error.  Supports fatal and non-fatal errors.
+    *
+    * @param errorType Either FATAL or NONFATAL.  Fatal errors halt the agent and periodically
+    * sends the error message.  Nonfatal errors only send the error message once.
+    * @param context The agent context that caused the error.
+    * @param cause The cause of the errror.
+    * @param data1 The first associated data paramter.
+    * @param data2 The second associated data parameter.
+    */
+   command result_t sendError(uint16_t errorType, AgillaAgentContext* context,
+     uint8_t cause, uint16_t data1, uint16_t data2);  
+   
+   /**
     * Returns SUCCESS if Agilla is in an error state, 
     * else returns FAIL.

Index: LocationMgrI.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/interfaces/LocationMgrI.nc,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -d -r1.2 -r1.2.2.1
*** LocationMgrI.nc	18 May 2006 19:58:41 -0000	1.2
--- LocationMgrI.nc	15 Nov 2006 04:29:34 -0000	1.2.2.1
***************
*** 55,57 ****
--- 55,62 ----
     */
    command uint16_t getAddress(AgillaLocation* loc);
+   
+   /**
+    * Determines wether the local mote is a proxy.
+    */
+   command result_t isProxy();
  }

Index: LocationUtilI.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/contrib/wustl/apps/Agilla/interfaces/LocationUtilI.nc,v
retrieving revision 1.3
retrieving revision 1.3.2.1
diff -C2 -d -r1.3 -r1.3.2.1
*** LocationUtilI.nc	18 May 2006 19:58:41 -0000	1.3
--- LocationUtilI.nc	15 Nov 2006 04:29:34 -0000	1.3.2.1
***************
*** 66,68 ****
--- 66,73 ----
    command result_t isGridNbr(AgillaLocation* l1, AgillaLocation* l2);
    
+   /**
+    * Determines whether the specified location is a proxy address.
+    */  
+   command result_t isProxy(AgillaLocation* loc);
+   
  }



More information about the Tinyos-contrib-commits mailing list