Syntax

nRF Util

tags
nRF Util

The command uses the following structure:

nrfutil ble-sniffer hci [--output ARG] [--trace-file PATH] [--serialport ARG] [--help] 
Long Short Values Description
--output -o ARG Output file in the PCAP format.
--trace-file PATH Read HCI data from a file

The contents of the file must be as if it were streamed directly from a device's UART.
--serialport ARG Input serial port to read trace data from

See nrfutil-ble-sniffer's extended help documentation for how to configure your device to
output HCI traffic that can be analyzed with this tool.

Specify serial port to use (COM for Windows, /dev/ttyACM devices for Linux, and /dev/tty devices on macOS).

You can also specify custom serial port options in 'key=value' pairs with comma separation.
For example, 'port=COM1,baud_rate=115200'.
These are the valid input pairs:
* baud_rate=INTEGER (default: 115200)
* data_bits=INTEGER (default: 8)
* flow_control=none
--help -h - Print help (see a summary with -h).