Skip to main content

Module uuid

Module uuid 

Source
Expand description

HAP type UUIDs.

HAP service and characteristic types are written on the wire as short hex strings (e.g. "3E", "43") that abbreviate a UUID in the HAP base range 0000XXXX-0000-1000-8000-0026BB765291, where XXXX is the short value left-padded to 8 hex digits. Vendor (non-HAP) types use a full 36-character UUID and are stored verbatim.

Structsยง

Uuid
A 128-bit type UUID, stored as its canonical lowercase 36-char string.