X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=apps%2Ftosthreads%2Fcapps%2FTestCollection%2FREADME;h=1eb94411164309b44d89ed82f43aa37dfb4b1b9a;hb=5054661437856f0fb1316b9e9312dbf8048ad60d;hp=1d30676788a1ad5dd81c7e9cb7d4613a64206698;hpb=f28a01108f73c6c5e29e3dc68f0f2967268e4f1a;p=tinyos-2.x.git diff --git a/apps/tosthreads/capps/TestCollection/README b/apps/tosthreads/capps/TestCollection/README index 1d306767..1eb94411 100644 --- a/apps/tosthreads/capps/TestCollection/README +++ b/apps/tosthreads/capps/TestCollection/README @@ -13,18 +13,18 @@ application. You can install TestCollection on a mote via the following command: make cthreads install - -Valid platforms are currently: tmote, telosb, mica2, and micaz + +Valid platforms are currently: tmote, telosb, mica2, micaz, iris, and epic At least two motes must be used by this application, with one of them installed as a base station. Base station motes can be created by installing them with -NODE_ID % 500 == 0. +NODE_ID % 500 == 0. i.e. make cthreads install.0 make cthreads install.500 make cthreads install.1000 - + All other nodes can be installed with arbitrary NODE_IDs. - make threads install.123 + make cthreads install.123 Successful running of this application is verified by all NON-base station motes periodically flashing LED0 upon sending a message, and the base station mote, @@ -34,30 +34,34 @@ section. Tools: -The Java application displays readings it receives from motes running the -MultihopOscilloscope demo via a serial forwarder. To run it, change to the -TestCollection/java subdirectory and type: +The Java application displays readings it receives from motes via a +serial forwarder. To run it, change to the java subdirectory and type: make - java net.tinyos.sf.SerialForwarder -comm serial@: - # e.g., java net.tinyps.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2 - # or java net.tinyps.sf.SerialForwarder -comm serial@COM2:telosb + java net.tinyos.sf.SerialForwarder -comm serial@: + # e.g., java net.tinyos.sf.SerialForwarder -comm serial@/dev/ttyUSB0:mica2 + # or java net.tinyos.sf.SerialForwarder -comm serial@COM2:57600 ./run +NOTE:: The baud rate 57600 must be used telos based motes, as its configuration +has been changed to work with this baud rate when compiled for tosthreads. I.e. +DO NOT just substitute 'telosb' or 'tmote' for above. Explicitly +set it to 57600. + The controls at the bottom of the screen allow you to zoom in or out the X axis, change the range of the Y axis, and clear all received data. You can change the color used to display a mote by clicking on its color in the mote table. Notes: - By default, the Makefile for TestCollection is setup to run CTP as the + By default, the Makefile for TestCollection is setup to run CTP as the underlying collection protocol. The makefile can be modified to work with MultihopLQI by changing the appropriate include directories. + The baud rate 57600 must be used telos based motes, as its configuration + has been changed to work with this baud rate when compiled for tosthreads. I.e. + DO NOT just substitute 'telosb' or 'tmote' for above. Explicitly + set it to 57600. + Known bugs/limitations: - Warnings are issued about fan out on the 'Snoop.receive' and 'Receive.receive' - events. These warnings are harmless and are the result of providing a C based - API in which all events for receiving and snooping must be handled even if not - used by a particular application. The warnings occur because the underlying - CTP or MultihopLQI stacks wire up to particular AM ids, which are also wired - into the C API for handling message reception. + None