Matter::InteractionModel::InvokeResponseIB
Inherits TLV::Serializable < Struct < Value < Object
InvokeResponseIB - wrapper for command response or status
Constructors
new(any : TLV::Any)
Sourcenew(command_data : CommandDataIBTlv | Nil = nil, command_status : CommandStatusIB | Nil = nil)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
command_data=(command_data : CommandDataIBTlv | Nil)
Tag 0: CommandData (optional - present on success)
command_status=(command_status : CommandStatusIB | Nil)
Tag 1: CommandStatus (optional - present on error)
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source