|
DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Adaptive mDNS beacon scheduling: RF-aware backoff, TTL refresher, auto-sleep beacon (DETWS_ENABLE_MDNS_ADAPTIVE). More...
Go to the source code of this file.
Adaptive mDNS beacon scheduling: RF-aware backoff, TTL refresher, auto-sleep beacon (DETWS_ENABLE_MDNS_ADAPTIVE).
The mDNS service (shipped) announces records with a TTL; caches on the network evict a record when its TTL lapses, so a device must re-announce to stay discoverable. Two pressures shape when to announce:
These are the pure scheduling decisions - what interval, and is an announce due (incl. before a sleep). The app owns the actual mDNS transmit. Wrap-safe time math, no heap, no stdlib, host-testable.
Definition in file mdns_adaptive.h.