]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
nesdoc
authoridgay <idgay>
Tue, 24 Jun 2008 20:36:24 +0000 (20:36 +0000)
committeridgay <idgay>
Tue, 24 Jun 2008 20:36:24 +0000 (20:36 +0000)
apps/tests/cc2420/LplBroadcastCountToLeds/RadioCountMsg.java
apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicAppC.nc
apps/tests/cc2420/LplBroadcastPeriodicDelivery/TestPeriodicC.nc
apps/tests/cc2420/LplUnicastPeriodicDelivery/TestPeriodicAppC.nc
apps/tests/cc2420/LplUnicastPeriodicDelivery/TestPeriodicC.nc
apps/tests/cc2420/RssiToSerial/RssiToSerialC.nc
apps/tests/cc2420/RssiToSerial/RssiToSerialP.nc
apps/tests/cc2420/TestPacketLink/TestPacketLinkC.nc
apps/tests/cc2420/TestPacketLink/TestPacketLinkP.nc
apps/tests/cc2420/TxThroughput/TxThroughputC.nc
apps/tests/cc2420/TxThroughput/TxThroughputP.nc

index 47c935da401767e0dfa24d2b205247cd9c4b85dd..46f7c7a03c889fd08a40f9d5ca4f8c4e44039417 100644 (file)
@@ -10,7 +10,7 @@ public class RadioCountMsg extends net.tinyos.message.Message {
     public static final int DEFAULT_MESSAGE_SIZE = 2;
 
     /** The Active Message type associated with this message. */
-    public static final int AM_TYPE = 6;
+    public static final int AM_TYPE = 134;
 
     /** Create a new RadioCountMsg of size 2. */
     public RadioCountMsg() {
index 412f5b5636643af58ca2c9b1317e0111d6daf45a..6668c01dcafb6533521e1c4cbed71c0c42cd8c1c 100644 (file)
@@ -29,6 +29,8 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
 
+#include "TestPeriodic.h"
+
 /**
  * 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
@@ -39,8 +41,6 @@
  * @author David Moss
  */
  
-#include "TestPeriodic.h"
-
 configuration TestPeriodicAppC {
 }
 
index 98e7071ae6f9199e58207a9f589ec32f7e88579f..dab737a81e54d014dd834c805109a5bef5c37ee8 100644 (file)
@@ -29,6 +29,8 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
 
+#include "TestPeriodic.h"
+
 /**
  * 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
@@ -39,8 +41,6 @@
  * @author David Moss
  */
 
-#include "TestPeriodic.h"
-
 module TestPeriodicC {
   uses {
     interface Boot;
index 9b336ed26dbffba4ccd28542356dc43bcc27ef6b..d9dd908400a00f9b776b402f756e5867e547ca8c 100644 (file)
@@ -29,6 +29,8 @@
  * 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
@@ -39,8 +41,6 @@
  * @author David Moss
  */
  
-#include "TestPeriodic.h"
-
 configuration TestPeriodicAppC {
 }
 
index 3635981e927adce6eff491702027da24dcdc2b36..59d3b881235e9ef0152b8214ccaa587f1478b498 100644 (file)
@@ -29,6 +29,8 @@
  * 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
@@ -39,8 +41,6 @@
  * @author David Moss
  */
 
-#include "TestPeriodic.h"
-
 module TestPeriodicC {
   uses {
     interface Boot;
index bc16c77ccba45d6afc9f823d8a700b42c945405a..d976996030f7eec6624dcfecc6ca74c9fdd4e559 100644 (file)
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
  
+#include "RssiToSerial.h"
+
  /**
+  * This is more of a general demonstration than a test.
+  *
+  * Install this application to one node, connected to the computer.
+  * The node will measure the environmental RSSI from the CC2420 and
+  * sending those readings over the serial port.
+  *
+  * Use the Java application to display the relative RSSI readings.
+  *
   * @author Jared Hill
+  * @date   23 March 2007
   */
  
  
-#include "RssiToSerial.h"
-
-/**
- * 
- *
- * @author Jared Hill
- * @date   23 March 2007
- */
-
 configuration RssiToSerialC {}
 implementation {
   components MainC, RssiToSerialP as App, LedsC;
index 0ee4bf3b037d8f7150f44894806843e9fb0238c1..0ec6bcaf5d720fcb3e3f258df6c767e1a540c3e8 100644 (file)
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
  
- /**
-  * @author Jared Hill
-  */
 #include "Timer.h"
 #include "RssiToSerial.h"
  
-/**
- * 
- *
- * @author Jared Hill
+ /**
+  * This is more of a general demonstration than a test.
+  *
+  * Install this application to one node, connected to the computer.
+  * The node will measure the environmental RSSI from the CC2420 and
+  * sending those readings over the serial port.
+  *
+  * Use the Java application to display the relative RSSI readings.
+  *
+  * @author Jared Hill
  * @date   23 March 2007
- */
-
 */
 module RssiToSerialP {
   uses {
     interface Leds;
index d26add85d2773f6ff1e28816c2b9978a4fe83a50..22fb9e6e08b0540ed19d66297dea484e453fe0da 100644 (file)
@@ -30,6 +30,8 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
 
+#include "TestPacketLink.h"
+
 /**
  * Test the effectiveness of the PacketLink layer
  *
@@ -56,8 +58,6 @@
  * @author David Moss
  */
  
-#include "TestPacketLink.h"
-
 configuration TestPacketLinkC {
 }
 
index abb08d2bf970a659886fd5c5ff7567b230564b5d..8c83ff7f15d281d1e0b46b853df12a19e757d671 100644 (file)
@@ -29,6 +29,8 @@
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
  
+#include "TestPacketLink.h"
+
 /**
  * Test the effectiveness of the PacketLink layer
  *
@@ -55,8 +57,6 @@
  * @author David Moss
  */
   
-#include "TestPacketLink.h"
-
 module TestPacketLinkP {
   uses {
     interface Boot;
index dbeb733c456f51ce1ff4f1b2334865cf2decccb7..ff9beb75ad92c28c1105bd6659f92ff48b9f341b 100644 (file)
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
  
+#include "TxThroughput.h"
+
 /**
+ * This application is used more for characterization rather than a
+ * test.  It measures the maximum radio throughput using the largest
+ * message payload size, and does not use low power listening.
+ *
  * @author David Moss
  */
  
-#include "TxThroughput.h"
-
 configuration TxThroughputC {
 }
 
index 2c91487a5328ff5295e7db3b890b3f486829485d..deceb27b045eed226ce91f65b1c0b09367b68edc 100644 (file)
  * OF THE POSSIBILITY OF SUCH DAMAGE
  */
  
+#include "TxThroughput.h"
 /**
+ * This application is used more for characterization rather than a
+ * test.  It measures the maximum radio throughput using the largest
+ * message payload size, and does not use low power listening.
+ *
  * @author David Moss
  */
  
-#include "TxThroughput.h"
 module TxThroughputP {
   uses {
     interface Boot;