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, for example COM1 for Windows or /dev/ttyACM0 for Linux.

You can also specify custom serial port options with this argument.
They must be specified in 'key=value' pairs, with comma separation between new pairs.
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')