From 725bc148f6ebb21883aa6d8a2d746a9550b1ebec Mon Sep 17 00:00:00 2001 From: idgay Date: Tue, 24 Jun 2008 17:54:11 +0000 Subject: [PATCH] add nesdoc --- .../cc2420/LplBroadcastPeriodicDelivery/TestPeriodic.h | 2 +- .../cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc | 6 ++++++ .../cc2420/LplBroadcastPeriodicDelivery/TestPeriodicP.nc | 8 ++++++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodic.h b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodic.h index 7183641d..697efe7c 100644 --- a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodic.h +++ b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodic.h @@ -7,7 +7,7 @@ typedef nx_struct TestPeriodicMsg { } TestPeriodicMsg; enum { - AM_TESTPERIODICMSG = 0x5, + AM_TESTPERIODICMSG = 133, }; #endif diff --git a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc index 45808e0c..553bf844 100644 --- a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc +++ b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc @@ -30,6 +30,12 @@ */ /** + * This app sends a message from Transmitter node to AM_BROADCAST_ADDR + * and waits 1000 ms between each delivery so the Rx mote's radio + * shuts back off and has to redetect to receive the next message. + * Receiver: TOS_NODE_ID != 1 + * Transmitter: TOS_NODE_ID == 1 + * * @author David Moss */ diff --git a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicP.nc b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicP.nc index 1e58382d..4fc623a8 100644 --- a/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicP.nc +++ b/apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicP.nc @@ -30,9 +30,13 @@ */ /** + * This app sends a message from Transmitter node to AM_BROADCAST_ADDR + * and waits 1000 ms between each delivery so the Rx mote's radio + * shuts back off and has to redetect to receive the next message. + * Receiver: TOS_NODE_ID != 1 + * Transmitter: TOS_NODE_ID == 1 + * * @author David Moss - * Rx != 1 - * Tx == 1 */ #include "TestPeriodic.h" -- 2.39.2