Using an STM32W108-based board and Wireshark
1 Introduction
This document describes a PC software application that interfaces STM32W108-based
boards with Wireshark for capturing and displaying IEEE 802.15.4 traffic at 2.4 GHz.
This application requires the use of a compatible IEEE 802.15.4 board to interface with
Wireshark as an over-the-air protocol analyzer or packet sniffer.
Wireshark is a complete open-source network protocol analyzer, widely used for
troubleshooting, analysis, development and education. It enables you to inspect hundreds of
protocols, including IEEE 802.15.4 and most related upper-layer protocols, such as Zigbee
and 6LoWPAN.
AN3406
Application note
for IEEE 802.15.4 packet analysis
May 2011 Doc ID 018855 Rev 1 1/10
www.st.com
Contents AN3406
Contents
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3 Application block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
4 Installing software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.1 Installing Wireshark . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
4.2 Installing the STM32W108 Wireshark server . . . . . . . . . . . . . . . . . . . . . . . 5
5 Installing sniffing boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1 Plugging in the board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.2 Programming the board as a sniffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
6 Virtual sniffer server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
6.1 Packet capturing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
7 Revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
2/10 Doc ID 018855 Rev 1
AN3406 Prerequisites
2 Prerequisites
● PC with at least one USB 1.1 port
● Windows XP™ or more recent.
● Any of the compatible boards equipped with STM32W108 microcontroller:
– MB851
– MB950
– MB951
– MB954
These are provided in the following kits:
– STM32W108xx starter kit (part number: STM32W-SK)
– STM32W108xx extension kit (part number: STM32W-EXT)
– STM32W108xx low-cost RF control kit (part number: STM32W-RFCKIT)
Make sure also you have appropriate FTDI drivers installed if your board is equipped
with FTDI device. The FTDI drivers can be downloaded from
http://www.ftdichip.com/Drivers/D2XX.htm.
● Wireshark 1.4.3 or later. The latest release can be downloaded from
www.wireshark.org.
● Installer file: STM32W108-WiresharkServer-1.0.0-Setup.exe, which can be
downloaded from http://www.st.com.
Doc ID 018855 Rev 1 3/10