struct Matter::InteractionModel::InvokeResponseIB

Overview

InvokeResponseIB - wrapper for command response or status

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(command_data : CommandDataIBTlv | Nil = nil, command_status : CommandStatusIB | 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]

Instance Method Detail

def command_data : CommandDataIBTlv | Nil #

Tag 0: CommandData (optional - present on success)


[View source]
def command_data=(command_data : CommandDataIBTlv | Nil) #

Tag 0: CommandData (optional - present on success)


[View source]
def command_status : CommandStatusIB | Nil #

Tag 1: CommandStatus (optional - present on error)


[View source]
def command_status=(command_status : CommandStatusIB | Nil) #

Tag 1: CommandStatus (optional - present on error)


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