First, ensure that both Wireshark and TShark (the command-line version of Wireshark) are installed. You can download them from the Wireshark official website and follow the installation instructions for your operating system.
To capture data from the Zigbee USB sniffer, you'll need to build and install a custom Wireshark plugin. Follow the instructions from the repository below to do this:
- Clone the repository: https://github.com/andrebdo/wireshark-cc2531.
- Follow the steps in the repository to build the plugin and integrate it into your Wireshark installation.
git clone https://github.com/andrebdo/wireshark-cc2531
cd wireshark-cc2531
# Follow the instructions in the README to build and install the plugin.
After installing the plugin, connect your TI CC2531 USB Zigbee sniffer to your machine.
When you launch Wireshark, you should see an option for the TI CC2531 sniffer under the available capture interfaces. Select it to verify that it's capturing data.
- If no data appears, check your plugin installation or make sure the sniffer is properly connected.
For reliable dataset recording, you can use the scripts/recorder.sh
script provided in this repository. This script helps automate the data capture process and ensures that the data is recorded properly.
Run the script using:
bash scripts/recorder.sh
This will start capturing data using the sniffer and create a dataset that you can later analyze in Wireshark.
By following these steps, you can successfully record and capture your own Zigbee network data using the TI CC2531 sniffer and Wireshark.