Controller B OTA: link_peer (STATUS to A, PAIR from the wire, AES-GCM SECURE frames), updater ported from A, console, CI workflow, shared header v2 maintenance frames; wiki + docs
Firmware / build (push) Successful in 2m57s

This commit is contained in:
2026-09-27 20:26:40 +02:00
parent 30ab113218
commit e6773c73ba
24 changed files with 1805 additions and 57 deletions
+25
View File
@@ -0,0 +1,25 @@
/**
* Serial console (Controller B) - line reader + command chain.
*
* Commands live in their modules (LinkPeer, Ota); this only splits lines and
* asks each handler in turn. `help` lists them.
*/
#ifndef CONSOLE_H
#define CONSOLE_H
#include <Arduino.h>
namespace Console {
typedef bool (*handler_t)(const char* line);
/** Register up to 8 handlers; each returns true if it consumed the line. */
void addHandler(handler_t h);
/** Non-blocking: read whatever is pending on Serial, dispatch complete lines. */
void tick();
} // namespace Console
#endif // CONSOLE_H