Alex2ESP/src
David 42af413a6e Reconnect: keep the wait across short sessions, name a timeout and a lost link, setServer()
The wait between attempts started at 1 s again when the broker accepted the
session, so a session that was closed right after it opened (two boards with
one client id) came back every 2 s without end. It now starts again only
after a session that lasted 60 s; across shorter ones it keeps doubling.
An attempt given up after 30 s prints "the broker did not answer within
30 s", and loss of Wi-Fi prints "Wi-Fi is down, waiting for it" once per loss.
setServer(host, port) before begin() names another broker; the host is not
copied. basicLight: static RAM 30,616 B (+16), flash 333,701 B (+264);
91 host tests (bridge logic 50).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-28 20:24:51 +00:00
..
Alex2ESP.cpp Reconnect: keep the wait across short sessions, name a timeout and a lost link, setServer() 2026-09-28 20:24:51 +00:00
Alex2ESP.h Reconnect: keep the wait across short sessions, name a timeout and a lost link, setServer() 2026-09-28 20:24:51 +00:00
AlexaBridgeLogic.cpp Reconnect: keep the wait across short sessions, name a timeout and a lost link, setServer() 2026-09-28 20:24:51 +00:00
AlexaBridgeLogic.h Reconnect: keep the wait across short sessions, name a timeout and a lost link, setServer() 2026-09-28 20:24:51 +00:00
AlexaCapability.cpp AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
AlexaCapability.h AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
AlexaCompat.h Describe interfaces with PROGMEM descriptor rows; drop the switch tables 2026-09-28 19:04:14 +00:00
AlexaDevice.cpp AlexaDevice: capability array, linked list, a directive handler with the device in hand 2026-09-28 19:45:57 +00:00
AlexaDevice.h AlexaDevice: capability array, linked list, a directive handler with the device in hand 2026-09-28 19:45:57 +00:00
AlexaInterface.h AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
AlexaInterfaces.cpp AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
AlexaInterfaces.h AlexaCapability: instance, asset and text names, configuration, action and state mappings, nonControllable 2026-09-28 19:33:57 +00:00
AlexaLimits.h AlexaDevice: capability array, linked list, a directive handler with the device in hand 2026-09-28 19:45:57 +00:00
AlexaLog.cpp AlexaLog: compile in projects that define DEBUG, ERROR or INFO as macros 2026-09-28 15:30:46 +00:00
AlexaLog.h Keep the root topic out of the log: print endpoint ids and topics without their root 2026-09-28 18:45:18 +00:00
AlexaStatusMessage.cpp AlexaDevice: capability array, linked list, a directive handler with the device in hand 2026-09-28 19:45:57 +00:00
AlexaStatusMessage.h AlexaDevice: capability array, linked list, a directive handler with the device in hand 2026-09-28 19:45:57 +00:00
AlexaTransport.h Leave room for the answer: ALEX2ESP_MAX_MESSAGE defaults to ALEX2ESP_MAX_DIRECTIVE + 1024 2026-09-28 15:38:46 +00:00
AlexaUtils.h Drop the HTTP fallback: directives arrive on <root>/<id>/alexaDirective and reports leave over MQTT 2026-09-28 14:31:57 +00:00
AlexaVersion.h Version 1.2.0 in library.json, library.properties and the discovery attributes 2026-09-28 16:02:52 +00:00