Matter::Controller::Clusters::AccessControl
Class methods
encode_acl_tlv(entries : Array(Entry)) : Bytes
Sourceparse_acl_json(json : String) : Array(Entry)
Parses the JSON format used by CHIP's chip-tool accesscontrol write acl ...
and returns entries suitable for encoding into a TLV list for WriteRequest.
Supported keys:
- privilege (UInt8)
- authMode (UInt8)
- subjects (array of UInt64)
- targets (null or array of {endpoint, cluster, deviceType})
- fabricIndex (ignored; server derives from session)
Nested types
- Matter::Controller::Clusters::AccessControl::AuthMode
- Matter::Controller::Clusters::AccessControl::Entry
- Matter::Controller::Clusters::AccessControl::EntryJson
- Matter::Controller::Clusters::AccessControl::Privilege
- Matter::Controller::Clusters::AccessControl::Target
- Matter::Controller::Clusters::AccessControl::TargetJson