serial_console.h 586 B

123456789
  1. // serial_console.h -- the CDC debug command line.
  2. //
  3. // Single-letter commands over USB CDC Serial, used during development and protocol RE: toggle RF diag modes,
  4. // poke radio registers live, switch USB mode, edit tunables, inject test haptics, dump capture history. The
  5. // operational firmware never needs it; it's the human/agent interface to everything under the hood. Present
  6. // only in puck modes (clean controller modes drop CDC). See the parser in serial_console.cpp for the full map.
  7. #pragma once
  8. void serialConsolePoll(); // drain + dispatch CDC commands; call every loop()