[Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/net/tymo ForwardingEngineM.nc, 1.2, 1.3 LinkMonitor.nc, 1.1, 1.2
Romain Thouvenin
strabest at users.sourceforge.net
Mon Nov 3 13:30:24 PST 2008
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/net/tymo
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12108
Modified Files:
ForwardingEngineM.nc LinkMonitor.nc
Log Message:
Refresh link when MH packet received
Index: ForwardingEngineM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/tymo/ForwardingEngineM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ForwardingEngineM.nc 10 Jul 2008 20:15:56 -0000 1.2
--- ForwardingEngineM.nc 3 Nov 2008 21:30:21 -0000 1.3
***************
*** 138,141 ****
--- 138,143 ----
signal MHControl.sendFailed(msg, 2);
signal LinkMonitor.brokenLink(call AMPacket.destination(msg));
+ } else {
+ signal LinkMonitor.refreshedLink(call AMPacket.destination(msg));
}
} else if (e != SUCCESS) {
Index: LinkMonitor.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/net/tymo/LinkMonitor.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** LinkMonitor.nc 18 Feb 2008 20:24:55 -0000 1.1
--- LinkMonitor.nc 3 Nov 2008 21:30:21 -0000 1.2
***************
*** 7,11 ****
/**
! * LinkMonitor - Interface to signals broken links in the neighborhood.
*
* @author Romain Thouvenin
--- 7,11 ----
/**
! * LinkMonitor - Interface to signals broken and used links in the neighborhood.
*
* @author Romain Thouvenin
***************
*** 16,18 ****
--- 16,20 ----
event void brokenLink(am_addr_t neighbor);
+ event void refreshedLink(am_addr_t neighbor);
+
}
More information about the Tinyos-2-commits
mailing list