[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestDIP README, 1.1,
1.2 TestDIPP-Master.nc, 1.1, 1.2
Kaisen Lin
kaisenl at users.sourceforge.net
Sat Jan 26 00:31:02 PST 2008
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/iris/chips/at45db
StorageMap.nc, 1.1, NONE
- Next message: [Tinyos-2-commits]
CVS: tinyos-2.x/doc/html/tutorial index.html, 1.7,
1.8 lesson1.html, 1.7, 1.8 lesson10.html, 1.3,
1.4 lesson11.html, 1.14, 1.15 lesson12.html, 1.4,
1.5 lesson13.html, 1.3, 1.4 lesson15.html, 1.9,
1.10 lesson16.html, 1.2, 1.3 lesson2.html, 1.4,
1.5 lesson3.html, 1.3, 1.4 lesson4.html, 1.5, 1.6 lesson5.html,
1.5, 1.6 lesson6.html, 1.4, 1.5 lesson7.html, 1.5,
1.6 lesson8.html, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestDIP
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv18821
Modified Files:
README TestDIPP-Master.nc
Log Message:
Mirage MicaZ Test and Test Code Update
Index: README
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestDIP/README,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** README 24 Jan 2008 07:28:27 -0000 1.1
--- README 26 Jan 2008 08:30:59 -0000 1.2
***************
*** 31,36 ****
} dip_test_msg_t;
! Every time a node a receives a new item, it sends a dip_test_msg_t
! through the serial interface.
id is the node id
--- 31,36 ----
} dip_test_msg_t;
! When a node receives a new item, it sends a dip_test_msg_t through the
! serial interface.
id is the node id
***************
*** 40,47 ****
4. TIMING
! With a single sender and single receiver on a table, it takes
! approximately:
3.5 minutes for a node to receive 128 out of 128 items.
4.0 minutes for a node to receive 240 out of 240 items.
--- 40,52 ----
4. TIMING
! With a single sender and single receiver on a table using TelosB
! nodes, it takes approximately:
3.5 minutes for a node to receive 128 out of 128 items.
4.0 minutes for a node to receive 240 out of 240 items.
+ With a single sender and two receivers on Mirage MicaZ nodes, it takes
+ approximately:
+
+ 2 minutes for both nodes to receive 96 out of 96 items.
+ With 128 items or more, MicaZ nodes don't receive anything. Memory limitation?
Index: TestDIPP-Master.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestDIP/TestDIPP-Master.nc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** TestDIPP-Master.nc 24 Jan 2008 07:28:27 -0000 1.1
--- TestDIPP-Master.nc 26 Jan 2008 08:30:59 -0000 1.2
***************
*** 73,84 ****
dbg("TestDIPP", "Got an update, %u complete now at %s\n", count, sim_time_string());
call Leds.led0Toggle();
if(newcount == count) {
call Leds.set(7);
- testmsg = (dip_test_msg_t*) call SerialSend.getPayload(&m_test, 0);
- testmsg->id = TOS_NODE_ID;
- testmsg->count = count;
- testmsg->isOk = okbit;
- call SerialSend.send(0, &m_test, sizeof(dip_test_msg_t));
}
--- 73,86 ----
dbg("TestDIPP", "Got an update, %u complete now at %s\n", count, sim_time_string());
call Leds.led0Toggle();
+
+ testmsg = (dip_test_msg_t*) call SerialSend.getPayload(&m_test, 0);
+ testmsg->id = TOS_NODE_ID;
+ testmsg->count = count;
+ testmsg->isOk = okbit;
+ call SerialSend.send(0, &m_test, sizeof(dip_test_msg_t));
+
if(newcount == count) {
call Leds.set(7);
}
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/platforms/iris/chips/at45db
StorageMap.nc, 1.1, NONE
- Next message: [Tinyos-2-commits]
CVS: tinyos-2.x/doc/html/tutorial index.html, 1.7,
1.8 lesson1.html, 1.7, 1.8 lesson10.html, 1.3,
1.4 lesson11.html, 1.14, 1.15 lesson12.html, 1.4,
1.5 lesson13.html, 1.3, 1.4 lesson15.html, 1.9,
1.10 lesson16.html, 1.2, 1.3 lesson2.html, 1.4,
1.5 lesson3.html, 1.3, 1.4 lesson4.html, 1.5, 1.6 lesson5.html,
1.5, 1.6 lesson6.html, 1.4, 1.5 lesson7.html, 1.5,
1.6 lesson8.html, 1.7, 1.8
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list