Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

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

 

...

The format of the TRIGGERSERIALECHO frame is as follows:

infovaluedescription
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

...