When receiving an ADV_IND with length = 0 (invalid), nrfutil-ble-sniffer stops writing to the capture file, even if it is still reading data from the serial port.
With Wireshark, the capture stops with "Error from extcap pipe: Error: Failed to get packet".
Environment :
- nrfutil-ble-sniffer 0.22.0 (9daaffc 2026-10-29) on Linux
- sniffer firmware 5.0.0 on nRF52840 dongle
nrfutil ble-sniffer sniff --port /dev/ttyACM1 --output-pcap-file test.pcap --log-output=stdout --log-level=trace...
DEBUG - [nrfutil_ble_sniffer::packet::packet_manager] Attempting to retrieve new UART packet
DEBUG - [nrfutil_ble_sniffer::packet] Got EVENT_PACKET_ADV_PDU
DEBUG - [nrfutil_ble_sniffer::packet::ble::advertisement] CRC flag is set. Packet will be more finegrainely parsed.
DEBUG - [nrfutil_ble_sniffer::packet::ble] Parsed phy as 0, thus will be parsing metadata as uncoded.
DEBUG - [nrfutil_ble_sniffer::packet::ble::advertisement] Got advertisement type: 0
(stuck)
Corresponding data read on the serial port, captured with strace : | 00000 ab 14 00 03 d0 02 02 0a 01 25 35 00 00 6f 5b 67 .........%5..o[g |
| 00010 01 d6 be 89 8e 00 00 00 1d b5 38 bc ..........8. |
Note that reading continues on the serial port, so the dongle is still capturing data, and the software is still reading it, but the analysis and capture file writing stops.