Files
HaloKeymind/examples
Claude b2d6184bda USB packet log: print the radio2 marker from the repeater/room hooks
The marker in Dispatcher::logPacketLine cost the RAK4631 Full Companion 72
bytes it doesn't have (712776 of 712704). Companions aren't serial observers,
so print it where only repeaters and room servers pay for it: their logRxRaw,
right after the RAW line and before the RX line, using the radio's current
receive profile.

  12:34:56 - 29/10/2026 U RAW: 15A3…
  12:34:56 - 29/10/2026 U RADIO: radio2
  12:34:56 - 29/10/2026 U: RX, len=64 …

The shared dispatcher is back to upstream, so Companion images are unchanged.
Only receptions are marked in the USB log now; the MQTT bridge still tags
both directions.

test_usb_log_radio2.py compiles both roles' real logRxRaw and checks the
marker against meshcoretomqtt's patterns, and that the dispatcher and
Companion sources don't carry it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011i5tJJtj95MB4oUgncCUe5
2026-10-29 09:47:32 -07:00
..