[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/collection
TreeRoutingInspect.nc, 1.1.2.1, 1.1.2.2
Rodrigo Fonseca
rfonseca76 at users.sourceforge.net
Mon Jun 19 13:14:37 PDT 2006
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/collection
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv31937
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
TreeRoutingInspect.nc
Log Message:
Added two commands to TreeRoutingInspect:
command void reportBadRoute(am_addr_t neighbor);
command void triggerRouteUpdate();
Index: TreeRoutingInspect.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/collection/Attic/TreeRoutingInspect.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** TreeRoutingInspect.nc 10 Jun 2006 19:24:22 -0000 1.1.2.1
--- TreeRoutingInspect.nc 19 Jun 2006 20:14:34 -0000 1.1.2.2
***************
*** 51,53 ****
--- 51,63 ----
*/
command error_t getMetric(uint16_t* metric);
+
+ /* Inform the routing engine that the route through neighbor is bad.
+ * This should mean that the routing engine should do something to avoid
+ * this neighbor or fix the route */
+ command void reportBadRoute(am_addr_t neighbor);
+
+ /* This informs the routing engine to update its routing information,
+ * possibly by sending a beacon */
+ command void triggerRouteUpdate();
+
}
More information about the Tinyos-2-commits
mailing list