ble-sniffer hci

nRF Util

tags
nRF Util

Use the nrfutil ble-sniffer hci command to capture Host Controller Interface (HCI) packets from the command line and save them to a PCAP file.

Tip

You can also capture HCI packets directly in Wireshark using the nRF Logger for Bluetooth HCI in Wireshark plugin.

HCI packets are packets exchanged between the Bluetooth Host and the Bluetooth Controller inside the Bluetooth stack. The combined set of HCI and Bluetooth LE sniffer logs gives a detailed view of what happens both inside and between Bluetooth devices. For more information about HCI, see Bluetooth Core Specification, Volume 4, Part E.

Note

The hci subcommand requires nrfutil ble-sniffer version 0.16.0. See Installing and upgrading nRF Util commands for more information on how to install or upgrade the command.