Snoopy Network Tester Application
From REM
Snoopy.jar is an executable jar file.
Snoopy.tar is a tar file containg the TinyOS application.
What is the Snoopy Network Tester?
The Snoopy Network Tester is a set of software programs that enables easy single-hop packet-level network testing of a network of motes. One mote is a beacon that transmits a user-defined sequential number of packets. All other motes in the network record the beacon’s transmitted packets. After the test, the user downloads the missed packet numbers from each of the motes in the network.
What are the parts of the Snoopy Network Tester?
The Snoopy Network Tester has two software components: the Snoopy GUI Java application and the Snoopy TinyOS application. The Snoopy GUI runs on a personal computer and allows interaction with motes enabled with the Snoopy TinyOS application. The Snoopy TinyOS application is designed for the Telos and Tmote Sky platforms (Specifically, the internal memory limits for the Mica, Mica2, and Mica2Dot platforms are too small to record a significant number of packets and will work correctly).
Download
Snoopy GUI
Snoopy TinyOS Application
How do I use the Snoopy Network Tester?
1. Prepare the network of motes. Install TOSBase on one mote, this mote connects to the personal computer or laptop. Install the Snoopy TinyOS on all other motes in the network – be sure to remember the mote ID numbers that are assigned to each mote.
2. Launch Serial Forwarder. Be sure to note the COM port for the mote connected to the laptop – do this by using the TinyOS motelist.exe program.
3. Launch the Snoopy GUI Java application.
4. Define the Snoopy COM port and mote platform (see Figure below). In the upper left section of the GUI, complete box Step 1.A.
5. Connect the Snoopy GUI to the Serial Forwarder. In box Step 1.B, press the “Connect” button. To disconnect the Snoopy GUI from the Serial Forwarder, press the disconnect button.
6. Test network connectivity (optional). In box Step 1.B, press the “LED_ON” and “LED_OFF” buttons. All motes in the network should respond accordingly by turning the onboard led on and off. This confirms that all nodes are working correctly.
7. Define the beacon mote characteristics. In box Step 2.A, input the desired mote ID into the “Beacon ID” text area. From the pull down menu in “Transmission Rate”, select how frequently the beacon mote should transmit. From the pull down menu “Total Packets”, select the total number of packets for the test.
8. Initialize the network. In box Step 2.B, press the “Initialize” button – after pressing this button all nodes in the network will be in the same ready state, even the desired beacon node. At this point, however, the beacon node has not been instructed to become a beacon – you’ve only input the desired information into the GUI. Warning, the “Initialize” button will erase test data from the motes – be sure to download all data before re-initializing after a test (see steps 12 and 13).
9. Run a fake test (optional). At this point, all nodes in the network are initialized and ready to begin a test. The “Test w/ Fake Beacon” button allows the user to test the motes with a predefine sequence of packets – this will help familiarize the user with how the remaining steps work. After pressing, you’ll see the outgoing packet information displayed in the “Messages” dialogue box on the right hand side of the GUI.
10. Start the beacon. Press the “Start the Beacon” button to instruct the beacon mote to begin transmissions. You should see the beacon mote flash its LEDs as it transmits packets.
11. Stop the beacon. Press the “Stop the Beacon” button to stop a test. After the beacon mote has finished transmitting the desire number of packets (the sequential packet ID’s received at the base station are displayed in the message dialogue box), the user must pres the “Stop the Beacon” button. Also, the user may stop a test before the total number of specified packets are transmitted. In response, the beacon mote will stop flashing the LED.
12. Download data from one mote at a time. First enter the mote ID number into the text area designated as “Mote ID” in Step 3.A. Press the “Download” button in step 3.A. Note the progress bar is disabled in this release. You will see the downloaded messages in the message dialogue box. The download is finished when no new messages appear in the message dialogue box. At this point, the data has been downloaded to the laptop but not saved to disk.
13. Export downloaded data to a file on the laptop. First, enter the desired file name in the “Directory” text area in Step 3.B. This must be a full path – the default directory is “c:/MyWSN”. A text file format is typical, specified by “.txt”. Press the “Export” to save the downloaded data to the specified full path file name.
14. Repeat steps 12 and 13 for all nodes.
15. Repeats steps 7 through 14 for a different test.
--Nota 05:44, 20 June 2006 (PDT)

