Contents

WCH BLE Analyzer Pro on OpenBSD: Three Channels in Parallel with Kismet and wch_capture

Capture BTLE advertising on channels 37, 38, and 39 – using just a single USB port

This post may contain affiliate links. If you click and make a purchase, I may receive a small commission at no extra cost to you.

So why bother? ;)

When I recently updated Kismet to the latest release, I noticed the new data source https://www.kismetwireless.net/docs/readme/datasources/bluetooth-wch-ble-analyzer-pro/. Since the data source built without any trouble, curiosity got the better of me and I had to order one – available, for example, from https://www.olimex.com/Products/RISC-V/WCH/WCH-BLE-Analyzer-PRO/.

Why three channels at once make all the difference

In Bluetooth Low Energy (BLE), there are 40 channels in the 2.4 GHz band (0 through 39), but for device discovery and connection setup the three advertising channels are crucial: channel 37 (2402 MHz), channel 38 (2426 MHz), and channel 39 (2480 MHz). That is where devices broadcast their advertisements, respond to scan requests, or initiate connections.

A classic single-chip BLE sniffer has to hop back and forth between these channels. That is fine for a quick overview, but whenever packets are short-lived or connection timing gets interesting, you simply miss frames on whichever channel is not currently being monitored. If you want to keep all three advertising channels in view at the same time with conventional sniffers, you would need three separate sniffers on three USB ports – complete with cable clutter and scarce ports on your machine.

The WCH BLE Analyzer Pro solves this neatly: inside are three CH582F RISC-V chips paired with a CH334 USB hub. Each chip can handle a channel so all three advertising channels can be monitored in parallel – and it takes only a single USB port on the computer, with even enough room on the back of the hub to plug in another device.

WCH BLE Analyzer Pro front panel with USB port

WCH BLE Analyzer Pro front panel with USB port

WCH BLE Analyzer Pro rear panel with antennas

WCH BLE Analyzer Pro rear panel with antennas

Just one USB port on the host – plus a port on the back of the hub
Instead of three separate sniffers on three USB ports, the WCH BLE Analyzer Pro uses only a single host port and still leaves room at the built-in USB hub on the back for another device. Especially on a laptop or compact test box, that keeps things pleasantly tidy.

Kismet, wch_capture, and OpenBSD

Getting started right away with Kismet

Once the data source is built cleanly, you can quickly start a pcapng capture with Kismet. For initial experiments with debug output, a dedicated log directory comes in handy:

mkdir -p ble-logs && kismet -T pcapng -p ble-logs -t ble-test --debug

This saves BLE packets directly in pcapng format via Kismet so you can inspect them further afterward.

Thanks to libusb, the data sources for all three channels are detected automatically. Just enable them in Kismet and off you go.

Kismet wch-btle-mcu Data Sources

Kismet wch-btle-mcu Data Sources

WCH BLE Analyzer Pro BTLE monitoring in action

WCH BLE Analyzer Pro BTLE monitoring in action

wch_capture and clean .pcap files

Alongside Kismet, I came across https://github.com/xecaz/BLE-Analyzer-pro-linux-capture. The tool provides a straightforward CLI to control PHY selection, filters, channel selection, custom 2.4G parameters, and output to stdout or a .pcap file:

wch_capture                                                                                                                                                                          
Nothing to do – use -v and/or -w FILE.pcap
WCH BLE Analyzer PRO Linux Capture tool by Xecaz 2026!

Usage: wch_capture [OPTIONS]

Options:
  -v            Print packets to stdout
  -w FILE.pcap  Write PCAP (DLT 256, BLE LL + phdr)
  -p PHY        PHY: 1=1M (default), 2=2M, 3=CodedS8, 4=CodedS2
  -i ADDR       Initiator MAC filter  (AA:BB:CC:DD:EE:FF)
  -a ADDR       Advertiser MAC filter (AA:BB:CC:DD:EE:FF)
  -k KEY        LTK, 32 hex chars
  -K PASSKEY    BLE passkey (6-digit decimal)
  -2            Custom 2.4G mode (default: BLE monitor)
  -c CHAN       Channel 0-39: BLE adv 37/38/39 or 0=all (auto per MCU); 2.4G raw
  -A AADDR      2.4G access addr (hex, e.g. 8E89BED6)
  -C CRCINIT    2.4G CRC init (6 hex chars, e.g. 555555)
  -W WHITEN     2.4G whitening init (hex byte)
  -h            Show this help

Capture stops on SIGINT (Ctrl+C) or SIGTERM.

On OpenBSD, wch_capture is easy to build. It only requires the gmake and libusb-1.0 packages to be installed, and building is simply gmake CFLAGS=-I/usr/local/include.

From there you can run it right away, for example with live console output and writing to a .pcap file:

sudo /usr/local/bin/wch_capture -w output.pcap -v

That produces nice .pcap files you can continue working with.

Opening captures from Kismet and wch_capture in Wireshark
Both captures from Kismet and .pcap files from wch_capture can be opened directly in Wireshark without needing extra plugins. That makes it easy to analyze raw captures from wch_capture in the familiar Wireshark UI.
BTLE traffic capture in Wireshark

BTLE traffic capture in Wireshark

Port review on the OpenBSD ports@ mailing list

To keep wch_capture cleanly maintained and reproducibly buildable on OpenBSD, a port has been submitted for review to the OpenBSD ports@ mailing list. Especially for specialized radio and capture tools, having a clean port on OpenBSD is worth its weight in gold.


Conclusion

All things considered, it is a sturdy little piece of hardware, not overly expensive – and with Kismet and wch_capture almost a little too easy to use ;)