struct Matter::InteractionModel::CommandDataIBTlv

Overview

CommandDataIB - command invocation data

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_path : CommandPath, command_fields : TLV::Any | 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_fields : TLV::Any | Nil #

Tag 1: CommandFields (optional)


[View source]
def command_fields=(command_fields : TLV::Any | Nil) #

Tag 1: CommandFields (optional)


[View source]
def command_path : CommandPath #

Tag 0: CommandPath (LIST)


[View source]
def command_path=(command_path : CommandPath) #

Tag 0: CommandPath (LIST)


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