Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
weatherbox:unified_software_team:packet_tester [2016/09/23 02:41] tbyers created |
weatherbox:unified_software_team:packet_tester [2021/09/19 21:59] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | To enjoy the gateway_decoder.py program, first download or clone the repository at https://github.com/scel-hawaii/data-gateway. | + | ====== Packet Tester ====== |
+ | The "Packet Tester" program is to test the correctness of the packets transmitted by a weatherbox. The Packet Tester will collect the transmitted packets and print the results to the console. There is also the option of having the data be written to a .csv file if that is desired. | ||
+ | |||
+ | To enjoy the packet_tester.py program, first download or clone the repository at https://github.com/scel-hawaii/data-gateway. For best results use a linux machine. | ||
+ | ---- | ||
Equipment Needed: | Equipment Needed: | ||
Line 9: | Line 13: | ||
**Make sure you are in the data-gateway directory when attempting to run the program** | **Make sure you are in the data-gateway directory when attempting to run the program** | ||
- | Instructions for running the decoder test on your personal computer: | + | Instructions for running the packet_tester on your personal computer: |
Step 1: Connect your Xbee device to the explorer, and plug that into your computer | Step 1: Connect your Xbee device to the explorer, and plug that into your computer | ||
Line 35: | Line 39: | ||
When you are prompted by the program insert the following string: /dev/"YOUR_PORT_HERE" | When you are prompted by the program insert the following string: /dev/"YOUR_PORT_HERE" | ||
ex: /dev/ttyUSB0 | ex: /dev/ttyUSB0 | ||
- | Step 6: Run the program with the command: python gateway_decoder.py | + | Step 6: Run the program with the command: python packet_tester.py |