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Β§
- Capture
Args - 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_rfnarrates, 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.