Closed sheikhomar closed 6 years ago
@Reviewer: Before you can use the Python script, you need to augment Python's default search path for module files. The 'tos' module is located in /opt/tinyos-2.1.1/support/sdk/python. Set following lines in your ~/.bash_profile or ~/.zprofile file:
export CLASSPATH="/opt/tinyos-2.1.1/support/sdk/java/tinyos.jar"
export MOTECOM=serial@/dev/ttyUSB0:telosb
export PYTHONPATH=/opt/tinyos-2.1.1/support/sdk/python
Run the script as follows:
python DecompressorPC/decompressor.py serial@/dev/ttyUSB0:115200
Ready to be merged ?
Fixes #7 and #8