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

Overview

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.

Included Modules

Defined in:

matter/cluster/definitions/scenes.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

def capacity : UInt8 | Nil #

[View source]
def capacity=(capacity : UInt8 | Nil) #

[View source]
def group_id : DataType::GroupId #

[View source]
def group_id=(group_id : DataType::GroupId) #

[View source]
def sceneList : Array(UInt8) | Nil #

[View source]
def sceneList=(sceneList : Array(UInt8) | Nil) #

[View source]
def status_code : StatusCode #

[View source]
def status_code=(status_code : StatusCode) #

[View source]