Skip to content

Commit d0cd986

Browse files
committed
Generated using ./scripts/tools/zap_regen_all.py
1 parent e3a91ab commit d0cd986

File tree

55 files changed

+8140
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+8140
-0
lines changed

docs/ids_and_codes/zap_clusters.md

+1
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ Generally regenerate using one of:
139139
| 1872 | 0x750 | EcosystemInformation |
140140
| 1873 | 0x751 | CommissionerControl |
141141
| 2049 | 0x801 | TlsCertificateManagement |
142+
| 2050 | 0x802 | TlsClientManagement |
142143
| 4294048773 | 0xFFF1FC05 | UnitTesting |
143144
| 4294048774 | 0xFFF1FC06 | FaultInjection |
144145
| 4294048800 | 0xFFF1FC20 | SampleMei |

src/controller/data_model/controller-clusters.matter

+69
Original file line numberDiff line numberDiff line change
@@ -10556,6 +10556,75 @@ provisional cluster TlsCertificateManagement = 2049 {
1055610556
command access(invoke: administer) RemoveClientCertificate(RemoveClientCertificateRequest): DefaultSuccess = 15;
1055710557
}
1055810558

10559+
/** This Cluster is used to provision TLS Endpoints with enough information to facilitate subsequent connection. */
10560+
provisional cluster TlsClientManagement = 2050 {
10561+
revision 1;
10562+
10563+
enum TLSEndpointStatusEnum : enum8 {
10564+
kProvisioned = 0;
10565+
kInUse = 1;
10566+
}
10567+
10568+
struct TLSEndpointStruct {
10569+
int16u endpointID = 0;
10570+
octet_string hostname = 1;
10571+
int16u port = 2;
10572+
int16u caid = 3;
10573+
optional nullable int16u ccdid = 4;
10574+
TLSEndpointStatusEnum status = 5;
10575+
}
10576+
10577+
info event EndpointProvisioned = 0 {
10578+
int16u endpointID = 0;
10579+
}
10580+
10581+
info event EndpointRemoved = 1 {
10582+
int16u endpointID = 0;
10583+
}
10584+
10585+
readonly attribute int8u maxProvisioned = 0;
10586+
readonly attribute int8u currentProvisioned = 1;
10587+
readonly attribute int8u maxInUse = 2;
10588+
readonly attribute int8u currentInUse = 3;
10589+
readonly attribute command_id generatedCommandList[] = 65528;
10590+
readonly attribute command_id acceptedCommandList[] = 65529;
10591+
readonly attribute event_id eventList[] = 65530;
10592+
readonly attribute attrib_id attributeList[] = 65531;
10593+
readonly attribute bitmap32 featureMap = 65532;
10594+
readonly attribute int16u clusterRevision = 65533;
10595+
10596+
request struct ProvisionEndpointRequest {
10597+
octet_string hostname = 0;
10598+
int16u port = 1;
10599+
int16u caid = 2;
10600+
optional nullable int16u ccdid = 3;
10601+
optional nullable int16u endpointID = 4;
10602+
}
10603+
10604+
response struct ProvisionEndpointResponse = 1 {
10605+
int16u endpointID = 0;
10606+
}
10607+
10608+
request struct FindEndpointRequest {
10609+
optional nullable int16u endpointID = 0;
10610+
}
10611+
10612+
response struct FindEndpointResponse = 3 {
10613+
TLSEndpointStruct endpoints[] = 0;
10614+
}
10615+
10616+
request struct RemoveEndpointRequest {
10617+
int16u endpointID = 0;
10618+
}
10619+
10620+
/** This command SHALL provision a TLS Endpoint for the provided HostName / Port combination. */
10621+
command access(invoke: administer) ProvisionEndpoint(ProvisionEndpointRequest): ProvisionEndpointResponse = 0;
10622+
/** This command SHALL return the TLS Endpoint details for the passed in EndpointID. */
10623+
command FindEndpoint(FindEndpointRequest): FindEndpointResponse = 2;
10624+
/** This command SHALL be generated to request the Node terminates the TLS Connection. */
10625+
command access(invoke: administer) RemoveEndpoint(RemoveEndpointRequest): DefaultSuccess = 4;
10626+
}
10627+
1055910628
/** The Test Cluster is meant to validate the generated code */
1056010629
internal cluster UnitTesting = 4294048773 {
1056110630
revision 1; // NOTE: Default/not specifically set

0 commit comments

Comments
 (0)