struct

Matter::Cluster::Definitions::Scenes::GetSceneMembershipResponse

Inherits TLV::Serializable < Struct < Value < Object

The fields of the get scene membership response command have the following semantics:

The Capacity field shall contain the remaining capacity of the Scene Table of the server (for all groups). The following values apply:

• 0 - No further scenes may be added.

• 0 < Capacity < 0xfe - Capacity holds the number of scenes that may be added.

• 0xfe - At least 1 further scene may be added (exact number is unknown).

• null - It is unknown if any further scenes may be added.

The Status field shall contain SUCCESS or ILLEGAL_COMMAND (the endpoint is not a member of the group) as appropriate.

The GroupID field shall be set to the corresponding field of the received GetSceneMembership command.

If the status is not SUCCESS then the SceneList field shall be omitted, else the SceneList field shall contain the identifiers of all the scenes in the Scene Table with the corresponding Group ID.

Zigbee: If the total number of scenes associated with this Group ID will cause the maximum payload length of a frame to be exceeded, then the SceneList field shall contain only as many scenes as will fit.

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

capacity
Source
capacity=(capacity : UInt8 | Nil)
Source
group_id
Source
group_id=(group_id : DataType::GroupId)
Source
scene_list
Source
scene_list=(scene_list : Array(UInt8) | Nil)
Source
status_code
Source
status_code=(status_code : StatusCode)
Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source