From c8169b74946c47c5d9e105c5712154d83e6d9b47 Mon Sep 17 00:00:00 2001 From: rincon Date: Tue, 10 Jul 2007 16:47:09 +0000 Subject: [PATCH] Updated testing comments --- .../cc2420/LplBroadcastCountToLeds/README.txt | 27 +++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/apps/tests/cc2420/LplBroadcastCountToLeds/README.txt b/apps/tests/cc2420/LplBroadcastCountToLeds/README.txt index 5aad6f0c..2669f84e 100644 --- a/apps/tests/cc2420/LplBroadcastCountToLeds/README.txt +++ b/apps/tests/cc2420/LplBroadcastCountToLeds/README.txt @@ -4,12 +4,29 @@ Author/Contact: tinyos-help@millennium.berkeley.edu Description: This is a low power listening version of RadioCountToLeds, -using the broadcast address to delivery packets. That means even in -an ack'ing LPL scheme, the delivery will remain on for the full -duration of the receiver's LPL check to ensure all listeners get the message. +using the broadcast address to delivery packets. That means the +delivery will remain on for the full duration of the receiver's +LPL check to ensure all listeners get the message. + +Each node is performing 1 second receive checks, but there is a +1.5 second delay between each transmission. + +Verification: + * Install the application to at two motes + * Both motes should count up their LED's just like RadioCountToLeds + - This indicates they are communicating with each other. + * LED's will not toggle in rhythm. + - Being a broadcast LPL transmission, you'll sometimes see + the LED's count up one at a time, or multiple counts + at a time. This is normal. + +If you see LED's waggling on both motes, the test passed. + +To compile for motes with CC2420 radios, you must do: + env CFLAGS="-DLOW_POWER_LISTENING" make + + -Try it with ACK_LOW_POWER_LISTENING and NOACK_LOW_POWER_LISTENING by editing -the Makefile RadioCountToLeds maintains a 4Hz counter, broadcasting its value in an AM packet every time it gets updated. A RadioCountToLeds node that -- 2.39.2