Specifying an output file

nRF Util

tags
nRF Util

By default, the PCAP file is named with the format YYYYMMDD-THHmmss.mmm-capture.pcap. To specify a custom path, use --output-pcap-file:

nrfutil ble-sniffer sniff --port <serial_port> --output-pcap-file path/to/capture.pcap

In the default naming format:

  • YYYY denotes year, MM month (01–12), DD day (01–31).
  • HH is hour (00–23), mm minutes (00–59), ss seconds (00–59), mmm nanoseconds since the last whole minute.