struct
Matter::Cluster::AccessControlCluster::Target
- Matter::Cluster::AccessControlCluster::Target
- Struct
- Value
- Object
Overview
Target structure (endpoint, cluster, or device type)
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/access_control_cluster.crConstructors
- .new(any : TLV::Any)
- .new(cluster : UInt32 | Nil = nil, endpoint : UInt16 | Nil = nil, device_type : UInt32 | Nil = nil)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #cluster : UInt32 | Nil
- #cluster=(cluster : UInt32 | Nil)
- #device_type : UInt32 | Nil
- #device_type=(device_type : UInt32 | Nil)
- #endpoint : UInt16 | Nil
- #endpoint=(endpoint : UInt16 | Nil)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
def self.new(cluster : UInt32 | Nil = nil, endpoint : UInt16 | Nil = nil, device_type : UInt32 | Nil = nil)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#