struct

Matter::MDNS::OperationalServiceDescription

Inherits Struct < Value < Object

Service description for an operational Matter device

Used after commissioning is complete

Constructors

new(fabric_index : UInt8, node_id : UInt64, compressed_fabric_id : Slice(UInt8))
Source

Instance methods

compressed_fabric_id

Compressed fabric ID (8-byte HKDF-derived value) This is used for mDNS service discovery sub-types

Source
compressed_fabric_id=(compressed_fabric_id : Bytes)

Compressed fabric ID (8-byte HKDF-derived value) This is used for mDNS service discovery sub-types

Source
fabric_index

Fabric index

Source
fabric_index=(fabric_index : UInt8)

Fabric index

Source
node_id

Node ID within the fabric

Source
node_id=(node_id : UInt64)

Node ID within the fabric

Source
operational_id

Operational ID for sub-type browsing Returns the compressed fabric ID as an uppercase hex string (16 characters)

Format: XXXXXXXXXXXXXXXX (16 hex digits representing 8 bytes) Example: "1234567890ABCDEF"

This is used as the sub-type in mDNS operational discovery: _<compressed-fabric-id>-<node-id>._sub._matter._tcp.local

Source