struct

Matter::InteractionModel::InvokeResponseIB

Inherits TLV::Serializable < Struct < Value < Object

InvokeResponseIB - wrapper for command response or status

Constructors

new(any : TLV::Any)
Source
new(command_data : CommandDataIBTlv | Nil = nil, command_status : CommandStatusIB | Nil = nil)
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

command_data

Tag 0: CommandData (optional - present on success)

Source
command_data=(command_data : CommandDataIBTlv | Nil)

Tag 0: CommandData (optional - present on success)

Source
command_status

Tag 1: CommandStatus (optional - present on error)

Source
command_status=(command_status : CommandStatusIB | Nil)

Tag 1: CommandStatus (optional - present on error)

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