Module capture

Module capture 

Source
Expand description

capture: listen on the device’s radio, decode what it hears, and optionally write a Wireshark-compatible file.

ModulesΒ§

decode
Rendering one captured radio frame: the decode summary, the options that are present, and a hex dump grouped and tinted by field.
pcap
Classic-pcap sink for captured frames.

StructsΒ§

CaptureArgs
Stats πŸ”’
Running totals, carried across BLE reconnects so one capture reads as one capture.

EnumsΒ§

Stop πŸ”’
Why a capture stopped.

FunctionsΒ§

apply_rf πŸ”’
Write the RF overrides the user asked for, as live-only state.
capture_once πŸ”’
capture_with_recovery πŸ”’
Run the capture, recovering a dropped BLE link when asked to.
clear_promiscuous πŸ”’
Leave the device as it was found.
dump πŸ”’
The receive loop. Only ever returns through an error or through the caller cancelling it.
is_broken_pipe πŸ”’
Whether an error is really β€œthe reader hung up”.
read_rf_params πŸ”’
The same channel report_rf narrates, in a form a capture file can carry.
report_rf πŸ”’
Say what the radio is actually listening on, read back from the device rather than assumed.
run
run_with_writer πŸ”’
Capture into an already-built sink.