tool/fake_radio/capture_trace.py records a real radio over USB serial:
the same read-only requests a client sends on connect, plus the
Offband extensions, each request with its exact reply frames. Nothing
is set or sent over the air; draining the message queue is opt-in
because it removes messages from the radio. RTS stays low and
--no-dtr keeps DTR low for ESP32 USB-Serial/JTAG boards (#244).
FakeRadioTrace loads a trace, builds the seed, profile and block list
the recorded radio held, and replays every request into a fake seeded
from it, reporting each reply that differs by step. Channel names are
compared up to their NUL (firmware fills that field with strcpy).
FakeRadioProfile.deviceInfoTailBytes lets older Offband builds with a
shorter DEVICE_INFO tail replay. The app's frame log wasn't usable: it
keeps 500 entries and truncates long frames.
Round trips exact under both profiles and for a v16-style short tail;
a doctored or missing reply is reported. 87 fake-radio tests.
Real-radio traces are captured at D1 (#783).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>