Skip to main content

Module protocol

Module protocol 

Source
Expand description

Bounded HAP TLV8 primitives.

Structs§

Tlv8
Parsed TLV8 values. Repeated fragments of a type are concatenated.

Constants§

TLV_ENCRYPTED_DATA
TLV_ERROR
TLV_ERROR_AUTHENTICATION
TLV_ERROR_BUSY
TLV_ERROR_MAX_PEERS
TLV_ERROR_MAX_TRIES
TLV_ERROR_UNAVAILABLE
TLV_ERROR_UNKNOWN
TLV_FLAGS
TLV_IDENTIFIER
TLV_METHOD
TLV_PERMISSIONS
TLV_PROOF
TLV_PUBLIC_KEY
TLV_SALT
TLV_SEPARATOR
TLV_SIGNATURE
TLV_STATE

Functions§

encode_items
Encode ordered TLV8 items, including repeated items separated by a zero-length Separator for /pairings list responses.
error_response