class

Matter::Cluster::DiagnosticLogsCluster

Inherits Matter::Cluster::Base < Reference < Object

Diagnostic Logs Cluster (0x0032)

Provides access to device logs for debugging and diagnostics. Required by Apple Home for accessory compatibility.

Matter Spec: Core 11.10

Constants

ACCEPTED_COMMAND_LIST = 65529_u32
ATTRIBUTE_LIST = 65531_u32
CLUSTER_ID = 50_u32
CLUSTER_REVISION = 65533_u32

Global attributes

CMD_RETRIEVE_LOGS_REQUEST = 0_u32

Command IDs

CMD_RETRIEVE_LOGS_RESPONSE = 1_u32

Response IDs

FEATURE_MAP = 65532_u32
GENERATED_COMMAND_LIST = 65528_u32

Constructors

new(endpoint_id : DataType::EndpointNumber, max_log_entries : Int32 = 100)
Source

Class methods

cluster_id

Diagnostic Logs Cluster (0x0032)

Provides access to device logs for debugging and diagnostics. Required by Apple Home for accessory compatibility.

Matter Spec: Core 11.10

Source

Instance methods

attributes

Get all attribute metadata

Source
clear_logs

Public API: Clear logs

Source
commands

Get all command metadata

Source
log(message : String)

Public API: Add a log entry

Source
name

Get cluster name

Source
read_attribute(attribute_id : UInt32, fabric_index : UInt8 | Nil = nil) : InteractionModel::Status | Bytes

Read an attribute value The fabric_index parameter is optional and used for fabric-scoped attributes like CurrentFabricIndex in OperationalCredentialsCluster

Source

Nested types