[Tinyos-2-commits] CVS: tinyos-2.x/apps/tests/TestLPL README.txt,
1.1.2.1, 1.1.2.2 TestAMAppC.nc, 1.1.2.2, 1.1.2.3 TestAMC.nc,
1.1.2.1, 1.1.2.2
David Gay
idgay at users.sourceforge.net
Mon Oct 30 10:08:33 PST 2006
Update of /cvsroot/tinyos/tinyos-2.x/apps/tests/TestLPL
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv4982
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
README.txt TestAMAppC.nc TestAMC.nc
Log Message:
misc fixes
Index: README.txt
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestLPL/Attic/README.txt,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** README.txt 26 Oct 2006 17:41:36 -0000 1.1.2.1
--- README.txt 30 Oct 2006 18:08:31 -0000 1.1.2.2
***************
*** 1,6 ****
A simple low-power-listening test app, which cycles through different
! low-power-listening settings every 32s, repeating every 256s. Otherwise
! identical to TestAM.
- Runs on motes using the CC1000 and CC2420 radios (must use the cc2420_lpl
- version of the CC2420 stack).
--- 1,54 ----
+ README for TestLPL
+ Author/Contact: tinyos-help at millennium.berkeley.edu
+
+ Description:
+
A simple low-power-listening test app, which cycles through different
! low-power-listening settings every ~32s, repeating every ~256s.
!
! This application currently runs on motes using the CC1000 and CC2420
! radios. To compile for motes with CC2420 radios, you must do:
! env CFLAGS="-I%T/chips/cc2420_lpl -DLOW_POWER_LISTENING" make <platform>
!
! This application blinks LED 0 every time it sends a message, and toggles
! LED 1 every time it receives a message.
!
! It's low-power-listening settings are as follows (repeating every 256s):
!
! 0-32s: receive: fully on
! send: every second, to fully on listener
!
! 32-64s: receive: fully on
! send: every second, to low-power-listeners with 100ms interval
!
! 64-96s: receive: low-power-listening with 250ms interval
! send: every second, to low-power-listeners with 250ms interval
!
! 96-128s: receive: low-power-listening with 250ms interval
! send: every second, to fully on listener
!
! 128-160s: receive: low-power-listening with 10ms interval
! send: every second, to low-power-listeners with 10ms interval
!
! 160-192s: receive: low-power-listening with 2000ms interval
! send: every 7 seconds, to low-power-listeners with 2000ms interval
!
! 192-224s: receive: low-power-listening with 1% duty cycle
! send: every 7 seconds, to low-power-listeners with 1% duty cycle
!
! 224-256s: receive: low-power-listening with 0.1% duty cycle
! send: every 7 seconds, to low-power-listeners with 0.1% duty cycle
!
! Whether two motes running TestLPL can receive each others messages depends
! on their current send and receive low-power-listening settings. If you reset
! two such motes at the same time, they will be able to receive each other's
! messages in the following intervals: 0-96s and 128-256s.
!
! Tools:
!
! None.
!
! Known bugs/limitations:
!
! None.
Index: TestAMAppC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestLPL/Attic/TestAMAppC.nc,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -C2 -d -r1.1.2.2 -r1.1.2.3
*** TestAMAppC.nc 26 Oct 2006 20:31:56 -0000 1.1.2.2
--- TestAMAppC.nc 30 Oct 2006 18:08:31 -0000 1.1.2.3
***************
*** 31,40 ****
/**
! * This application sends active message broadcasts at 1Hz and blinks
! * LED 0 when it receives a broadcast. It uses the radio HIL component
! * <tt>ActiveMessageC</tt>, and its packets are AM type 240.
*
! * @author Philip Levis
! * @date May 16 2005
*/
--- 31,40 ----
/**
! * Simple test code for low-power-listening. Sends a sequence of packets,
! * changing the low-power-listening settings every ~32s. See README.txt
! * for more details.
*
! * @author Philip Levis, David Gay
! * @date Oct 27 2006
*/
Index: TestAMC.nc
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/apps/tests/TestLPL/Attic/TestAMC.nc,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -d -r1.1.2.1 -r1.1.2.2
*** TestAMC.nc 26 Oct 2006 17:41:36 -0000 1.1.2.1
--- TestAMC.nc 30 Oct 2006 18:08:31 -0000 1.1.2.2
***************
*** 30,42 ****
*/
/**
! * Implementation of the TestAM application.
! *
! * @author Philip Levis
! * @date May 16 2005
*
! **/
!
! #include "Timer.h"
module TestAMC {
--- 30,43 ----
*/
+ #include "Timer.h"
+
/**
! * Simple test code for low-power-listening. Sends a sequence of packets,
! * changing the low-power-listening settings every ~32s. See README.txt
! * for more details.
*
! * @author Philip Levis, David Gay
! * @date Oct 27 2006
! */
module TestAMC {
More information about the Tinyos-2-commits
mailing list