struct

Matter::Cluster::Definitions::Action::EndpointList

Inherits TLV::Serializable < Struct < Value < Object

This data type holds the details of a single endpoint list, which relates to a set of endpoints that have some logical relation, and contains the data fields below.

This field shall provide an unique identifier used to identify the endpoint list.

This field shall indicate the name (as assigned by the user or automatically by the server) associated with the set of endpoints in this list. This can be used for identifying the action to the user by the client. Example: "living room".

This field shall indicate the type of endpoint list, see EndpointListTypeEnum.

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

endpoint_list_id
Source
endpoint_list_id=(endpoint_list_id : UInt16)
Source
endpoints

This field shall provide a list of endpoint numbers.

Source
endpoints=(endpoints : Array(DataType::EndpointNumber))

This field shall provide a list of endpoint numbers.

Source
name
Source
name=(name : String)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source
type
Source
type=(type : EndpointListType)
Source