struct
Matter::Cluster::Definitions::Action::Events::StateChangedEvent
- Matter::Cluster::Definitions::Action::Events::StateChangedEvent
- Struct
- Value
- Object
Overview
Body of the Actions stateChanged event
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/action.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
-
#invoke_id : UInt32
This field shall be set to the InvokeID which was provided to the most recent command referencing this ActionID.
-
#invoke_id=(invoke_id : UInt32)
This field shall be set to the InvokeID which was provided to the most recent command referencing this ActionID.
-
#state : State
This field shall be set to state that the action has changed to.
-
#state=(state : State)
This field shall be set to state that the action has changed to.
- #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
Class Method Detail
Instance Method Detail
def invoke_id : UInt32
#
This field shall be set to the InvokeID which was provided to the most recent command referencing this ActionID.
def invoke_id=(invoke_id : UInt32)
#
This field shall be set to the InvokeID which was provided to the most recent command referencing this ActionID.
This field shall be set to state that the action has changed to.
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#