The OpenWSN stack communicates with the OpenVisualizer over a serial connection. This pages describes the format of the serial frames whizzing back-and-forth between the mote and the computer. Note that all motes running the OpenWSN stack can communicate of their serial port, not just the DAGroot in the network.
...
SERFRAME_PC2MOTE_TRIGGERSERIALECHO
Frame
SERFRAME_PC2MOTE_TRIGGERSERIALECHO
...
The format of the TRIGGERSERIALECHO frame is as follows:
info | value | description |
---|---|---|
STACKNAME | 'S' | Echo the name of stack |
VERSION_MAJOR | 'M' | Echo the major version of stack |
VERSION_MINOR | 'm' | Echo the minor version of stack |
VERSION_PATCH | 'P' | Echo the patch version of stack |
When mote receives this frame with info STACKNAME, it sends back the name of stack, which is "OpenWSN".
SERFRAME_PC2MOTE_COMMAND_GD
Frame
SERFRAME_PC2MOTE_COMMAND_GD
...