|
DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
|
Stable device UUID derived from the chip MAC (DETWS_ENABLE_DEVICE_ID). More...
Go to the source code of this file.
Stable device UUID derived from the chip MAC (DETWS_ENABLE_DEVICE_ID).
detws_uuid_from_mac() computes a deterministic RFC 4122 version-5 UUID from a 6-byte MAC: namespace = the RFC 4122 DNS namespace, name = the lowercase MAC hex, hashed with the library's SHA-1. The same MAC always yields the same UUID, so it is a stable device identity (mDNS hostname, MQTT client ID, ...) that needs no storage. detws_device_uuid() reads the ESP32 factory MAC and formats it (ESP32 only). Pure, host-testable core; no heap.
Definition in file device_id.h.