[Tinyos-beta-commits]
CVS: tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector
TestMMDetectorM.nc, 1.4, 1.5
Stan Rost
stanrost at users.sourceforge.net
Wed Oct 27 17:08:57 PDT 2004
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/ProgManual Makefile, 1.3, 1.4 pm.tex, 1.4, 1.5
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
AggressiveSendControl.nc, 1.2, 1.3 AggressiveSendM.nc, 1.5,
1.6 CommonParams.h, 1.2, 1.3 CompressedSet.h, 1.6,
1.7 RollCallC.nc, 1.6, 1.7 RollCallM.nc, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30228/TestMMDetector
Modified Files:
TestMMDetectorM.nc
Log Message:
- Rewired everything to use my AggressiveSend
IMPORTANT Note: To use MementoMori, MintRoute should
be rewired to use AggressiveSend.
The rumours are true. MintRoute/QueuedSend malfunctions severely.
TO THE INTERESTED PUBLIC:
Need a retransmission queue? Use AggressiveSend. It works very well,
uses just about 2 bytes of static memory, and gives one just enough
control.
- AggressiveSend
- Added the facility to control the number of transmissions for broadcast
- TestMMDetector
- Now, timing authority comes _strictly_ from the routing parent, and
no other nodes. An optimization would be to synch to higher levels
of the tree opportunistically, but that means +1 byte in the timing
beacon (for tree level).
Index: TestMMDetectorM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector/TestMMDetectorM.nc,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** TestMMDetectorM.nc 21 Oct 2004 20:35:52 -0000 1.4
--- TestMMDetectorM.nc 28 Oct 2004 00:08:54 -0000 1.5
***************
*** 46,54 ****
command bool TimeSyncAuthority.isAuthoritative(uint16_t addr) {
! dbg(DBG_USR1, "AUTH = (parent node %u, depth %u)\n",
! call RouteControl.getParent(),
! call RouteControl.getDepth());
!
! return (addr == call RouteControl.getParent());
}
--- 46,60 ----
command bool TimeSyncAuthority.isAuthoritative(uint16_t addr) {
! if (addr == call RouteControl.getParent()) {
! dbg(DBG_USR1,
! "Round AUTH: srcAddr = %u (parent node %u, depth %u)\n",
! addr,
! call RouteControl.getParent(),
! call RouteControl.getDepth());
!
! return TRUE;
! } else {
! return FALSE;
! }
}
- Previous message: [Tinyos-beta-commits]
CVS: tinyos-1.x/beta/ProgManual Makefile, 1.3, 1.4 pm.tex, 1.4, 1.5
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
AggressiveSendControl.nc, 1.2, 1.3 AggressiveSendM.nc, 1.5,
1.6 CommonParams.h, 1.2, 1.3 CompressedSet.h, 1.6,
1.7 RollCallC.nc, 1.6, 1.7 RollCallM.nc, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list