struct Matter::Cluster::Definitions::Groups::GetGroupMembershipResponse

Overview

The GetGroupMembershipResponse command is sent by the Groups cluster server in response to a GetGroupMembership command.

The fields of the GetGroupMembershipResponse command have the following semantics:

The Capacity field shall contain the remaining capacity of the Group Table of the node. The following values apply:

• 0 - No further groups may be added.

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

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

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

The GroupList field shall contain either the group IDs of all the groups in the Group Table for which the server endpoint is a member of the group (in the case where the GroupList field of the received GetGroupMembership command was empty), or the group IDs of all the groups in the Group Table for which the server endpoint is a member of the group and for which the group ID was included in the the GroupList field of the received GetGroupMembership command (in the case where the GroupList field of the received GetGroupMembership command was not empty).

Zigbee: If the total number of groups will cause the maximum payload length of a frame to be exceeded, then the GroupList field shall contain only as many groups as will fit.

Included Modules

Defined in:

matter/cluster/definitions/groups.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_list : Array(DataType::GroupId) #

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

[View source]