[Tinyos-beta-commits]
CVS: tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector
Makefile, 1.2, 1.3 TestMMDetector.nc, 1.2,
1.3 TestMMDetectorM.nc, 1.2, 1.3
Stan Rost
stanrost at users.sourceforge.net
Mon Oct 11 18:01:27 PDT 2004
- Previous message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
CommonParams.h, NONE, 1.1 ExptM.nc, NONE, 1.1 ResultPacket.h,
NONE, 1.1 ResultPkt.class, NONE, 1.1 ResultPkt.java, NONE,
1.1 RollCallIncrM.nc, NONE, 1.1 Roster.nc, NONE,
1.1 failureSched.h, NONE, 1.1 genFailureRoster.pl, NONE,
1.1 genRoster.sh, NONE, 1.1 AggressiveSendM.nc, 1.1,
1.2 CompressedSet.h, 1.2, 1.3 RollCall.h, 1.1,
1.2 RollCallC.nc, 1.2, 1.3 RollCallM.nc, 1.3, 1.4
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
AggressiveSendM.nc, 1.2, 1.3 CommonParams.h, 1.1,
1.2 CompressedSet.h, 1.3, 1.4 ExptM.nc, 1.1, 1.2 RollCallC.nc,
1.3, 1.4 RollCallM.nc, 1.4, 1.5 genRoster.sh, 1.1, 1.2
- 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-serv17329/TestMMDetector
Modified Files:
Makefile TestMMDetector.nc TestMMDetectorM.nc
Log Message:
- Fixed two major bugs:
- CC1KControl.StdControl should not be wired to Main.StdControl (kills the radio)
- A rather nasty memory bug in set subtraction
- Modified:
- AggressiveSendM is *the* new and improved queued send
- Some tweaking of ExptM.nc
- Next:
- More debugging on the motes
- Front-end via SerialForwarder
Index: Makefile
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Makefile 8 Oct 2004 20:50:19 -0000 1.2
--- Makefile 12 Oct 2004 01:01:23 -0000 1.3
***************
*** 4,7 ****
PFLAGS=-I %T/lib/Util -I%T/lib/TinyDB -I%T/../beta/TinierDB/ -I%T/../beta/SystemCore/MementoMori -I%T/lib/MintRoute -I%T/lib/Queue -fno-strict-aliasing
! #MSG_SIZE=49
include ../../../../apps/Makerules
--- 4,7 ----
PFLAGS=-I %T/lib/Util -I%T/lib/TinyDB -I%T/../beta/TinierDB/ -I%T/../beta/SystemCore/MementoMori -I%T/lib/MintRoute -I%T/lib/Queue -fno-strict-aliasing
! MSG_SIZE=49
include ../../../../apps/Makerules
Index: TestMMDetector.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector/TestMMDetector.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestMMDetector.nc 20 Sep 2004 16:44:37 -0000 1.2
--- TestMMDetector.nc 12 Oct 2004 01:01:23 -0000 1.3
***************
*** 4,9 ****
implementation {
components Main,
! TimeSyncC, TestMMDetectorM,
! TimerC, RollCallC, WMEWMAMultiHopRouter as Router;
Main.StdControl -> TestMMDetectorM.StdControl;
--- 4,12 ----
implementation {
components Main,
! TimeSyncC,
! WMEWMAMultiHopRouter as Router,
! TestMMDetectorM,
! TimerC,
! RollCallC;
Main.StdControl -> TestMMDetectorM.StdControl;
***************
*** 11,22 ****
--- 14,30 ----
Main.StdControl -> TimerC.StdControl;
Main.StdControl -> Router;
+
Main.StdControl -> RollCallC;
TestMMDetectorM.RouteControl -> Router;
+ // TestMMDetectorM.RouteControl -> TestMMDetectorM.DummyRC;
TimeSyncC.TimeSyncPiggy -> TestMMDetectorM.PiggyBack;
+
TestMMDetectorM.SourceAddress -> TimeSyncC.SourceAddress;
+ //TestMMDetectorM.SourceAddress -> TestMMDetectorM.DummySA;
RollCallC.RouteControl -> Router;
+ //RollCallC.RouteControl -> TestMMDetectorM.DummyRC;
RollCallC.HeartBeatHandler -> TestMMDetectorM.HeartBeatHandler;
Index: TestMMDetectorM.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-1.x/beta/SystemCore/MementoMori/TestMMDetector/TestMMDetectorM.nc,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TestMMDetectorM.nc 20 Sep 2004 16:44:37 -0000 1.2
--- TestMMDetectorM.nc 12 Oct 2004 01:01:23 -0000 1.3
***************
*** 8,11 ****
--- 8,14 ----
interface PiggyBack;
interface HeartBeatHandler;
+
+ interface RouteControl as DummyRC;
+ interface SourceAddress as DummySA;
}
***************
*** 27,32 ****
command result_t StdControl.start() {
- call Timer.start(TIMER_ONE_SHOT,
- 1);
return SUCCESS;
--- 30,33 ----
***************
*** 40,52 ****
event result_t Timer.fired() {
- // dbg(DBG_USR1, "Timer fired, starting the shenenigans\n");
-
- // testSets();
-
- /*
- if (TOS_LOCAL_ADDRESS == 0)
- call WatcherState.addToWatch(1);
- */
-
return SUCCESS;
}
--- 41,44 ----
***************
*** 93,95 ****
--- 85,118 ----
}
+ command uint16_t DummyRC.getParent() {
+ return 0xFFFF;
+ }
+
+ command uint8_t DummyRC.getDepth() {
+ return 0xFF;
+ }
+
+ command uint16_t DummyRC.getSender(TOS_MsgPtr msg) {
+ return 0xFFFF;
+ }
+
+ command uint8_t DummyRC.getOccupancy() {
+ return 0;
+ }
+
+ command uint8_t DummyRC.getQuality() {
+ return 0;
+ }
+
+ command result_t DummyRC.setUpdateInterval(uint16_t Interval) {
+ return SUCCESS;
+ }
+
+ command result_t DummyRC.manualUpdate() {
+ return SUCCESS;
+ }
+
+ command uint16_t DummySA.getAddress(TOS_MsgPtr msg) {
+ return 0xFFFF;
+ }
}
- Previous message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
CommonParams.h, NONE, 1.1 ExptM.nc, NONE, 1.1 ResultPacket.h,
NONE, 1.1 ResultPkt.class, NONE, 1.1 ResultPkt.java, NONE,
1.1 RollCallIncrM.nc, NONE, 1.1 Roster.nc, NONE,
1.1 failureSched.h, NONE, 1.1 genFailureRoster.pl, NONE,
1.1 genRoster.sh, NONE, 1.1 AggressiveSendM.nc, 1.1,
1.2 CompressedSet.h, 1.2, 1.3 RollCall.h, 1.1,
1.2 RollCallC.nc, 1.2, 1.3 RollCallM.nc, 1.3, 1.4
- Next message: [Tinyos-beta-commits] CVS: tinyos-1.x/beta/SystemCore/MementoMori
AggressiveSendM.nc, 1.2, 1.3 CommonParams.h, 1.1,
1.2 CompressedSet.h, 1.3, 1.4 ExptM.nc, 1.1, 1.2 RollCallC.nc,
1.3, 1.4 RollCallM.nc, 1.4, 1.5 genRoster.sh, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-beta-commits
mailing list