struct
Matter::Cluster::GroupKeyManagementCluster::GroupInfoMapStruct
- Matter::Cluster::GroupKeyManagementCluster::GroupInfoMapStruct
- Struct
- Value
- Object
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
- TLV::Serializable
Defined in:
matter/cluster/group_key_management_cluster.crConstructors
- .new(any : TLV::Any)
- .new(group_id : UInt16, endpoints : Array(UInt16) = [] of UInt16, group_name : String | Nil = nil, fabric_index : UInt8 = 0)
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
- #endpoints : Array(UInt16)
- #endpoints=(endpoints : Array(UInt16))
- #fabric_index : UInt8
- #fabric_index=(fabric_index : UInt8)
- #group_id : UInt16
- #group_id=(group_id : UInt16)
- #group_name : String | Nil
- #group_name=(group_name : String | Nil)
- #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
def self.new(group_id : UInt16, endpoints : Array(UInt16) = [] of UInt16, group_name : String | Nil = nil, fabric_index : UInt8 = 0)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#