Versions Compared

Key

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

...

Tip
titleOops!

Before you can go on, you need to install Wireshark 6TiSCH dissectors:

Start Wireshark (run as administrator) on the OpenWSN interface at address, and configure the filtering for zep (the ZigBee encapsulation protocol).

For now, you don't see any packets, that's normal:

Image Removed

In the OpenVisualizer's "Event bus" tab, check the "Wireshark debug" box.

Image Removed

You now see all the packets exchanged over the simulated radio environment, exciting!

Image Removed

Here is an example pcap file of openwsn simulation network with three motes: example.

Closing the OpenVisualizer

In the command prompt from where you started the OpenVisualizer, type q Image Added


You may not able to see the 6LoWPAN packet in your Wireshark, then you need to configure  Wireshark to decode it. Choose one packet in your wireshark and right click to choose "Decode As".

Image Added


In the prompt window, Choose 6LoWPAN protocol on the Current column.

Image Added

Click "OK" to close the window and do a "Reload" or press "Ctrl+R" to reload current setting. After this operation, you will see the 6LoWPAN packets.

You also need to configure the Wireshark to tell which IPv6 prefix is the network is using. In packet detail content, right click the 6LoWPAN dissect area and choose "Protocol Perference" → "Open 6LoWPAN Perference".

Image Added

Type bbbb::/64 in the Context 0 textbox to indicate the prefix is using bbbb::, and click OK to close the window. A "Reload" Operation is also required.

Image Added

Here is an example pcap file of openwsn simulation network with three motes: example.

Closing the OpenVisualizer

In the command prompt from where you started the OpenVisualizer, type quit to close it

Now with real hardware

...