struct Matter::Cluster::GroupKeyManagementCluster::GroupInfoMapStruct

Overview

Group Info Map entry (TLV-serializable for attribute encoding) Represents a group with its endpoints and name Matter Core Spec ยง11.2.6.5

Included Modules

Defined in:

matter/cluster/group_key_management_cluster.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(group_id : UInt16, endpoints : Array(UInt16) = [] of UInt16, group_name : String | Nil = nil, fabric_index : UInt8 = 0) #

[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 endpoints : Array(UInt16) #

[View source]
def endpoints=(endpoints : Array(UInt16)) #

[View source]
def fabric_index : UInt8 #

[View source]
def fabric_index=(fabric_index : UInt8) #

[View source]
def group_id : UInt16 #

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

[View source]
def group_name : String | Nil #

[View source]
def group_name=(group_name : String | 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]