The IoT-LAB platform lets you log into the server of the site your motes are located at (e.g. rennes.iot-lab.info
). It all works fine.
In some cases, you want to be able to run programs and interact with the motes' serial port on your local computer. One example is running the OpenVisualizer from the OpenWSN project.
This Gist contains a couple of ideas about how to do that using SSH forwarding and a pair of Python scripts.
- Create an experiment. You can use the code in
bsp_uart.hex
as an example, the mote simply printsHello, World!
on its serial port every 2s. The source code is at https://github.com/openwsn-berkeley/openwsn-fw.