struct Matter::InteractionModel::StatusIB

Overview

StatusIB - status code structure

Included Modules

Defined in:

matter/interaction_model/tlv_messages.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(status : UInt8, cluster_status : UInt8 | 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_status : UInt8 | Nil #

Tag 1: Cluster-specific status (optional)


[View source]
def cluster_status=(cluster_status : UInt8 | Nil) #

Tag 1: Cluster-specific status (optional)


[View source]
def status : UInt8 #

Tag 0: Status code


[View source]
def status=(status : UInt8) #

Tag 0: Status code


[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]