When connected to a computer, most motes appear as a serial or COM port. The pages in this section detail how to start with a serial port, and end up with a wireless network connected to the IPv6 cloud.
The first pages form a step-by-step tutorial, and are meant to be read one after the other.
- Create an LBR shows how to install Debian on a Linksys NLSU2 'slug' which OpenWSN uses as the LBR, or 'gateway' between the mote network and the Internet;
- Set Up Tunneling shows how to open up a IPv6-over-IPv4 tunnel to connect the OpenLBR to the IPv6 cloud, in the case your network doesn't run IPv6 natively;
- Use a Virtual Interface shows how to use TUN to create a software interface which will be used to turn the serial port your mote is connected to into a IPv6 interface;
- RADVD shows how to sends periodic IPv6 Router Advertisements onto the virtual interface to be used for IPv6 Stateless Auto-Configuration;
- Setup 6LoWPAN Compression shows how the Python script attached to the virtual port compresses the IPv6 header using 6LoWPAN before sending it to the mote;
- Serial-To-Mote shows how the Python script running on the OpenLBR communicates with the mote; exchanged data can be either application data or status information;
These functionalities are integrated within the OpenWSN source code. If you wish to just run everything, take a look at Run It All.