Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.95 KB

record_zigbee_data.md

File metadata and controls

37 lines (25 loc) · 1.95 KB

How to Record Your Own Data Using a Zigbee Sniffer

1. Install Wireshark and TShark

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.

2. Build and Install the Wireshark Plugin

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:

git clone https://github.com/andrebdo/wireshark-cc2531
cd wireshark-cc2531
# Follow the instructions in the README to build and install the plugin.

3. Connect the TI CC2531 USB Zigbee Sniffer

After installing the plugin, connect your TI CC2531 USB Zigbee sniffer to your machine.

4. Verify Sniffer Availability in Wireshark

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.

5. Use the recorder.sh Script to Record Your Dataset

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.