Wireshark extcap interface for the Texas Instruments CC2531 USB dongle with the factory-installed IEEE 802.15.4 packet sniffer firmware.
- Compile the cc2531.c extcap program:
- sh build.sh
- Copy the resulting cc2531 executable to the wireshark extcap directory with permissions to read-write the /dev/bus/usb/XXX/YYY device node of the TI CC2531 USB dongle. One way to do this is:
- sudo install -m 2755 cc2531 /usr/lib/x86_64-linux-gnu/wireshark/extcap/cc2531
- Run wireshark, select the "TI CC2531 802.15.4 packet sniffer" capture interface, choose the IEEE 802.15.4 2.4GHz radio channel to capture (11 to 26) and start capturing.
- Copy the pre-compiled cc2531.exe extcap program to the wireshark extcap directory, typically C:\Program Files\Wireshark\extcap (or run build.bat to compile it yourself).
- Plug in your TI CC2531 USB dongle to your computer and follow the instructions at https://msdn.microsoft.com/library/ff540196 to configure it to use the WinUSB driver:
- Open Device Manager and locate the "CC2531 USB Dongle" device, which is probably under "Other Devices",
- Open the device and press "Change Settings" and then "Update Driver",
- Select "Browse my computer for driver software",
- Then "Let me pick from a list of available drivers on my computer",
- From the list of device classes, select "Universal Serial Bus devices",
- Finally select the "WinUsb Device" manufacturer and model.
- Run wireshark, select the "TI CC2531 802.15.4 packet sniffer" capture interface, choose the IEEE 802.15.4 2.4GHz radio channel to capture (11 to 26) and start capturing.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License in the LICENSE file for more details.