]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/cc2420/LplUnicastPeriodicDelivery/TestPeriodicAppC.nc
RC4 fixes for Epic support
[tinyos-2.x.git] / apps / tests / cc2420 / LplUnicastPeriodicDelivery / TestPeriodicAppC.nc
index 8a290c65f2e53ca94289347f5070402db2451319..dd6c18f6b61aeae8d3f0f76ed2b63267fe33417a 100644 (file)
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
 
+#include "TestPeriodic.h"
+
 /**
+ * This app sends a message from Transmitter node to the recevier node
+ * 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
  */
  
-#include "TestPeriodic.h"
-
 configuration TestPeriodicAppC {
 }
 
@@ -42,7 +48,7 @@ implementation {
 
 #if defined(PLATFORM_MICA2) || defined(PLATFORM_MICA2DOT)
   components CC1000ActiveMessageC as Lpl;
-#elif defined(PLATFORM_MICAZ) || defined(PLATFORM_TELOSB)
+#elif defined(PLATFORM_MICAZ) || defined(PLATFORM_TELOSB) || defined(PLATFORM_SHIMMER) || defined(PLATFORM_SHIMMER2) || defined(PLATFORM_INTELMOTE2) || defined(PLATFORM_EPIC)
   components CC2420ActiveMessageC as Lpl;
 #else
 #error "LPL testing not supported on this platform"