@mega-yfue/eufy-sdk / mqttUuidFrom
Function: mqttUuidFrom()
ts
function mqttUuidFrom(installId): string;The mqttUuid segment for a client bound to installId, hashed to the 16-hex shape buildAppShapedClientId expects. Deterministic, so a client keeps its id across restarts and takes its own stale session over rather than doubling up beside it; one-way, so the id it is derived from is not recoverable from a client_id that travels the wire in clear.
Two clients are distinguished exactly as far as their installId is: equal ids in, equal ids out.
Parameters
installId
string
Returns
string