struct Matter::Cluster::Definitions::Action::StartWithDurationRequest

Overview

Input to the Actions startActionWithDuration command

Included Modules

Defined in:

matter/cluster/definitions/action.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[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]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def action_id : UInt16 #

[View source]
def action_id=(action_id : UInt16) #

[View source]
def duration : UInt32 #

This field shall indicate the requested duration in seconds.


[View source]
def duration=(duration : UInt32) #

This field shall indicate the requested duration in seconds.


[View source]
def invoke_id : UInt32 | Nil #

[View source]
def invoke_id=(invoke_id : UInt32 | Nil) #

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