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
+10
View File
@@ -7,6 +7,10 @@
* Channel discovery: A transmits on ESPNOW_CHANNEL unless it is associated to
* an access point. B listens on ESPNOW_CHANNEL first and, while it hears
* nothing, hops through channels 1..13 until frames arrive, then locks.
*
* Frames other than DATA/CONFIG (the SECURE envelope from A) are routed to
* LinkPeer, and the sender MAC of A's frames is remembered so LinkPeer can
* unicast STATUS frames back (sendTo).
*/
#ifndef ESPNOW_RECEIVER_H
@@ -31,6 +35,12 @@ bool isReady();
uint8_t currentChannel();
uint32_t framesReceived();
/** A's MAC as seen on its last DATA/CONFIG frame. False until A was heard by radio. */
bool peerMac(uint8_t out[6]);
/** Unicast one complete frame to a MAC (peer added on first use, unencrypted). */
bool sendTo(const uint8_t mac[6], const uint8_t* frame, size_t len);
} // namespace EspNowReceiver
#endif // ESPNOW_RECEIVER_H