struct Matter::Cluster::AccessControlCluster::Target

Overview

Target structure (endpoint, cluster, or device type)

Included Modules

Defined in:

matter/cluster/access_control_cluster.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]
def self.new(cluster : UInt32 | Nil = nil, endpoint : UInt16 | Nil = nil, device_type : UInt32 | Nil = nil) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def cluster : UInt32 | Nil #

[View source]
def cluster=(cluster : UInt32 | Nil) #

[View source]
def device_type : UInt32 | Nil #

[View source]
def device_type=(device_type : UInt32 | Nil) #

[View source]
def endpoint : UInt16 | Nil #

[View source]
def endpoint=(endpoint : UInt16 | Nil) #

[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]