struct
Matter::InteractionModel::InvokeResponseIB
- Matter::InteractionModel::InvokeResponseIB
- Struct
- Value
- Object
Overview
InvokeResponseIB - wrapper for command response or status
Included Modules
- TLV::Serializable
Defined in:
matter/interaction_model/tlv_messages.crConstructors
- .new(any : TLV::Any)
- .new(command_data : CommandDataIBTlv | Nil = nil, command_status : CommandStatusIB | Nil = nil)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
-
#command_data : CommandDataIBTlv | Nil
Tag 0: CommandData (optional - present on success)
-
#command_data=(command_data : CommandDataIBTlv | Nil)
Tag 0: CommandData (optional - present on success)
-
#command_status : CommandStatusIB | Nil
Tag 1: CommandStatus (optional - present on error)
-
#command_status=(command_status : CommandStatusIB | Nil)
Tag 1: CommandStatus (optional - present on error)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
def self.new(command_data : CommandDataIBTlv | Nil = nil, command_status : CommandStatusIB | Nil = nil)
#
Class Method Detail
Instance Method Detail
def command_data=(command_data : CommandDataIBTlv | Nil)
#
Tag 0: CommandData (optional - present on success)
def command_status=(command_status : CommandStatusIB | Nil)
#
Tag 1: CommandStatus (optional - present on error)
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#