CH2 RF, wireless and embedded · 2026 – now

Wireless packet sniffers

Two small boards that between them stream Wi-Fi, Bluetooth LE and 802.15.4 traffic into Wireshark.

radios
3
Wireshark interfaces
5
802.15.4 timing
0.5 µs
gaps in 150 retunes
0

What I did

I wrote the firmware for both boards with AI coding agents helping. I also wrote the Python Wireshark plugin and the tools that test the boards.

Result

Both boards send one frame format, kept byte-identical to a Python reference. Hardware-in-the-loop tests caught defects that code review missed.

How a frame gets to Wireshark

On the ESP32-C6 each radio hands its frames to a task of its own. They share one ring buffer and one USB link to the laptop, where a plugin hands them to Wireshark, one capture interface per radio.

The ESP32-C6's data path, from its firmware. The dashed line is the toolbar's commands going back to the board.
The header every frame starts with, on both boards, from shared/frame.h.

Measured

Sustained throughput. The ESP32-C6 figure is the mean of 3 runs. The nRF54L15 goes through a UART bridge chip. A full 802.15.4 channel produces about 31 kB/s.
Throughput by packet size on the ESP32-C6, 20 s per point. Solid: payload. Dashed: bytes on the wire, headers included. This first sweep counted the board's start-up time, so it reads about 3% under the corrected 809.9 kB/s.
802.15.4 timestamp jitter on the ESP32-C6, the median standard deviation over 1,609 frames, against the radio's own timing. One chip, the shortest step in the radio signal, is 0.5 µs.
Bluetooth LE timestamp error against a periodic advertising train, 1st to 99th percentile. The nRF54L15 was measured on older firmware.
The ESP32-C6's energy survey seeing a carrier the nRF54L15 sent on channel 20, median reading.
A sketch of how the retune test was run: a channel change every 2 s for 5 minutes. It gave 0 sequence gaps in 150 changes on each board.

What each board supports

Thread, Zigbee and Matter

802.15.4ESP32-C6nRF54L15
Capture on channels 11 to 26yesyes
Energy survey across the channelsyesyes
Networks named without a key: Thread or Zigbee, devices, sleepy devicesyesyes
Decryption of your own Thread or Zigbee trafficyesyes
Corrupt frames countednoyes
Timestampsabout 0.5 µs, measurednot yet measured

The energy survey sees the Wi-Fi that overlaps most 802.15.4 channels, which a packet capture can't show. The timing was measured against the standard's fixed acknowledgement turnaround.

Wi-Fi

2.4 GHzESP32-C6nRF54L15
Capture at 2.4 GHz, 802.11b/g/n/axyes–does not apply
Channel hopping across 1, 6 and 11, or all of 1 to 13yes–does not apply
Network survey: channel, signal, securityyes–does not apply
Wi-Fi 6 (802.11ax) decodingyes–does not apply
Channel state information exportyes–does not apply

Wi-Fi is on the ESP32-C6 only. The nRF54L15 has no Wi-Fi radio.

Wi-Fi is 2.4 GHz only. Encrypted payloads stay encrypted unless it's your own network and the capture caught a device joining. Wireshark can then decrypt them with the passphrase. The plugin flags each handshake it catches.

Bluetooth LE

advertisingESP32-C6nRF54L15
Advertisements, periodic trains includedyesyes
Advertiser survey: stable and rotating addressesyesyes
Your own devices followed through address changes, given their keysup to 5up to 8
Decryption of your own Bluetooth Mesh trafficyesnot yet tried
Timestampsabout ±20 µs, measuredabout −20 to +40 µs, measured on older firmware

Both boards scan advertisements. Neither follows a connection.

yes no does not apply

Testing

test functions in the laptop-side suite
759
golden vectors, run on both boards
8
random inputs in the robustness tests
51,200
abuse checks against a live ESP32-C6
16
Random inputs per target in the laptop-side robustness tests. Each test uses a fixed seed, so every run is the same.

More detail

Why I built it

It started as a hobby. My Thread network at home wouldn't come up, so I built a sniffer to see what the devices were actually sending. It now covers Wi-Fi and Bluetooth LE too.

How it works with Wireshark

Each board listens on its radio without joining the network. It wraps every frame in one shared format and streams it down its USB cable to a Wireshark plugin on the laptop. On the nRF54L15 a bridge chip on the board turns its serial link into USB. No network adapter or Npcap is needed.

The ESP32-C6 shows up in Wireshark as three capture interfaces: 802.15.4, Wi-Fi and Bluetooth LE. Picking one picks the radio. The nRF54L15 adds two more of its own, 802.15.4 and Bluetooth LE. One plugin serves both boards.

A toolbar inside Wireshark changes channel mid-capture with no restart. Across 150 channel changes on each board, not one captured frame was lost. The toolbar also switches antenna. Its log window shows frame counts. If anything is lost it shows the board's drop counters too. Each radio has its own Wireshark profile, so the columns and filter buttons match what is being captured.

Captures save as pcapng. Each file records the board, radio, starting channel and drop counts, so a capture shows months later whether anything was missed.

Every radio

ESP32-C6nRF54L15
Channel change mid-capture, no restart (802.15.4, Wi-Fi)yesyes
Onboard or external antennayesyes
Drop counters from the boardyesring overflows only
Link to the laptopUSB, about 810 kB/sUART bridge, about 94 kB/s

Decryption runs in Wireshark, from its own key tables. Capture never transmits: no acknowledgements, no injection, no deauthentication. The one exception is opt-in. The ESP32-C6's Wi-Fi survey sends probe requests if you ask for an active scan. The radios on a board share one front end, so each board captures on one radio at a time.

How it was tested

The frame format has a Python reference. Both boards are tested against golden vectors from it. Separate tests feed malformed input to the laptop-side decoders. An abuse script sends the ESP32-C6 garbage, command floods and 60 rapid retunes, then checks it is still capturing.

Skills

  • ESP-IDF
  • Zephyr
  • Wireshark
  • test strategy
  • hardware-in-the-loop testing
  • Python

Proof