Controller B updates from A: link_peer (pairing over the wire, encrypted credential handoff, B status + commands), ESP-NOW receive/unicast, Updates page with two cards; shared header maintenance frames; docs + wiki
Firmware / build (push) Successful in 7m1s
Firmware / build (push) Successful in 7m1s
This commit is contained in:
@@ -82,4 +82,11 @@ uint8_t getNetworks(network_t* out, uint8_t max);
|
||||
/** Console: `wifi status | join <ssid> [pass] | forget | on | off`. */
|
||||
bool handleCommand(const char* line);
|
||||
|
||||
/**
|
||||
* The remembered network, password included - for LinkPeer, which hands it to
|
||||
* Controller B inside an encrypted frame. Never print the password.
|
||||
* @return false if no network is saved
|
||||
*/
|
||||
bool getSavedCredentials(char* ssid, size_t ssid_n, char* pass, size_t pass_n);
|
||||
|
||||
} // namespace WiFiManager
|
||||
|
||||
Reference in New Issue
Block a user