]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - apps/tests/cc2420/LplUnicastPeriodicDelivery/TestPeriodicAppC.nc
added PLATFORM_SHIMMER
[tinyos-2.x.git] / apps / tests / cc2420 / LplUnicastPeriodicDelivery / TestPeriodicAppC.nc
index 8a290c65f2e53ca94289347f5070402db2451319..2127ad38ca1e9f74c996dd2b0c92f49dec7ea926 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)
   components CC2420ActiveMessageC as Lpl;
 #else
 #error "LPL testing not supported on this platform"