From b14be0766d8c4bc64c3509d9d514098954c0a10c Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Wed, 11 Oct 2023 11:02:59 -0400 Subject: [PATCH] Zap regen --- .../air-quality-sensor-app.matter | 186 ++-- .../all-clusters-app.matter | 706 ++++++------- .../all-clusters-minimal-app.matter | 382 +++---- .../bridge-common/bridge-app.matter | 192 ++-- ...p_rootnode_dimmablelight_bCwGYSDpoe.matter | 186 ++-- ...umiditysensor_thermostat_56de3d5f45.matter | 146 +-- ...ootnode_airqualitysensor_e63187f6c9.matter | 186 ++-- ...ootnode_basicvideoplayer_0ff86e943b.matter | 206 ++-- ...de_colortemperaturelight_hbUnzYVeyn.matter | 374 +++---- .../rootnode_contactsensor_lFAGG1bfRO.matter | 200 ++-- .../rootnode_dimmablelight_bCwGYSDpoe.matter | 220 ++-- .../rootnode_dishwasher_cc105034fe.matter | 134 +-- .../rootnode_doorlock_aNKYAreMXE.matter | 250 ++--- ...tnode_extendedcolorlight_8lcaaYJVAa.matter | 376 +++---- .../devices/rootnode_fan_7N2TobIlOX.matter | 204 ++-- .../rootnode_flowsensor_1zVxHedlaV.matter | 200 ++-- .../rootnode_genericswitch_9866e35d0b.matter | 144 +-- ...tnode_heatingcoolingunit_ncdGai1E5a.matter | 230 ++--- .../rootnode_humiditysensor_Xyj4gda6Hb.matter | 200 ++-- .../rootnode_laundrywasher_fb10d238c8.matter | 134 +-- .../rootnode_lightsensor_lZQycTFcJK.matter | 200 ++-- ...rootnode_occupancysensor_iHyVgifZuo.matter | 200 ++-- .../rootnode_onofflight_bbs1b7IaOV.matter | 220 ++-- .../rootnode_onofflight_samplemei.matter | 226 ++--- ...ootnode_onofflightswitch_FsPlMr090Q.matter | 200 ++-- ...rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 200 ++-- .../rootnode_pressuresensor_s0qC9wLH4k.matter | 200 ++-- .../devices/rootnode_pump_5f904818cc.matter | 126 +-- .../devices/rootnode_pump_a811bb33a0.matter | 126 +-- ...eraturecontrolledcabinet_ffdb696680.matter | 132 +-- ...ode_roboticvacuumcleaner_1807ff0c49.matter | 188 ++-- ...tnode_roomairconditioner_9cf3607804.matter | 146 +-- .../rootnode_smokecoalarm_686fe0dcb8.matter | 140 +-- .../rootnode_speaker_RpzeXdimqA.matter | 206 ++-- ...otnode_temperaturesensor_Qy1zkNW7c3.matter | 200 ++-- .../rootnode_thermostat_bm3fb8dhYi.matter | 206 ++-- .../rootnode_windowcovering_RLCxaGi9Yx.matter | 220 ++-- .../contact-sensor-app.matter | 204 ++-- .../dishwasher-common/dishwasher-app.matter | 148 +-- .../light-switch-app.matter | 444 ++++---- .../data_model/lighting-app-ethernet.matter | 376 +++---- .../data_model/lighting-app-thread.matter | 376 +++---- .../data_model/lighting-app-wifi.matter | 380 +++---- .../lighting-common/lighting-app.matter | 442 ++++---- .../nxp/zap/lighting-on-off.matter | 208 ++-- examples/lighting-app/qpg/zap/light.matter | 368 +++---- .../data_model/lighting-thread-app.matter | 434 ++++---- .../data_model/lighting-wifi-app.matter | 424 ++++---- examples/lock-app/lock-common/lock-app.matter | 298 +++--- examples/lock-app/nxp/zap/lock-app.matter | 168 ++-- examples/lock-app/qpg/zap/lock.matter | 242 ++--- .../log-source-common/log-source-app.matter | 90 +- .../ota-provider-app.matter | 164 +-- .../ota-requestor-app.matter | 192 ++-- .../placeholder/linux/apps/app1/config.matter | 942 ++++++++--------- .../placeholder/linux/apps/app2/config.matter | 940 ++++++++--------- examples/pump-app/pump-common/pump-app.matter | 190 ++-- .../silabs/data_model/pump-thread-app.matter | 190 ++-- .../silabs/data_model/pump-wifi-app.matter | 190 ++-- .../pump-controller-app.matter | 170 ++-- .../refrigerator-app.matter | 130 +-- .../resource-monitoring-app.matter | 226 ++--- examples/rvc-app/rvc-common/rvc-app.matter | 142 +-- .../smoke-co-alarm-app.matter | 210 ++-- .../temperature-measurement.matter | 132 +-- .../thermostat-common/thermostat.matter | 208 ++-- examples/tv-app/tv-common/tv-app.matter | 342 +++---- .../tv-casting-common/tv-casting-app.matter | 238 ++--- .../virtual-device-app.matter | 362 +++---- examples/window-app/common/window-app.matter | 222 ++-- .../data_model/controller-clusters.matter | 948 +++++++++--------- .../zap-generated/attributes/Accessors.h | 16 +- .../zap-generated/test/Commands.h | 56 +- 73 files changed, 9402 insertions(+), 9402 deletions(-) diff --git a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter index b32bc2f642afd5..0bd1c9a1406ec0 100644 --- a/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter +++ b/examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -60,9 +60,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -117,7 +117,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -125,7 +125,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -192,7 +192,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -264,39 +264,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -345,19 +345,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -375,7 +375,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -416,29 +416,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -528,54 +528,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -684,8 +684,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -706,9 +706,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -927,12 +927,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1026,15 +1026,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1081,7 +1081,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1091,7 +1091,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1099,25 +1099,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1125,27 +1125,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1209,11 +1209,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1221,7 +1221,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter index c3bfa2be8b54c2..9434e7a9c94d24 100644 --- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter +++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -156,20 +156,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -178,13 +178,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,44 +193,44 @@ server cluster Scenes = 5 { request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -241,35 +241,35 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } response struct EnhancedAddSceneResponse = 64 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct EnhancedViewSceneResponse = 65 { status status = 0; - group_Id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + group_id groupID = 1; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct CopySceneResponse = 66 { status status = 0; - group_Id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + group_id groupIdentifierFrom = 1; + int8u sceneIdentifierFrom = 2; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -473,23 +473,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -500,23 +500,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -568,9 +568,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute SemanticTagStruct tagList[] = 4; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -645,7 +645,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -653,7 +653,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -734,14 +734,14 @@ server cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -805,7 +805,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -878,39 +878,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -959,19 +959,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -989,7 +989,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -1002,7 +1002,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1077,7 +1077,7 @@ server cluster UnitLocalization = 45 { /** This cluster is used to describe the configuration and capabilities of a Device's power system. */ server cluster PowerSourceConfiguration = 46 { - readonly attribute INT8U sources[] = 0; + readonly attribute int8u sources[] = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1352,29 +1352,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1464,54 +1464,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1553,7 +1553,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1657,8 +1657,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1679,9 +1679,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1900,12 +1900,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -2052,8 +2052,8 @@ server cluster TimeSynchronization = 56 { } info event TimeZoneStatus = 2 { - INT32S offset = 0; - optional CHAR_STRING name = 1; + int32s offset = 0; + optional char_string name = 1; } info event TimeFailure = 3 { @@ -2100,7 +2100,7 @@ server cluster TimeSynchronization = 56 { } request struct SetDefaultNTPRequest { - nullable CHAR_STRING<128> defaultNTP = 0; + nullable char_string<128> defaultNTP = 0; } response struct SetTimeZoneResponse = 3 { @@ -2127,33 +2127,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2192,15 +2192,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -2247,7 +2247,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2257,7 +2257,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2265,25 +2265,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2291,27 +2291,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -2375,11 +2375,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -2387,7 +2387,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2471,18 +2471,18 @@ server cluster IcdManagement = 70 { request struct RegisterClientRequest { node_id checkInNodeID = 0; - INT64U monitoredSubject = 1; - OCTET_STRING<16> key = 2; - optional OCTET_STRING<16> verificationKey = 3; + int64u monitoredSubject = 1; + octet_string<16> key = 2; + optional octet_string<16> verificationKey = 3; } request struct UnregisterClientRequest { node_id checkInNodeID = 0; - optional OCTET_STRING<16> verificationKey = 1; + optional octet_string<16> verificationKey = 1; } response struct RegisterClientResponse = 1 { - INT32U ICDCounter = 0; + int32u ICDCounter = 0; } fabric command access(invoke: manage) RegisterClient(RegisterClientRequest): RegisterClientResponse = 0; @@ -2522,7 +2522,7 @@ server cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0; @@ -2564,12 +2564,12 @@ server cluster LaundryWasherMode = 81 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -2609,12 +2609,12 @@ server cluster RefrigeratorAndTemperatureControlledCabinetMode = 82 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -2634,7 +2634,7 @@ server cluster LaundryWasherControls = 83 { kRinse = 0x2; } - readonly attribute CHAR_STRING spinSpeeds[] = 0; + readonly attribute char_string spinSpeeds[] = 0; attribute nullable int8u spinSpeedCurrent = 1; attribute NumberOfRinsesEnum numberOfRinses = 2; readonly attribute NumberOfRinsesEnum supportedRinses[] = 3; @@ -2691,12 +2691,12 @@ server cluster RvcRunMode = 84 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -2741,12 +2741,12 @@ server cluster RvcCleanMode = 85 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -2771,7 +2771,7 @@ server cluster TemperatureControl = 86 { request struct SetTemperatureRequest { optional temperature targetTemperature = 0; - optional INT8U targetTemperatureLevel = 1; + optional int8u targetTemperatureLevel = 1; } command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0; @@ -2836,12 +2836,12 @@ server cluster DishwasherMode = 89 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -3061,12 +3061,12 @@ server cluster OperationalState = 96 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; @@ -3124,12 +3124,12 @@ server cluster RvcOperationalState = 97 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; @@ -3599,9 +3599,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3609,9 +3609,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3619,10 +3619,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3664,73 +3664,73 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -3744,34 +3744,34 @@ server cluster DoorLock = 257 { } request struct UnboltDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; @@ -3889,14 +3889,14 @@ server cluster WindowCovering = 258 { readonly attribute int16u numberOfActuationsLift = 5; readonly attribute int16u numberOfActuationsTilt = 6; readonly attribute ConfigStatus configStatus = 7; - readonly attribute nullable Percent currentPositionLiftPercentage = 8; - readonly attribute nullable Percent currentPositionTiltPercentage = 9; + readonly attribute nullable percent currentPositionLiftPercentage = 8; + readonly attribute nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute int16u installedOpenLimitLift = 16; readonly attribute int16u installedClosedLimitLift = 17; readonly attribute int16u installedOpenLimitTilt = 18; @@ -3911,19 +3911,19 @@ server cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } command UpOrOpen(): DefaultSuccess = 0; @@ -3960,7 +3960,7 @@ server cluster BarrierControl = 259 { readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { - INT8U percentOpen = 0; + int8u percentOpen = 0; } command BarrierControlGoToPercent(BarrierControlGoToPercentRequest): DefaultSuccess = 0; @@ -4179,7 +4179,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; @@ -4238,8 +4238,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute int8u speedMax = 4; attribute nullable int8u speedSetting = 5; readonly attribute int8u speedCurrent = 6; @@ -4408,151 +4408,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; @@ -5343,13 +5343,13 @@ server cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command NavigateTarget(NavigateTargetRequest): NavigateTargetResponse = 0; @@ -5435,12 +5435,12 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -5658,7 +5658,7 @@ server cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute CHAR_STRING acceptHeader[] = 0; + readonly attribute char_string acceptHeader[] = 0; attribute bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -5721,7 +5721,7 @@ server cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute INT16U catalogList[] = 0; + readonly attribute int16u catalogList[] = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -5896,9 +5896,9 @@ server cluster UnitTesting = 4294048773 { } info event TestEvent = 1 { - INT8U arg1 = 1; + int8u arg1 = 1; SimpleEnum arg2 = 2; - BOOLEAN arg3 = 3; + boolean arg3 = 3; SimpleStruct arg4 = 4; SimpleStruct arg5[] = 5; SimpleEnum arg6[] = 6; @@ -5934,8 +5934,8 @@ server cluster UnitTesting = 4294048773 { attribute single floatSingle = 23; attribute double floatDouble = 24; attribute octet_string<10> octetString = 25; - attribute INT8U listInt8u[] = 26; - attribute OCTET_STRING listOctetString[] = 27; + attribute int8u listInt8u[] = 26; + attribute octet_string listOctetString[] = 27; attribute TestListStructOctet listStructOctetString[] = 28; attribute long_octet_string<1000> longOctetString = 29; attribute char_string<10> charString = 30; @@ -5997,8 +5997,8 @@ server cluster UnitTesting = 4294048773 { readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { - INT8U arg1 = 0; - INT8U arg2 = 1; + int8u arg1 = 0; + int8u arg2 = 1; } request struct TestStructArgumentRequestRequest { @@ -6014,7 +6014,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestListInt8UArgumentRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestNestedStructListArgumentRequestRequest { @@ -6026,7 +6026,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestListInt8UReverseRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestEnumsRequestRequest { @@ -6035,7 +6035,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestNullableOptionalRequestRequest { - optional nullable INT8U arg1 = 0; + optional nullable int8u arg1 = 0; } request struct SimpleStructEchoRequestRequest { @@ -6043,29 +6043,29 @@ server cluster UnitTesting = 4294048773 { } request struct TestSimpleOptionalArgumentRequestRequest { - optional BOOLEAN arg1 = 0; + optional boolean arg1 = 0; } request struct TestEmitTestEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; SimpleEnum arg2 = 1; - BOOLEAN arg3 = 2; + boolean arg3 = 2; } request struct TestEmitTestFabricScopedEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; } response struct TestSpecificResponse = 0 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestAddArgumentsResponse = 1 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestListInt8UReverseResponse = 4 { - INT8U arg1[] = 0; + int8u arg1[] = 0; } response struct TestEnumsResponse = 5 { @@ -6074,10 +6074,10 @@ server cluster UnitTesting = 4294048773 { } response struct TestNullableOptionalResponse = 6 { - BOOLEAN wasPresent = 0; - optional BOOLEAN wasNull = 1; - optional INT8U value = 2; - optional nullable INT8U originalValue = 3; + boolean wasPresent = 0; + optional boolean wasNull = 1; + optional int8u value = 2; + optional nullable int8u originalValue = 3; } response struct SimpleStructResponse = 9 { @@ -6085,11 +6085,11 @@ server cluster UnitTesting = 4294048773 { } response struct TestEmitTestEventResponse = 10 { - INT64U value = 0; + int64u value = 0; } response struct TestEmitTestFabricScopedEventResponse = 11 { - INT64U value = 0; + int64u value = 0; } command Test(): DefaultSuccess = 0; @@ -6131,16 +6131,16 @@ server cluster FaultInjection = 4294048774 { request struct FailAtFaultRequest { FaultType type = 0; - INT32U id = 1; - INT32U numCallsToSkip = 2; - INT32U numCallsToFail = 3; - BOOLEAN takeMutex = 4; + int32u id = 1; + int32u numCallsToSkip = 2; + int32u numCallsToFail = 3; + boolean takeMutex = 4; } request struct FailRandomlyAtFaultRequest { FaultType type = 0; - INT32U id = 1; - INT8U percentage = 2; + int32u id = 1; + int8u percentage = 2; } command access(invoke: manage) FailAtFault(FailAtFaultRequest): DefaultSuccess = 0; diff --git a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter index 06a32a7e74ca87..f6a9aa71f25591 100644 --- a/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter +++ b/examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -156,20 +156,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -178,13 +178,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -194,22 +194,22 @@ server cluster Scenes = 5 { response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -220,14 +220,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -338,23 +338,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -365,23 +365,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -420,9 +420,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -496,7 +496,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -504,7 +504,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -585,14 +585,14 @@ server cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -655,7 +655,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -720,39 +720,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -801,19 +801,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -831,7 +831,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -844,7 +844,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1177,29 +1177,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1289,54 +1289,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1378,7 +1378,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1476,8 +1476,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1498,9 +1498,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute command_id generatedCommandList[] = 65528; @@ -1665,12 +1665,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1742,33 +1742,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -1806,11 +1806,11 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1856,7 +1856,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1866,7 +1866,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1874,25 +1874,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1900,27 +1900,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1984,11 +1984,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1996,7 +1996,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2082,7 +2082,7 @@ server cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0; @@ -2107,7 +2107,7 @@ server cluster TemperatureControl = 86 { request struct SetTemperatureRequest { optional temperature targetTemperature = 0; - optional INT8U targetTemperatureLevel = 1; + optional int8u targetTemperatureLevel = 1; } command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0; @@ -2466,9 +2466,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -2476,9 +2476,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -2486,10 +2486,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -2506,11 +2506,11 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; @@ -2812,7 +2812,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; @@ -2871,8 +2871,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -3155,12 +3155,12 @@ server cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } command ChangeChannelByNumber(ChangeChannelByNumberRequest): DefaultSuccess = 2; @@ -3189,13 +3189,13 @@ server cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command NavigateTarget(NavigateTargetRequest): NavigateTargetResponse = 0; @@ -3239,7 +3239,7 @@ server cluster MediaPlayback = 1286 { response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command Play(): PlaybackResponse = 0; @@ -3285,7 +3285,7 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -3541,7 +3541,7 @@ server cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } command SelectOutput(SelectOutputRequest): DefaultSuccess = 0; @@ -3578,7 +3578,7 @@ server cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -3591,7 +3591,7 @@ server cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } command LaunchApp(LaunchAppRequest): LauncherResponse = 0; @@ -3636,16 +3636,16 @@ server cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } timed command GetSetupPIN(GetSetupPINRequest): GetSetupPINResponse = 0; @@ -3759,9 +3759,9 @@ server cluster UnitTesting = 4294048773 { } info event TestEvent = 1 { - INT8U arg1 = 1; + int8u arg1 = 1; SimpleEnum arg2 = 2; - BOOLEAN arg3 = 3; + boolean arg3 = 3; SimpleStruct arg4 = 4; SimpleStruct arg5[] = 5; SimpleEnum arg6[] = 6; @@ -3797,8 +3797,8 @@ server cluster UnitTesting = 4294048773 { attribute single floatSingle = 23; attribute double floatDouble = 24; attribute octet_string<10> octetString = 25; - attribute INT8U listInt8u[] = 26; - attribute OCTET_STRING listOctetString[] = 27; + attribute int8u listInt8u[] = 26; + attribute octet_string listOctetString[] = 27; attribute TestListStructOctet listStructOctetString[] = 28; attribute long_octet_string<1000> longOctetString = 29; attribute char_string<10> charString = 30; @@ -3859,8 +3859,8 @@ server cluster UnitTesting = 4294048773 { readonly attribute int16u clusterRevision = 65533; request struct TestAddArgumentsRequest { - INT8U arg1 = 0; - INT8U arg2 = 1; + int8u arg1 = 0; + int8u arg2 = 1; } request struct TestStructArgumentRequestRequest { @@ -3876,7 +3876,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestListInt8UArgumentRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestNestedStructListArgumentRequestRequest { @@ -3888,7 +3888,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestListInt8UReverseRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestEnumsRequestRequest { @@ -3897,7 +3897,7 @@ server cluster UnitTesting = 4294048773 { } request struct TestNullableOptionalRequestRequest { - optional nullable INT8U arg1 = 0; + optional nullable int8u arg1 = 0; } request struct SimpleStructEchoRequestRequest { @@ -3905,29 +3905,29 @@ server cluster UnitTesting = 4294048773 { } request struct TestSimpleOptionalArgumentRequestRequest { - optional BOOLEAN arg1 = 0; + optional boolean arg1 = 0; } request struct TestEmitTestEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; SimpleEnum arg2 = 1; - BOOLEAN arg3 = 2; + boolean arg3 = 2; } request struct TestEmitTestFabricScopedEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; } response struct TestSpecificResponse = 0 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestAddArgumentsResponse = 1 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestListInt8UReverseResponse = 4 { - INT8U arg1[] = 0; + int8u arg1[] = 0; } response struct TestEnumsResponse = 5 { @@ -3936,10 +3936,10 @@ server cluster UnitTesting = 4294048773 { } response struct TestNullableOptionalResponse = 6 { - BOOLEAN wasPresent = 0; - optional BOOLEAN wasNull = 1; - optional INT8U value = 2; - optional nullable INT8U originalValue = 3; + boolean wasPresent = 0; + optional boolean wasNull = 1; + optional int8u value = 2; + optional nullable int8u originalValue = 3; } response struct SimpleStructResponse = 9 { @@ -3947,11 +3947,11 @@ server cluster UnitTesting = 4294048773 { } response struct TestEmitTestEventResponse = 10 { - INT64U value = 0; + int64u value = 0; } response struct TestEmitTestFabricScopedEventResponse = 11 { - INT64U value = 0; + int64u value = 0; } command Test(): DefaultSuccess = 0; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 71b7791d3c4a01..6e899090956609 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -137,23 +137,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -164,23 +164,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -219,9 +219,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -295,7 +295,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -303,7 +303,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -368,7 +368,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -376,7 +376,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -457,14 +457,14 @@ server cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -480,8 +480,8 @@ server cluster Actions = 37 { readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } command InstantAction(InstantActionRequest): DefaultSuccess = 0; @@ -535,7 +535,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -582,7 +582,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -689,29 +689,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -801,54 +801,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -890,7 +890,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -994,8 +994,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1016,9 +1016,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1233,12 +1233,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1318,33 +1318,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -1383,15 +1383,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1438,7 +1438,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1448,7 +1448,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1456,25 +1456,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1482,27 +1482,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1566,11 +1566,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1578,7 +1578,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index f560c771f59393..53fc2870a27617 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -197,23 +197,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -279,9 +279,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -355,7 +355,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -502,39 +502,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -583,19 +583,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -613,7 +613,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -626,7 +626,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -709,29 +709,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -770,7 +770,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -874,8 +874,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -896,9 +896,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1117,12 +1117,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1216,15 +1216,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1271,7 +1271,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1281,7 +1281,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1289,25 +1289,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1315,27 +1315,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1399,11 +1399,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1411,7 +1411,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter index 6635935a84d117..5c884eb317a250 100644 --- a/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter +++ b/examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -342,29 +342,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -454,54 +454,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -543,7 +543,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -647,8 +647,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -679,15 +679,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -734,7 +734,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -744,7 +744,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -752,25 +752,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -778,27 +778,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -862,11 +862,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -874,7 +874,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1081,7 +1081,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; @@ -1140,8 +1140,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute int8u speedMax = 4; attribute nullable int8u speedSetting = 5; readonly attribute int8u speedCurrent = 6; diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter index ae21196a30953f..8dd4c82074514f 100644 --- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter +++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -60,9 +60,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -117,7 +117,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -125,7 +125,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -192,7 +192,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -264,39 +264,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -345,19 +345,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -375,7 +375,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -388,7 +388,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -471,29 +471,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -583,54 +583,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -672,7 +672,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -776,8 +776,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -798,9 +798,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -842,15 +842,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -897,7 +897,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -907,7 +907,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -915,25 +915,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -941,27 +941,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1025,11 +1025,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1037,7 +1037,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter index 76afa694bb33fb..e14eb327192748 100644 --- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter +++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter @@ -65,9 +65,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -122,7 +122,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -130,7 +130,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -197,7 +197,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -269,39 +269,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -350,19 +350,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -380,7 +380,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -393,7 +393,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -476,29 +476,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -588,54 +588,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -677,7 +677,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -781,8 +781,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -803,9 +803,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -847,15 +847,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -902,7 +902,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -912,7 +912,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -920,25 +920,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -946,27 +946,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1030,11 +1030,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1042,7 +1042,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1121,21 +1121,21 @@ server cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0; @@ -1165,13 +1165,13 @@ server cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command NavigateTarget(NavigateTargetRequest): NavigateTargetResponse = 0; @@ -1215,7 +1215,7 @@ server cluster MediaPlayback = 1286 { response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command Play(): PlaybackResponse = 0; @@ -1261,7 +1261,7 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -1432,7 +1432,7 @@ server cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } command SelectOutput(SelectOutputRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter index 1bc3ed413ecda7..e1fb5bf492f4b0 100644 --- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter +++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -215,23 +215,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -242,23 +242,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -297,9 +297,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -354,7 +354,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -362,7 +362,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -429,7 +429,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -501,39 +501,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -582,19 +582,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -612,7 +612,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -653,29 +653,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -765,54 +765,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -854,7 +854,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -958,8 +958,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -980,9 +980,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1024,15 +1024,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1079,7 +1079,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1089,7 +1089,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1097,25 +1097,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1123,27 +1123,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1207,11 +1207,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1219,7 +1219,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1337,151 +1337,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index 25402566d5e360..7e81274db06b84 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -129,9 +129,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -205,7 +205,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -213,7 +213,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -280,7 +280,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -352,39 +352,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -433,19 +433,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -476,7 +476,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -559,29 +559,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -671,54 +671,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -760,7 +760,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -864,8 +864,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -886,9 +886,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -930,15 +930,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -985,7 +985,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -995,7 +995,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1003,25 +1003,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1029,27 +1029,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1113,11 +1113,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1125,7 +1125,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 222682b18b083c..aa3535408996bf 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -197,23 +197,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -279,9 +279,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -355,7 +355,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -502,39 +502,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -583,19 +583,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -613,7 +613,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -626,7 +626,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -709,29 +709,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -821,54 +821,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -910,7 +910,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1014,8 +1014,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1036,9 +1036,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1080,15 +1080,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1135,7 +1135,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1145,7 +1145,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1153,25 +1153,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1179,27 +1179,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1263,11 +1263,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1275,7 +1275,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter index b752b02d5769c6..70df311bebac60 100644 --- a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter +++ b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -198,7 +198,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -351,29 +351,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -463,54 +463,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -619,8 +619,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -665,12 +665,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -725,15 +725,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -780,7 +780,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -790,7 +790,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -798,25 +798,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -824,27 +824,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -908,11 +908,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -920,7 +920,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -961,12 +961,12 @@ server cluster OperationalState = 96 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index f48f36451129eb..122ac7ca3c97f1 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -129,9 +129,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -205,7 +205,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -213,7 +213,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -280,7 +280,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -352,39 +352,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -433,19 +433,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -476,7 +476,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -559,29 +559,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -671,54 +671,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -760,7 +760,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -864,8 +864,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -886,9 +886,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -930,15 +930,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -985,7 +985,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -995,7 +995,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1003,25 +1003,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1029,27 +1029,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1113,11 +1113,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1125,7 +1125,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1504,9 +1504,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -1514,9 +1514,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -1524,10 +1524,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -1553,41 +1553,41 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -1601,30 +1601,30 @@ server cluster DoorLock = 257 { } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index a97091df8dc683..7b3341866c307d 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -197,23 +197,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -279,9 +279,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -355,7 +355,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -502,39 +502,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -583,19 +583,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -613,7 +613,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -626,7 +626,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -709,29 +709,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -821,54 +821,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -910,7 +910,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1014,8 +1014,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1036,9 +1036,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1080,15 +1080,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1135,7 +1135,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1145,7 +1145,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1153,25 +1153,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1179,27 +1179,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1263,11 +1263,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1275,7 +1275,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1401,151 +1401,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index 2749f6b4423392..5d489d631c9d61 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -546,29 +546,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -658,54 +658,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -747,7 +747,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -851,8 +851,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -873,9 +873,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -917,15 +917,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -972,7 +972,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -982,7 +982,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -990,25 +990,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1016,27 +1016,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1100,11 +1100,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1112,7 +1112,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1191,8 +1191,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute int8u speedMax = 4; attribute nullable int8u speedSetting = 5; readonly attribute int8u speedCurrent = 6; diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 3425f449179ad8..2198f573c3fb32 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter index 509b894a5adf21..99f99d6e9bbb6c 100644 --- a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter +++ b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -198,7 +198,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -273,29 +273,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -385,54 +385,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -474,7 +474,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -578,8 +578,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -598,33 +598,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -662,15 +662,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -717,7 +717,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -727,7 +727,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -735,25 +735,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -761,27 +761,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -845,11 +845,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -857,7 +857,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index b5491547cf79aa..bd19f72f6cb6e6 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -191,23 +191,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -218,23 +218,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -273,9 +273,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -349,7 +349,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -357,7 +357,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -424,7 +424,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -496,39 +496,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -577,19 +577,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -607,7 +607,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -620,7 +620,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -703,29 +703,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -815,54 +815,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -904,7 +904,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1008,8 +1008,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1030,9 +1030,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1074,15 +1074,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1129,7 +1129,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1139,7 +1139,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1147,25 +1147,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1173,27 +1173,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1257,11 +1257,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1269,7 +1269,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1420,18 +1420,18 @@ client cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } response struct GetWeeklyScheduleResponse = 0 { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; } request struct SetWeeklyScheduleRequest { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; @@ -1505,8 +1505,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute int8u speedMax = 4; attribute nullable int8u speedSetting = 5; readonly attribute int8u speedCurrent = 6; diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index 1a59a41d817ff4..b49b69a3a88f9b 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter index 8a66414808175d..6f636b249375a9 100644 --- a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter +++ b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -198,7 +198,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -351,29 +351,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -463,54 +463,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -619,8 +619,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -665,12 +665,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -725,15 +725,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -780,7 +780,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -790,7 +790,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -798,25 +798,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -824,27 +824,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -908,11 +908,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -920,7 +920,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -961,12 +961,12 @@ server cluster OperationalState = 96 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute OperationalStateStruct operationalStateList[] = 3; readonly attribute OperationalStateEnum operationalState = 4; diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index ac2cd94a298b9b..8d3fd474a98983 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index b2204465318bf0..f0019d3567f21e 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 0613fc37f755ad..5e3843da7ff21e 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -197,23 +197,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -279,9 +279,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -355,7 +355,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -502,39 +502,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -583,19 +583,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -613,7 +613,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -626,7 +626,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -709,29 +709,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -821,54 +821,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -910,7 +910,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1014,8 +1014,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1036,9 +1036,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1080,15 +1080,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1135,7 +1135,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1145,7 +1145,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1153,25 +1153,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1179,27 +1179,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1263,11 +1263,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1275,7 +1275,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_onofflight_samplemei.matter b/examples/chef/devices/rootnode_onofflight_samplemei.matter index 420e328187f2a8..6cf20d13fb1ce7 100644 --- a/examples/chef/devices/rootnode_onofflight_samplemei.matter +++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -197,23 +197,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -279,9 +279,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -355,7 +355,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -502,39 +502,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -583,19 +583,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -613,7 +613,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -626,7 +626,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -709,29 +709,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -821,54 +821,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -910,7 +910,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1014,8 +1014,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1036,9 +1036,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1080,15 +1080,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1135,7 +1135,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1145,7 +1145,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1153,25 +1153,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1179,27 +1179,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1263,11 +1263,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1275,7 +1275,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1312,12 +1312,12 @@ server cluster SampleMei = 4294048800 { readonly attribute int16u clusterRevision = 65533; request struct AddArgumentsRequest { - INT8U arg1 = 0; - INT8U arg2 = 1; + int8u arg1 = 0; + int8u arg2 = 1; } response struct AddArgumentsResponse = 1 { - INT8U returnValue = 0; + int8u returnValue = 0; } command Ping(): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index df9db80c1080c7..32b5a1d7cb5e17 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -243,9 +243,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -319,7 +319,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -327,7 +327,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -394,7 +394,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -466,39 +466,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -547,19 +547,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -577,7 +577,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -590,7 +590,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -673,29 +673,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -785,54 +785,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -874,7 +874,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -978,8 +978,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1000,9 +1000,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1044,15 +1044,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1099,7 +1099,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1109,7 +1109,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1117,25 +1117,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1143,27 +1143,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1227,11 +1227,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1239,7 +1239,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index 49df479ae9653b..6b7d37f63cfde7 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -178,9 +178,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -254,7 +254,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -262,7 +262,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -329,7 +329,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -401,39 +401,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -482,19 +482,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -512,7 +512,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -525,7 +525,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -608,29 +608,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -720,54 +720,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -809,7 +809,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -913,8 +913,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -935,9 +935,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -979,15 +979,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1034,7 +1034,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1044,7 +1044,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1052,25 +1052,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1078,27 +1078,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1162,11 +1162,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1174,7 +1174,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index d41712e737ee06..ff2090602c1095 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_pump_5f904818cc.matter b/examples/chef/devices/rootnode_pump_5f904818cc.matter index fcb40893dd7e3e..ae67b7f1eb9d6f 100644 --- a/examples/chef/devices/rootnode_pump_5f904818cc.matter +++ b/examples/chef/devices/rootnode_pump_5f904818cc.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -111,9 +111,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -168,7 +168,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -176,7 +176,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -243,7 +243,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -283,7 +283,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -387,29 +387,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -499,54 +499,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -649,8 +649,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -681,15 +681,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -736,7 +736,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -746,7 +746,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -754,25 +754,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -780,27 +780,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -864,11 +864,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -876,7 +876,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_pump_a811bb33a0.matter b/examples/chef/devices/rootnode_pump_a811bb33a0.matter index c4022bb1a01e54..dd848c98b256c0 100644 --- a/examples/chef/devices/rootnode_pump_a811bb33a0.matter +++ b/examples/chef/devices/rootnode_pump_a811bb33a0.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -111,9 +111,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -168,7 +168,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -176,7 +176,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -243,7 +243,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -283,7 +283,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -387,29 +387,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -499,54 +499,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -649,8 +649,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -681,15 +681,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -736,7 +736,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -746,7 +746,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -754,25 +754,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -780,27 +780,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -864,11 +864,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -876,7 +876,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter index 2303aa4c0c70a1..912972cff7319e 100644 --- a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter +++ b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -198,7 +198,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -246,7 +246,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -351,29 +351,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -463,54 +463,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -619,8 +619,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -665,12 +665,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -725,15 +725,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -780,7 +780,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -790,7 +790,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -798,25 +798,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -824,27 +824,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -908,11 +908,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -920,7 +920,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -948,7 +948,7 @@ server cluster TemperatureControl = 86 { request struct SetTemperatureRequest { optional temperature targetTemperature = 0; - optional INT8U targetTemperatureLevel = 1; + optional int8u targetTemperatureLevel = 1; } command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter index 2a0c78f082d770..7707a653375611 100644 --- a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter +++ b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -155,20 +155,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -177,13 +177,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,22 +193,22 @@ server cluster Scenes = 5 { response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -219,14 +219,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -257,9 +257,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -314,7 +314,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -322,7 +322,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -389,7 +389,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -464,29 +464,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -576,54 +576,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -665,7 +665,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -769,8 +769,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -801,15 +801,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -856,7 +856,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -866,7 +866,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -874,25 +874,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -900,27 +900,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -984,11 +984,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -996,7 +996,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1050,12 +1050,12 @@ server cluster RvcRunMode = 84 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -1100,12 +1100,12 @@ server cluster RvcCleanMode = 85 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -1146,12 +1146,12 @@ server cluster RvcOperationalState = 97 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; diff --git a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter index 7fc13a5a1aa413..17ed068c944fe1 100644 --- a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter +++ b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -180,9 +180,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -237,7 +237,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -245,7 +245,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -312,7 +312,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -387,29 +387,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -499,54 +499,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -588,7 +588,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -692,8 +692,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -724,15 +724,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -779,7 +779,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -789,7 +789,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -797,25 +797,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -823,27 +823,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -907,11 +907,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -919,7 +919,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1012,7 +1012,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; @@ -1071,8 +1071,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter index a197a0af47133b..32963586d58ecb 100644 --- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter +++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -574,29 +574,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -686,54 +686,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -775,7 +775,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -879,8 +879,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -911,15 +911,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -966,7 +966,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -976,7 +976,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -984,25 +984,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1010,27 +1010,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1094,11 +1094,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1106,7 +1106,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index f835984d9cf5ef..edee3ae5f3fc6e 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -122,23 +122,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -149,23 +149,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -204,9 +204,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -280,7 +280,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -288,7 +288,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -355,7 +355,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -427,39 +427,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -508,19 +508,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -538,7 +538,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -551,7 +551,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -634,29 +634,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -746,54 +746,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -835,7 +835,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -939,8 +939,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -961,9 +961,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1005,15 +1005,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1060,7 +1060,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1070,7 +1070,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1078,25 +1078,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1104,27 +1104,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1188,11 +1188,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1200,7 +1200,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 5234c44c59d173..87299165941fc6 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,11 +61,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -74,9 +74,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -84,7 +84,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -93,13 +93,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -358,39 +358,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -439,19 +439,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -469,7 +469,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -482,7 +482,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -565,29 +565,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -677,54 +677,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -766,7 +766,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -870,8 +870,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -892,9 +892,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -936,15 +936,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -991,7 +991,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1001,7 +1001,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1009,25 +1009,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1035,27 +1035,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1119,11 +1119,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1131,7 +1131,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index 464bc8a3905235..c50233afc653b9 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -129,9 +129,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -205,7 +205,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -213,7 +213,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -280,7 +280,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -352,39 +352,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -433,19 +433,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -476,7 +476,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -559,29 +559,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -671,54 +671,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -760,7 +760,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -864,8 +864,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -886,9 +886,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -930,15 +930,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -985,7 +985,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -995,7 +995,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1003,25 +1003,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1029,27 +1029,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1113,11 +1113,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1125,7 +1125,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1254,7 +1254,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; @@ -1313,8 +1313,8 @@ client cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute optional int8u speedMax = 4; attribute optional nullable int8u speedSetting = 5; readonly attribute optional int8u speedCurrent = 6; diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 444e7a12872270..aa85aae3119eb3 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -129,9 +129,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -205,7 +205,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -213,7 +213,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -280,7 +280,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -352,39 +352,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -433,19 +433,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -476,7 +476,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -559,29 +559,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -671,54 +671,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -760,7 +760,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -864,8 +864,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -886,9 +886,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -930,15 +930,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -985,7 +985,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -995,7 +995,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1003,25 +1003,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1029,27 +1029,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1113,11 +1113,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1125,7 +1125,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1249,14 +1249,14 @@ server cluster WindowCovering = 258 { readonly attribute int16u numberOfActuationsLift = 5; readonly attribute int16u numberOfActuationsTilt = 6; readonly attribute ConfigStatus configStatus = 7; - readonly attribute nullable Percent currentPositionLiftPercentage = 8; - readonly attribute nullable Percent currentPositionTiltPercentage = 9; + readonly attribute nullable percent currentPositionLiftPercentage = 8; + readonly attribute nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute int16u installedOpenLimitLift = 16; readonly attribute int16u installedClosedLimitLift = 17; readonly attribute int16u installedOpenLimitTilt = 18; @@ -1271,19 +1271,19 @@ server cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } command UpOrOpen(): DefaultSuccess = 0; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index a3c80032573b25..789b399a64ac11 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -546,29 +546,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -658,54 +658,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -747,7 +747,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -851,8 +851,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -873,9 +873,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1094,12 +1094,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1193,15 +1193,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1248,7 +1248,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1258,7 +1258,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1266,25 +1266,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1292,27 +1292,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1376,11 +1376,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1388,7 +1388,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter index 45543e7c7fb677..ce7313217fad9f 100644 --- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter +++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -211,7 +211,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -219,7 +219,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -286,7 +286,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -334,7 +334,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -439,29 +439,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -551,54 +551,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -707,8 +707,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -753,12 +753,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -813,15 +813,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -868,7 +868,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -878,7 +878,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -886,25 +886,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -912,27 +912,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -996,11 +996,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1008,7 +1008,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1049,12 +1049,12 @@ server cluster OperationalState = 96 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; diff --git a/examples/light-switch-app/light-switch-common/light-switch-app.matter b/examples/light-switch-app/light-switch-common/light-switch-app.matter index 5b774fed609304..35985608316ed2 100644 --- a/examples/light-switch-app/light-switch-common/light-switch-app.matter +++ b/examples/light-switch-app/light-switch-common/light-switch-app.matter @@ -35,7 +35,7 @@ client cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -83,7 +83,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -132,27 +132,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -204,41 +204,41 @@ client cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct RemoveAllScenesRequest { @@ -252,19 +252,19 @@ client cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -273,51 +273,51 @@ client cluster Scenes = 5 { response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } response struct EnhancedAddSceneResponse = 64 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct EnhancedViewSceneResponse = 65 { status status = 0; - group_Id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + group_id groupID = 1; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct CopySceneResponse = 66 { status status = 0; - group_Id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + group_id groupIdentifierFrom = 1; + int8u sceneIdentifierFrom = 2; } /** Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}' */ @@ -430,9 +430,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -506,7 +506,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -514,7 +514,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -581,7 +581,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -653,39 +653,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -734,19 +734,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -764,7 +764,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -777,7 +777,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -860,29 +860,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -972,54 +972,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1061,7 +1061,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1165,8 +1165,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1187,9 +1187,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1408,12 +1408,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1560,8 +1560,8 @@ server cluster TimeSynchronization = 56 { } info event TimeZoneStatus = 2 { - INT32S offset = 0; - optional CHAR_STRING name = 1; + int32s offset = 0; + optional char_string name = 1; } info event TimeFailure = 3 { @@ -1608,7 +1608,7 @@ server cluster TimeSynchronization = 56 { } request struct SetDefaultNTPRequest { - nullable CHAR_STRING<128> defaultNTP = 0; + nullable char_string<128> defaultNTP = 0; } response struct SetTimeZoneResponse = 3 { @@ -1635,33 +1635,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -1699,15 +1699,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1754,7 +1754,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1764,7 +1764,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1772,25 +1772,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1798,27 +1798,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1882,11 +1882,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1894,7 +1894,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2090,151 +2090,151 @@ client cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } /** Move to specified hue. */ diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter index 0a5e4b343560da..a449641f07382a 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -251,23 +251,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -306,9 +306,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -371,7 +371,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -438,7 +438,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -510,39 +510,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -591,19 +591,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -621,7 +621,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -634,7 +634,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -717,29 +717,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -829,54 +829,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -918,7 +918,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1022,8 +1022,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1044,9 +1044,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute int64u currentHeapFree = 1; @@ -1126,15 +1126,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1181,7 +1181,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1191,7 +1191,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1199,25 +1199,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1225,27 +1225,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1309,11 +1309,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1321,7 +1321,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1481,151 +1481,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter index ee7b61209d19af..405033d7f4eaa2 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -251,23 +251,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -306,9 +306,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -371,7 +371,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -438,7 +438,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -510,39 +510,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -591,19 +591,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -621,7 +621,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -634,7 +634,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -717,29 +717,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -829,54 +829,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -918,7 +918,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1022,8 +1022,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1044,9 +1044,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1249,15 +1249,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1304,7 +1304,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1314,7 +1314,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1322,25 +1322,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1348,27 +1348,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1432,11 +1432,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1444,7 +1444,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1604,151 +1604,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter index 99edc71fdff2a2..1d80a698dbde22 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -224,23 +224,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -251,23 +251,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -306,9 +306,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -363,7 +363,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -371,7 +371,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -438,7 +438,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -510,39 +510,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -591,19 +591,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -621,7 +621,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -634,7 +634,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -717,29 +717,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -829,54 +829,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -918,7 +918,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1022,8 +1022,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1044,9 +1044,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute int64u currentHeapFree = 1; @@ -1101,12 +1101,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1159,15 +1159,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1214,7 +1214,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1224,7 +1224,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1232,25 +1232,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1258,27 +1258,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1342,11 +1342,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1354,7 +1354,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1514,151 +1514,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 8b23739d141ca2..cb2fdf30afb6d3 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -156,20 +156,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -178,13 +178,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,44 +193,44 @@ server cluster Scenes = 5 { request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -241,14 +241,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -371,23 +371,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -398,23 +398,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -453,9 +453,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -510,7 +510,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -518,7 +518,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -585,7 +585,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -657,39 +657,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -738,19 +738,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -768,7 +768,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -781,7 +781,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -864,29 +864,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -976,54 +976,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1065,7 +1065,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1169,8 +1169,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1191,9 +1191,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1412,12 +1412,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1499,33 +1499,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -1563,15 +1563,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1618,7 +1618,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1628,7 +1628,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1636,25 +1636,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1662,27 +1662,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1746,11 +1746,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1758,7 +1758,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1900,151 +1900,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/nxp/zap/lighting-on-off.matter b/examples/lighting-app/nxp/zap/lighting-on-off.matter index 7b773be3ddf524..b7b1764959ae27 100644 --- a/examples/lighting-app/nxp/zap/lighting-on-off.matter +++ b/examples/lighting-app/nxp/zap/lighting-on-off.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -217,23 +217,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -244,23 +244,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -299,9 +299,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -356,7 +356,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -364,7 +364,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -430,7 +430,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -495,39 +495,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -576,19 +576,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -606,7 +606,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -647,29 +647,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -759,48 +759,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -902,8 +902,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -924,9 +924,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1128,11 +1128,11 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1178,7 +1178,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1188,7 +1188,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1196,25 +1196,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1222,27 +1222,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1306,11 +1306,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1318,7 +1318,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/qpg/zap/light.matter b/examples/lighting-app/qpg/zap/light.matter index 3118ca16d5dbdf..8d5a1cd30597cd 100644 --- a/examples/lighting-app/qpg/zap/light.matter +++ b/examples/lighting-app/qpg/zap/light.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -220,23 +220,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -247,23 +247,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -302,9 +302,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -359,7 +359,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -367,7 +367,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -434,7 +434,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -506,39 +506,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -587,19 +587,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -617,7 +617,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -658,29 +658,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -770,48 +770,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -852,7 +852,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } response struct RetrieveLogsResponse = 1 { @@ -963,8 +963,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -985,9 +985,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1189,15 +1189,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1244,7 +1244,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1254,7 +1254,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1262,25 +1262,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1288,27 +1288,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1372,11 +1372,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1384,7 +1384,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1544,151 +1544,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter index c004f45f28032a..a99a5e37a8279c 100644 --- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -156,20 +156,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -178,13 +178,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,44 +193,44 @@ server cluster Scenes = 5 { request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -241,35 +241,35 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } response struct EnhancedAddSceneResponse = 64 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct EnhancedViewSceneResponse = 65 { status status = 0; - group_Id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + group_id groupID = 1; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct CopySceneResponse = 66 { status status = 0; - group_Id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + group_id groupIdentifierFrom = 1; + int8u sceneIdentifierFrom = 2; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -392,23 +392,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -419,23 +419,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -474,9 +474,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -531,7 +531,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -539,7 +539,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -606,7 +606,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -678,39 +678,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -759,19 +759,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -789,7 +789,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -802,7 +802,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1121,29 +1121,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1233,54 +1233,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1322,7 +1322,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1426,8 +1426,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1448,9 +1448,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1655,15 +1655,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1710,7 +1710,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1720,7 +1720,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1728,25 +1728,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1754,27 +1754,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1838,11 +1838,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1850,7 +1850,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1992,151 +1992,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter index 2f40d35ce34b71..e10c17815b999e 100644 --- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -156,20 +156,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -178,13 +178,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,44 +193,44 @@ server cluster Scenes = 5 { request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -241,14 +241,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -371,23 +371,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -398,23 +398,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -453,9 +453,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -510,7 +510,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -518,7 +518,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -585,7 +585,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -657,39 +657,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -738,19 +738,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -768,7 +768,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -781,7 +781,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1100,29 +1100,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1212,54 +1212,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1301,7 +1301,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1405,8 +1405,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1427,9 +1427,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1485,12 +1485,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1545,15 +1545,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1600,7 +1600,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1610,7 +1610,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1618,25 +1618,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1644,27 +1644,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1728,11 +1728,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1740,7 +1740,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1882,151 +1882,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index a9d48da67f2049..0418b2fa540ddd 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -115,9 +115,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -172,7 +172,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -180,7 +180,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -247,7 +247,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -319,39 +319,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -400,19 +400,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -430,7 +430,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -443,7 +443,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -783,29 +783,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -895,54 +895,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -984,7 +984,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1088,8 +1088,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1110,9 +1110,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1331,12 +1331,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1430,15 +1430,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1485,7 +1485,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1495,7 +1495,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1503,25 +1503,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1529,27 +1529,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1613,11 +1613,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1625,7 +1625,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2043,9 +2043,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -2053,9 +2053,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -2063,10 +2063,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -2103,93 +2103,93 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct GetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -2203,30 +2203,30 @@ server cluster DoorLock = 257 { } request struct UnboltDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } response struct GetWeekDayScheduleResponse = 12 { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional DaysMaskMap daysMask = 3; - optional INT8U startHour = 4; - optional INT8U startMinute = 5; - optional INT8U endHour = 6; - optional INT8U endMinute = 7; + optional int8u startHour = 4; + optional int8u startMinute = 5; + optional int8u endHour = 6; + optional int8u endMinute = 7; } response struct GetYearDayScheduleResponse = 15 { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional epoch_s localStartTime = 3; optional epoch_s localEndTime = 4; } response struct GetHolidayScheduleResponse = 18 { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; DlStatus status = 1; optional epoch_s localStartTime = 2; optional epoch_s localEndTime = 3; @@ -2234,30 +2234,30 @@ server cluster DoorLock = 257 { } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; diff --git a/examples/lock-app/nxp/zap/lock-app.matter b/examples/lock-app/nxp/zap/lock-app.matter index b0937e65bc771b..cf3fc693f978a2 100644 --- a/examples/lock-app/nxp/zap/lock-app.matter +++ b/examples/lock-app/nxp/zap/lock-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -197,7 +197,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -265,29 +265,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -377,48 +377,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -520,8 +520,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -542,9 +542,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -746,11 +746,11 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -796,7 +796,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -806,7 +806,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -814,25 +814,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -840,27 +840,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -924,11 +924,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -936,7 +936,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1298,9 +1298,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -1308,9 +1308,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -1318,10 +1318,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -1341,36 +1341,36 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -1380,30 +1380,30 @@ server cluster DoorLock = 257 { } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; diff --git a/examples/lock-app/qpg/zap/lock.matter b/examples/lock-app/qpg/zap/lock.matter index 0a3cd720726449..94d4cd4ed526ba 100644 --- a/examples/lock-app/qpg/zap/lock.matter +++ b/examples/lock-app/qpg/zap/lock.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -491,29 +491,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -603,48 +603,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -685,7 +685,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } response struct RetrieveLogsResponse = 1 { @@ -796,8 +796,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -818,9 +818,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1022,15 +1022,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1077,7 +1077,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1087,7 +1087,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1095,25 +1095,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1121,27 +1121,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1205,11 +1205,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1217,7 +1217,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1612,9 +1612,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -1622,9 +1622,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -1632,10 +1632,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -1661,41 +1661,41 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -1709,30 +1709,30 @@ server cluster DoorLock = 257 { } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; diff --git a/examples/log-source-app/log-source-common/log-source-app.matter b/examples/log-source-app/log-source-common/log-source-app.matter index 4a367f12b5ab43..e7131ef0764e38 100644 --- a/examples/log-source-app/log-source-common/log-source-app.matter +++ b/examples/log-source-app/log-source-common/log-source-app.matter @@ -47,7 +47,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -55,7 +55,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -106,29 +106,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -210,54 +210,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -299,7 +299,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } response struct RetrieveLogsResponse = 1 { @@ -350,7 +350,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -359,7 +359,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -367,20 +367,20 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -388,27 +388,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; diff --git a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter index 8b234b1f09991e..a84e4c24f6b012 100644 --- a/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter +++ b/examples/ota-provider-app/ota-provider-common/ota-provider-app.matter @@ -20,9 +20,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -77,7 +77,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -85,7 +85,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -150,7 +150,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -158,7 +158,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -225,7 +225,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -297,39 +297,39 @@ server cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } command QueryImage(QueryImageRequest): QueryImageResponse = 0; @@ -343,7 +343,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -426,29 +426,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -538,54 +538,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -694,8 +694,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -726,15 +726,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -781,7 +781,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -791,7 +791,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -799,25 +799,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -825,27 +825,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -909,11 +909,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -921,7 +921,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter index f3f0d45332b626..18761f51ae63bc 100644 --- a/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter +++ b/examples/ota-requestor-app/ota-requestor-common/ota-requestor-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -198,9 +198,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -255,7 +255,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -263,7 +263,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -330,7 +330,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -402,39 +402,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -483,19 +483,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -513,7 +513,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -526,7 +526,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -609,29 +609,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -721,54 +721,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -877,8 +877,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -909,15 +909,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -964,7 +964,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -974,7 +974,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -982,25 +982,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1008,27 +1008,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1092,11 +1092,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1104,7 +1104,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index e47fdb1cb39a1e..d9b4d794acdc22 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -35,7 +35,7 @@ client cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -83,7 +83,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -132,27 +132,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -201,20 +201,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -223,13 +223,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -239,22 +239,22 @@ server cluster Scenes = 5 { response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -265,14 +265,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -461,23 +461,23 @@ client cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -488,23 +488,23 @@ client cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -515,7 +515,7 @@ client cluster LevelControl = 8 { } request struct MoveToClosestFrequencyRequest { - INT16U frequency = 0; + int16u frequency = 0; } /** Command description for MoveToLevel */ @@ -584,23 +584,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -611,23 +611,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -666,9 +666,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -723,7 +723,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -731,7 +731,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -812,14 +812,14 @@ server cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -883,7 +883,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -931,7 +931,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ client cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -946,7 +946,7 @@ client cluster LocalizationConfiguration = 43 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1334,29 +1334,29 @@ client cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } /** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */ @@ -1401,29 +1401,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1513,54 +1513,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1669,8 +1669,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1691,9 +1691,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -2076,12 +2076,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -2194,7 +2194,7 @@ server cluster BridgedDeviceBasicInformation = 57 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -2244,33 +2244,33 @@ client cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2297,33 +2297,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2362,15 +2362,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -2417,7 +2417,7 @@ client cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2427,12 +2427,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2440,40 +2440,40 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2481,7 +2481,7 @@ client cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } /** Sender is requesting attestation information from the receiver. */ @@ -2541,7 +2541,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2551,7 +2551,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2559,25 +2559,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2585,27 +2585,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -2669,11 +2669,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -2681,7 +2681,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2786,7 +2786,7 @@ client cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } /** On receipt of this command, if the NewMode field matches the Mode field in an entry of the SupportedModes list, the server SHALL set the CurrentMode attribute to the NewMode value, otherwise, the server SHALL respond with an INVALID_COMMAND status response. */ @@ -2823,7 +2823,7 @@ server cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0; @@ -3182,9 +3182,9 @@ client cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3192,9 +3192,9 @@ client cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3202,10 +3202,10 @@ client cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3252,87 +3252,87 @@ client cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } response struct GetWeekDayScheduleResponse = 12 { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional DaysMaskMap daysMask = 3; - optional INT8U startHour = 4; - optional INT8U startMinute = 5; - optional INT8U endHour = 6; - optional INT8U endMinute = 7; + optional int8u startHour = 4; + optional int8u startMinute = 5; + optional int8u endHour = 6; + optional int8u endMinute = 7; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } response struct GetYearDayScheduleResponse = 15 { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional epoch_s localStartTime = 3; optional epoch_s localEndTime = 4; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct GetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } response struct GetHolidayScheduleResponse = 18 { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; DlStatus status = 1; optional epoch_s localStartTime = 2; optional epoch_s localEndTime = 3; @@ -3340,53 +3340,53 @@ client cluster DoorLock = 257 { } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } request struct GetCredentialStatusRequest { @@ -3395,10 +3395,10 @@ client cluster DoorLock = 257 { response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } request struct ClearCredentialRequest { @@ -3406,7 +3406,7 @@ client cluster DoorLock = 257 { } request struct UnboltDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } /** This command causes the lock device to lock the door. */ @@ -3802,9 +3802,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3812,9 +3812,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3822,10 +3822,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3872,61 +3872,61 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; @@ -4043,14 +4043,14 @@ server cluster WindowCovering = 258 { readonly attribute nullable int16u currentPositionLift = 3; readonly attribute nullable int16u currentPositionTilt = 4; readonly attribute ConfigStatus configStatus = 7; - readonly attribute nullable Percent currentPositionLiftPercentage = 8; - readonly attribute nullable Percent currentPositionTiltPercentage = 9; + readonly attribute nullable percent currentPositionLiftPercentage = 8; + readonly attribute nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute int16u installedOpenLimitLift = 16; readonly attribute int16u installedClosedLimitLift = 17; readonly attribute int16u installedOpenLimitTilt = 18; @@ -4065,19 +4065,19 @@ server cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } command UpOrOpen(): DefaultSuccess = 0; @@ -4336,18 +4336,18 @@ client cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } response struct GetWeeklyScheduleResponse = 0 { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; } request struct SetWeeklyScheduleRequest { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; @@ -4648,151 +4648,151 @@ client cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } /** Move to specified hue. */ @@ -4966,151 +4966,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; @@ -5329,21 +5329,21 @@ client cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } /** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */ @@ -5397,16 +5397,16 @@ server cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0; @@ -5437,13 +5437,13 @@ client cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL navigation the UX to the target identified. */ @@ -5516,20 +5516,20 @@ client cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } /** Upon receipt, this SHALL play media. */ @@ -5599,20 +5599,20 @@ server cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command Play(): PlaybackResponse = 0; @@ -5666,12 +5666,12 @@ client cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. */ @@ -5722,12 +5722,12 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -6058,7 +6058,7 @@ client cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute optional CHAR_STRING acceptHeader[] = 0; + readonly attribute optional char_string acceptHeader[] = 0; attribute optional bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6069,19 +6069,19 @@ client cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL launch the specified content with optional search criteria. */ @@ -6166,7 +6166,7 @@ server cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute CHAR_STRING acceptHeader[] = 0; + readonly attribute char_string acceptHeader[] = 0; attribute bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6177,19 +6177,19 @@ server cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command LaunchContent(LaunchContentRequest): LauncherResponse = 0; @@ -6227,12 +6227,12 @@ client cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. */ @@ -6272,12 +6272,12 @@ server cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectOutput(SelectOutputRequest): DefaultSuccess = 0; @@ -6306,7 +6306,7 @@ client cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute optional INT16U catalogList[] = 0; + readonly attribute optional int16u catalogList[] = 0; attribute optional nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6317,7 +6317,7 @@ client cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -6330,7 +6330,7 @@ client cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } /** Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response. */ @@ -6363,7 +6363,7 @@ server cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute INT16U catalogList[] = 0; + readonly attribute int16u catalogList[] = 0; attribute nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6443,16 +6443,16 @@ client cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } /** Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the GetSetupPIN Response. */ @@ -6473,16 +6473,16 @@ server cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } timed command GetSetupPIN(GetSetupPINRequest): GetSetupPINResponse = 0; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index 002a70ca922eca..7f07305ed2c68b 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -35,7 +35,7 @@ client cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -83,7 +83,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -132,27 +132,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -201,20 +201,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -223,13 +223,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -239,22 +239,22 @@ server cluster Scenes = 5 { response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -265,14 +265,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -461,23 +461,23 @@ client cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -488,23 +488,23 @@ client cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -515,7 +515,7 @@ client cluster LevelControl = 8 { } request struct MoveToClosestFrequencyRequest { - INT16U frequency = 0; + int16u frequency = 0; } /** Command description for MoveToLevel */ @@ -582,23 +582,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -609,23 +609,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -664,9 +664,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -721,7 +721,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -729,7 +729,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -810,14 +810,14 @@ server cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -881,7 +881,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -929,7 +929,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1293,29 +1293,29 @@ client cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } /** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */ @@ -1360,29 +1360,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1472,54 +1472,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1628,8 +1628,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1650,9 +1650,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -2035,12 +2035,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -2153,7 +2153,7 @@ server cluster BridgedDeviceBasicInformation = 57 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -2203,33 +2203,33 @@ client cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2256,33 +2256,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2321,15 +2321,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -2376,7 +2376,7 @@ client cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2386,12 +2386,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2399,40 +2399,40 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2440,7 +2440,7 @@ client cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } /** Sender is requesting attestation information from the receiver. */ @@ -2500,7 +2500,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2510,7 +2510,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -2518,25 +2518,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2544,27 +2544,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -2628,11 +2628,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -2640,7 +2640,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2745,7 +2745,7 @@ client cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } /** On receipt of this command, if the NewMode field matches the Mode field in an entry of the SupportedModes list, the server SHALL set the CurrentMode attribute to the NewMode value, otherwise, the server SHALL respond with an INVALID_COMMAND status response. */ @@ -2782,7 +2782,7 @@ server cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0; @@ -3141,9 +3141,9 @@ client cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3151,9 +3151,9 @@ client cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3161,10 +3161,10 @@ client cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3211,87 +3211,87 @@ client cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } response struct GetWeekDayScheduleResponse = 12 { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional DaysMaskMap daysMask = 3; - optional INT8U startHour = 4; - optional INT8U startMinute = 5; - optional INT8U endHour = 6; - optional INT8U endMinute = 7; + optional int8u startHour = 4; + optional int8u startMinute = 5; + optional int8u endHour = 6; + optional int8u endMinute = 7; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } response struct GetYearDayScheduleResponse = 15 { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional epoch_s localStartTime = 3; optional epoch_s localEndTime = 4; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct GetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } response struct GetHolidayScheduleResponse = 18 { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; DlStatus status = 1; optional epoch_s localStartTime = 2; optional epoch_s localEndTime = 3; @@ -3299,53 +3299,53 @@ client cluster DoorLock = 257 { } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } request struct GetCredentialStatusRequest { @@ -3354,10 +3354,10 @@ client cluster DoorLock = 257 { response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } request struct ClearCredentialRequest { @@ -3365,7 +3365,7 @@ client cluster DoorLock = 257 { } request struct UnboltDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } /** This command causes the lock device to lock the door. */ @@ -3761,9 +3761,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3771,9 +3771,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3781,10 +3781,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3831,61 +3831,61 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; @@ -4002,14 +4002,14 @@ server cluster WindowCovering = 258 { readonly attribute nullable int16u currentPositionLift = 3; readonly attribute nullable int16u currentPositionTilt = 4; readonly attribute ConfigStatus configStatus = 7; - readonly attribute nullable Percent currentPositionLiftPercentage = 8; - readonly attribute nullable Percent currentPositionTiltPercentage = 9; + readonly attribute nullable percent currentPositionLiftPercentage = 8; + readonly attribute nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute int16u installedOpenLimitLift = 16; readonly attribute int16u installedClosedLimitLift = 17; readonly attribute int16u installedOpenLimitTilt = 18; @@ -4024,19 +4024,19 @@ server cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } command UpOrOpen(): DefaultSuccess = 0; @@ -4295,18 +4295,18 @@ client cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } response struct GetWeeklyScheduleResponse = 0 { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; } request struct SetWeeklyScheduleRequest { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; @@ -4607,151 +4607,151 @@ client cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } /** Move to specified hue. */ @@ -4925,151 +4925,151 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; @@ -5288,21 +5288,21 @@ client cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } /** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */ @@ -5356,16 +5356,16 @@ server cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0; @@ -5396,13 +5396,13 @@ client cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL navigation the UX to the target identified. */ @@ -5475,20 +5475,20 @@ client cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } /** Upon receipt, this SHALL play media. */ @@ -5558,20 +5558,20 @@ server cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command Play(): PlaybackResponse = 0; @@ -5625,12 +5625,12 @@ client cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. */ @@ -5681,12 +5681,12 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -6017,7 +6017,7 @@ client cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute optional CHAR_STRING acceptHeader[] = 0; + readonly attribute optional char_string acceptHeader[] = 0; attribute optional bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6028,19 +6028,19 @@ client cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL launch the specified content with optional search criteria. */ @@ -6125,7 +6125,7 @@ server cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute CHAR_STRING acceptHeader[] = 0; + readonly attribute char_string acceptHeader[] = 0; attribute bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6136,19 +6136,19 @@ server cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command LaunchContent(LaunchContentRequest): LauncherResponse = 0; @@ -6186,12 +6186,12 @@ client cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. */ @@ -6231,12 +6231,12 @@ server cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectOutput(SelectOutputRequest): DefaultSuccess = 0; @@ -6265,7 +6265,7 @@ client cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute optional INT16U catalogList[] = 0; + readonly attribute optional int16u catalogList[] = 0; attribute optional nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6276,7 +6276,7 @@ client cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -6289,7 +6289,7 @@ client cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } /** Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response. */ @@ -6322,7 +6322,7 @@ server cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute INT16U catalogList[] = 0; + readonly attribute int16u catalogList[] = 0; attribute nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6402,16 +6402,16 @@ client cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } /** Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the GetSetupPIN Response. */ @@ -6432,16 +6432,16 @@ server cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } timed command GetSetupPIN(GetSetupPINRequest): GetSetupPINResponse = 0; diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter index d272e6d299d5d6..b68d400b341798 100644 --- a/examples/pump-app/pump-common/pump-app.matter +++ b/examples/pump-app/pump-common/pump-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -122,23 +122,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -149,23 +149,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -204,9 +204,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -280,7 +280,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -288,7 +288,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -355,7 +355,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -425,39 +425,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -506,19 +506,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -536,7 +536,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -577,29 +577,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -689,48 +689,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -832,8 +832,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -981,15 +981,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1036,7 +1036,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1046,7 +1046,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1054,25 +1054,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1080,27 +1080,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1164,11 +1164,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1176,7 +1176,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/pump-app/silabs/data_model/pump-thread-app.matter b/examples/pump-app/silabs/data_model/pump-thread-app.matter index 9d6e0ac97c4dfd..685cd5e9c4e4d8 100644 --- a/examples/pump-app/silabs/data_model/pump-thread-app.matter +++ b/examples/pump-app/silabs/data_model/pump-thread-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -122,23 +122,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -149,23 +149,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -204,9 +204,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -280,7 +280,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -288,7 +288,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -355,7 +355,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -425,39 +425,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -506,19 +506,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -536,7 +536,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -577,29 +577,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -689,48 +689,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -832,8 +832,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -981,15 +981,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1036,7 +1036,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1046,7 +1046,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1054,25 +1054,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1080,27 +1080,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1164,11 +1164,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1176,7 +1176,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/pump-app/silabs/data_model/pump-wifi-app.matter b/examples/pump-app/silabs/data_model/pump-wifi-app.matter index 9d6e0ac97c4dfd..685cd5e9c4e4d8 100644 --- a/examples/pump-app/silabs/data_model/pump-wifi-app.matter +++ b/examples/pump-app/silabs/data_model/pump-wifi-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -122,23 +122,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -149,23 +149,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -204,9 +204,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -280,7 +280,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -288,7 +288,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -355,7 +355,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -425,39 +425,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -506,19 +506,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -536,7 +536,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -577,29 +577,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -689,48 +689,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -832,8 +832,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -981,15 +981,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1036,7 +1036,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1046,7 +1046,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1054,25 +1054,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1080,27 +1080,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1164,11 +1164,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1176,7 +1176,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter index 6d3bd4bc983153..063b84782e367f 100644 --- a/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter +++ b/examples/pump-controller-app/pump-controller-common/pump-controller-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -129,9 +129,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -205,7 +205,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -213,7 +213,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -280,7 +280,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -350,39 +350,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -431,19 +431,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -461,7 +461,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -502,29 +502,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -614,48 +614,48 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -757,8 +757,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -906,15 +906,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -961,7 +961,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -971,7 +971,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -979,25 +979,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1005,27 +1005,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1089,11 +1089,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1101,7 +1101,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter index e23f1f5572c1e8..96fc80a2936519 100644 --- a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter +++ b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter @@ -20,9 +20,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute SemanticTagStruct tagList[] = 4; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -78,7 +78,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -86,7 +86,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -153,7 +153,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -201,7 +201,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -306,29 +306,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -418,54 +418,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -574,8 +574,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -620,12 +620,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -680,15 +680,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -735,7 +735,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -745,7 +745,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -753,25 +753,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -779,27 +779,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -863,11 +863,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -875,7 +875,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -903,7 +903,7 @@ server cluster TemperatureControl = 86 { request struct SetTemperatureRequest { optional temperature targetTemperature = 0; - optional INT8U targetTemperatureLevel = 1; + optional int8u targetTemperatureLevel = 1; } command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0; diff --git a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter index 40769a4e8623ae..7922d98cef2bc0 100644 --- a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter +++ b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -546,29 +546,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -658,54 +658,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -747,7 +747,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -851,8 +851,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -873,9 +873,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1094,12 +1094,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1181,33 +1181,33 @@ server cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -1245,15 +1245,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1300,7 +1300,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1310,7 +1310,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1318,25 +1318,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1344,27 +1344,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1428,11 +1428,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1440,7 +1440,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1631,8 +1631,8 @@ server cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/rvc-app/rvc-common/rvc-app.matter b/examples/rvc-app/rvc-common/rvc-app.matter index a0dd73982acf36..d180ae83d9cbd5 100644 --- a/examples/rvc-app/rvc-common/rvc-app.matter +++ b/examples/rvc-app/rvc-common/rvc-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -66,9 +66,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -123,7 +123,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -131,7 +131,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -198,7 +198,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -273,29 +273,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -385,54 +385,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -474,7 +474,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -578,8 +578,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -610,15 +610,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -665,7 +665,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -675,7 +675,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -683,25 +683,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -709,27 +709,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -793,11 +793,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -805,7 +805,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -857,12 +857,12 @@ server cluster RvcRunMode = 84 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -906,12 +906,12 @@ server cluster RvcCleanMode = 85 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } command ChangeToMode(ChangeToModeRequest): ChangeToModeResponse = 0; @@ -952,12 +952,12 @@ server cluster RvcOperationalState = 97 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute OperationalStateStruct operationalStateList[] = 3; readonly attribute enum8 operationalState = 4; diff --git a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter index 6750ae11e42513..1232c9607aec78 100644 --- a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter +++ b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -778,29 +778,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -890,54 +890,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -979,7 +979,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1083,8 +1083,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1105,9 +1105,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1312,15 +1312,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1367,7 +1367,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1377,7 +1377,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1385,25 +1385,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1411,27 +1411,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1495,11 +1495,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1507,7 +1507,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1576,18 +1576,18 @@ server cluster IcdManagement = 70 { request struct RegisterClientRequest { node_id checkInNodeID = 0; - INT64U monitoredSubject = 1; - OCTET_STRING<16> key = 2; - optional OCTET_STRING<16> verificationKey = 3; + int64u monitoredSubject = 1; + octet_string<16> key = 2; + optional octet_string<16> verificationKey = 3; } request struct UnregisterClientRequest { node_id checkInNodeID = 0; - optional OCTET_STRING<16> verificationKey = 1; + optional octet_string<16> verificationKey = 1; } response struct RegisterClientResponse = 1 { - INT32U ICDCounter = 0; + int32u ICDCounter = 0; } fabric command access(invoke: manage) RegisterClient(RegisterClientRequest): RegisterClientResponse = 0; diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index fa0943bb98bf71..57f8f3d6f10250 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -20,9 +20,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -77,7 +77,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -85,7 +85,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -152,7 +152,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -199,7 +199,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -306,29 +306,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -418,49 +418,49 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -501,7 +501,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -605,8 +605,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -627,9 +627,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute int64u currentHeapHighWatermark = 3; @@ -680,12 +680,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -777,15 +777,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -832,7 +832,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -842,7 +842,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -850,25 +850,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -876,27 +876,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -960,11 +960,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -972,7 +972,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 2cf173233532b6..d641ef6bfd0d47 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -35,7 +35,7 @@ client cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -83,7 +83,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -115,7 +115,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -132,27 +132,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -183,9 +183,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -259,7 +259,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -334,7 +334,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -406,39 +406,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -487,19 +487,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -517,7 +517,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -530,7 +530,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -637,29 +637,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -749,54 +749,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -838,7 +838,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -942,8 +942,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -964,9 +964,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1183,12 +1183,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1280,15 +1280,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1335,7 +1335,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1345,7 +1345,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1353,25 +1353,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1379,27 +1379,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1463,11 +1463,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1475,7 +1475,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1607,7 +1607,7 @@ server cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0; diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index a3d2f0a8901e91..2fcbea8fcbf623 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -91,23 +91,23 @@ server cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -118,23 +118,23 @@ server cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -173,9 +173,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -268,7 +268,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -276,7 +276,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -343,7 +343,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -415,39 +415,39 @@ server cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } command QueryImage(QueryImageRequest): QueryImageResponse = 0; @@ -461,7 +461,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -568,29 +568,29 @@ client cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } /** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */ @@ -635,29 +635,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -747,54 +747,54 @@ client cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } /** Detemine the set of networks the device sees as available. */ @@ -893,54 +893,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -982,7 +982,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1086,8 +1086,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1108,9 +1108,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1325,12 +1325,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1422,15 +1422,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1477,7 +1477,7 @@ client cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1487,12 +1487,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -1500,40 +1500,40 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1541,7 +1541,7 @@ client cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } /** Sender is requesting attestation information from the receiver. */ @@ -1601,7 +1601,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1611,7 +1611,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1619,25 +1619,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1645,27 +1645,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1729,11 +1729,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1741,7 +1741,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1850,21 +1850,21 @@ server cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command ChangeChannel(ChangeChannelRequest): ChangeChannelResponse = 0; @@ -1895,13 +1895,13 @@ server cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command NavigateTarget(NavigateTargetRequest): NavigateTargetResponse = 0; @@ -1950,20 +1950,20 @@ server cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command Play(): PlaybackResponse = 0; @@ -2017,12 +2017,12 @@ server cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectInput(SelectInputRequest): DefaultSuccess = 0; @@ -2240,7 +2240,7 @@ server cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute CHAR_STRING acceptHeader[] = 0; + readonly attribute char_string acceptHeader[] = 0; attribute bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2251,19 +2251,19 @@ server cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } command LaunchContent(LaunchContentRequest): LauncherResponse = 0; @@ -2301,12 +2301,12 @@ server cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } command SelectOutput(SelectOutputRequest): DefaultSuccess = 0; @@ -2335,7 +2335,7 @@ server cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute INT16U catalogList[] = 0; + readonly attribute int16u catalogList[] = 0; attribute nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2346,7 +2346,7 @@ server cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -2359,7 +2359,7 @@ server cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } command LaunchApp(LaunchAppRequest): LauncherResponse = 0; @@ -2407,16 +2407,16 @@ server cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } timed command GetSetupPIN(GetSetupPINRequest): GetSetupPINResponse = 0; diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter index 66280a2817fde8..f6d6cd04aac077 100644 --- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter +++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } command access(invoke: manage) Identify(IdentifyRequest): DefaultSuccess = 0; @@ -61,7 +61,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -78,27 +78,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -224,23 +224,23 @@ client cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -251,23 +251,23 @@ client cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -278,7 +278,7 @@ client cluster LevelControl = 8 { } request struct MoveToClosestFrequencyRequest { - INT16U frequency = 0; + int16u frequency = 0; } /** Command description for MoveToLevel */ @@ -334,9 +334,9 @@ client cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute optional SemanticTagStruct tagList[] = 4; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -365,9 +365,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -441,7 +441,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -449,7 +449,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -516,7 +516,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -563,7 +563,7 @@ server cluster BasicInformation = 40 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -670,29 +670,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -782,54 +782,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -938,8 +938,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -960,9 +960,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1016,12 +1016,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1113,15 +1113,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1168,7 +1168,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1178,7 +1178,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1186,25 +1186,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1212,27 +1212,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1296,11 +1296,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1380,21 +1380,21 @@ client cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } /** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */ @@ -1428,13 +1428,13 @@ client cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL navigation the UX to the target identified. */ @@ -1484,20 +1484,20 @@ client cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } /** Upon receipt, this SHALL play media. */ @@ -1562,12 +1562,12 @@ client cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. */ @@ -1791,7 +1791,7 @@ client cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute optional CHAR_STRING acceptHeader[] = 0; + readonly attribute optional char_string acceptHeader[] = 0; attribute optional bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1802,19 +1802,19 @@ client cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL launch the specified content with optional search criteria. */ @@ -1854,12 +1854,12 @@ client cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. */ @@ -1890,7 +1890,7 @@ client cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute optional INT16U catalogList[] = 0; + readonly attribute optional int16u catalogList[] = 0; attribute optional nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1901,7 +1901,7 @@ client cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -1914,7 +1914,7 @@ client cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } /** Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response. */ @@ -1965,16 +1965,16 @@ client cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } /** Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the GetSetupPIN Response. */ diff --git a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter index b531606023c6aa..32f3c552a21680 100644 --- a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter +++ b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -155,20 +155,20 @@ server cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RemoveAllScenesRequest { @@ -177,13 +177,13 @@ server cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -193,22 +193,22 @@ server cluster Scenes = 5 { response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct RemoveAllScenesResponse = 3 { @@ -219,14 +219,14 @@ server cluster Scenes = 5 { response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } fabric command access(invoke: manage) AddScene(AddSceneRequest): AddSceneResponse = 0; @@ -320,9 +320,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -396,7 +396,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -404,7 +404,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -471,7 +471,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -544,39 +544,39 @@ server cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } command QueryImage(QueryImageRequest): QueryImageResponse = 0; @@ -590,7 +590,7 @@ server cluster OtaSoftwareUpdateProvider = 41 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -927,29 +927,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -1039,54 +1039,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1128,7 +1128,7 @@ server cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } command RetrieveLogsRequest(RetrieveLogsRequestRequest): RetrieveLogsResponse = 0; @@ -1232,8 +1232,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1254,9 +1254,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1471,12 +1471,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1568,15 +1568,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1623,7 +1623,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1633,7 +1633,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1641,25 +1641,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1667,27 +1667,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1751,11 +1751,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1763,7 +1763,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -2158,9 +2158,9 @@ server cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -2168,9 +2168,9 @@ server cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -2178,10 +2178,10 @@ server cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -2216,78 +2216,78 @@ server cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } @@ -2301,49 +2301,49 @@ server cluster DoorLock = 257 { } response struct GetWeekDayScheduleResponse = 12 { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional DaysMaskMap daysMask = 3; - optional INT8U startHour = 4; - optional INT8U startMinute = 5; - optional INT8U endHour = 6; - optional INT8U endMinute = 7; + optional int8u startHour = 4; + optional int8u startMinute = 5; + optional int8u endHour = 6; + optional int8u endMinute = 7; } response struct GetYearDayScheduleResponse = 15 { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional epoch_s localStartTime = 3; optional epoch_s localEndTime = 4; } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } timed command LockDoor(LockDoorRequest): DefaultSuccess = 0; @@ -2453,41 +2453,41 @@ server cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } command MoveToHue(MoveToHueRequest): DefaultSuccess = 0; diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index 91ba6208dd6b53..b83ba560f536e3 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -35,7 +35,7 @@ server cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -67,7 +67,7 @@ server cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } request struct ViewGroupRequest { @@ -84,27 +84,27 @@ server cluster Groups = 4 { request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -135,9 +135,9 @@ server cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -192,7 +192,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -200,7 +200,7 @@ server cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -267,7 +267,7 @@ server cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -339,39 +339,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -420,19 +420,19 @@ server cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -450,7 +450,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -463,7 +463,7 @@ server cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ server cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -804,29 +804,29 @@ server cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } command access(invoke: administer) ArmFailSafe(ArmFailSafeRequest): ArmFailSafeResponse = 0; @@ -916,54 +916,54 @@ server cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } command access(invoke: administer) ScanNetworks(ScanNetworksRequest): ScanNetworksResponse = 0; @@ -1072,8 +1072,8 @@ server cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } command access(invoke: manage) TestEventTrigger(TestEventTriggerRequest): DefaultSuccess = 0; @@ -1094,9 +1094,9 @@ server cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute ThreadMetricsStruct threadMetrics[] = 0; @@ -1315,12 +1315,12 @@ server cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -1412,15 +1412,15 @@ server cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } timed command access(invoke: administer) OpenCommissioningWindow(OpenCommissioningWindowRequest): DefaultSuccess = 0; @@ -1467,7 +1467,7 @@ server cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -1477,7 +1477,7 @@ server cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } request struct CertificateChainRequestRequest { @@ -1485,25 +1485,25 @@ server cluster OperationalCredentials = 62 { } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -1511,27 +1511,27 @@ server cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } command access(invoke: administer) AttestationRequest(AttestationRequestRequest): AttestationResponse = 0; @@ -1595,11 +1595,11 @@ server cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -1607,7 +1607,7 @@ server cluster GroupKeyManagement = 63 { } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0; @@ -1747,14 +1747,14 @@ server cluster WindowCovering = 258 { readonly attribute int16u numberOfActuationsLift = 5; readonly attribute int16u numberOfActuationsTilt = 6; readonly attribute ConfigStatus configStatus = 7; - readonly attribute nullable Percent currentPositionLiftPercentage = 8; - readonly attribute nullable Percent currentPositionTiltPercentage = 9; + readonly attribute nullable percent currentPositionLiftPercentage = 8; + readonly attribute nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute int16u installedOpenLimitLift = 16; readonly attribute int16u installedClosedLimitLift = 17; readonly attribute int16u installedOpenLimitTilt = 18; @@ -1769,19 +1769,19 @@ server cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } command UpOrOpen(): DefaultSuccess = 0; diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 8a794ee5701783..78a82a440699be 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -35,7 +35,7 @@ client cluster Identify = 3 { readonly attribute int16u clusterRevision = 65533; request struct IdentifyRequest { - INT16U identifyTime = 0; + int16u identifyTime = 0; } request struct TriggerEffectRequest { @@ -69,11 +69,11 @@ client cluster Groups = 4 { request struct AddGroupRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } response struct AddGroupResponse = 0 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } @@ -82,9 +82,9 @@ client cluster Groups = 4 { } response struct ViewGroupResponse = 1 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; - CHAR_STRING groupName = 2; + char_string groupName = 2; } request struct GetGroupMembershipRequest { @@ -92,7 +92,7 @@ client cluster Groups = 4 { } response struct GetGroupMembershipResponse = 2 { - nullable INT8U capacity = 0; + nullable int8u capacity = 0; group_id groupList[] = 1; } @@ -101,13 +101,13 @@ client cluster Groups = 4 { } response struct RemoveGroupResponse = 3 { - ENUM8 status = 0; + enum8 status = 0; group_id groupID = 1; } request struct AddGroupIfIdentifyingRequest { group_id groupID = 0; - CHAR_STRING groupName = 1; + char_string groupName = 1; } /** Command description for AddGroup */ @@ -164,41 +164,41 @@ client cluster Scenes = 5 { request struct AddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } response struct AddSceneResponse = 0 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct ViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct ViewSceneResponse = 1 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } request struct RemoveSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct RemoveSceneResponse = 2 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct RemoveAllScenesRequest { @@ -212,19 +212,19 @@ client cluster Scenes = 5 { request struct StoreSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct StoreSceneResponse = 4 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct RecallSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - optional nullable INT16U transitionTime = 2; + int8u sceneID = 1; + optional nullable int16u transitionTime = 2; } request struct GetSceneMembershipRequest { @@ -233,51 +233,51 @@ client cluster Scenes = 5 { response struct GetSceneMembershipResponse = 6 { status status = 0; - nullable INT8U capacity = 1; + nullable int8u capacity = 1; group_id groupID = 2; - optional INT8U sceneList[] = 3; + optional int8u sceneList[] = 3; } request struct EnhancedAddSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; - INT16U transitionTime = 2; - CHAR_STRING sceneName = 3; + int8u sceneID = 1; + int16u transitionTime = 2; + char_string sceneName = 3; ExtensionFieldSet extensionFieldSets[] = 4; } response struct EnhancedAddSceneResponse = 64 { status status = 0; group_id groupID = 1; - INT8U sceneID = 2; + int8u sceneID = 2; } request struct EnhancedViewSceneRequest { group_id groupID = 0; - INT8U sceneID = 1; + int8u sceneID = 1; } response struct EnhancedViewSceneResponse = 65 { status status = 0; - group_Id groupID = 1; - INT8U sceneID = 2; - optional INT16U transitionTime = 3; - optional CHAR_STRING sceneName = 4; + group_id groupID = 1; + int8u sceneID = 2; + optional int16u transitionTime = 3; + optional char_string sceneName = 4; optional ExtensionFieldSet extensionFieldSets[] = 5; } request struct CopySceneRequest { ScenesCopyMode mode = 0; group_id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + int8u sceneIdentifierFrom = 2; group_id groupIdentifierTo = 3; - INT8U sceneIdentifierTo = 4; + int8u sceneIdentifierTo = 4; } response struct CopySceneResponse = 66 { status status = 0; - group_Id groupIdentifierFrom = 1; - INT8U sceneIdentifierFrom = 2; + group_id groupIdentifierFrom = 1; + int8u sceneIdentifierFrom = 2; } /** Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}' */ @@ -428,23 +428,23 @@ client cluster LevelControl = 8 { readonly attribute int16u clusterRevision = 65533; request struct MoveToLevelRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -455,23 +455,23 @@ client cluster LevelControl = 8 { } request struct MoveToLevelWithOnOffRequest { - INT8U level = 0; - nullable INT16U transitionTime = 1; + int8u level = 0; + nullable int16u transitionTime = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct MoveWithOnOffRequest { MoveMode moveMode = 0; - nullable INT8U rate = 1; + nullable int8u rate = 1; LevelControlOptions optionsMask = 2; LevelControlOptions optionsOverride = 3; } request struct StepWithOnOffRequest { StepMode stepMode = 0; - INT8U stepSize = 1; - nullable INT16U transitionTime = 2; + int8u stepSize = 1; + nullable int16u transitionTime = 2; LevelControlOptions optionsMask = 3; LevelControlOptions optionsOverride = 4; } @@ -482,7 +482,7 @@ client cluster LevelControl = 8 { } request struct MoveToClosestFrequencyRequest { - INT16U frequency = 0; + int16u frequency = 0; } /** Command description for MoveToLevel */ @@ -554,9 +554,9 @@ client cluster Descriptor = 29 { } readonly attribute DeviceTypeStruct deviceTypeList[] = 0; - readonly attribute CLUSTER_ID serverList[] = 1; - readonly attribute CLUSTER_ID clientList[] = 2; - readonly attribute ENDPOINT_NO partsList[] = 3; + readonly attribute cluster_id serverList[] = 1; + readonly attribute cluster_id clientList[] = 2; + readonly attribute endpoint_no partsList[] = 3; readonly attribute optional SemanticTagStruct tagList[] = 4; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -631,7 +631,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlEntryStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -639,7 +639,7 @@ client cluster AccessControl = 31 { fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 { nullable node_id adminNodeID = 1; - nullable INT16U adminPasscodeID = 2; + nullable int16u adminPasscodeID = 2; ChangeTypeEnum changeType = 3; nullable AccessControlExtensionStruct latestValue = 4; fabric_idx fabricIndex = 254; @@ -720,14 +720,14 @@ client cluster Actions = 37 { } info event StateChanged = 0 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; } info event ActionFailed = 1 { - INT16U actionID = 0; - INT32U invokeID = 1; + int16u actionID = 0; + int32u invokeID = 1; ActionStateEnum newState = 2; ActionErrorEnum error = 3; } @@ -743,68 +743,68 @@ client cluster Actions = 37 { readonly attribute int16u clusterRevision = 65533; request struct InstantActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct InstantActionWithTransitionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; - INT16U transitionTime = 2; + int16u actionID = 0; + optional int32u invokeID = 1; + int16u transitionTime = 2; } request struct StartActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct StartActionWithDurationRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; - INT32U duration = 2; + int16u actionID = 0; + optional int32u invokeID = 1; + int32u duration = 2; } request struct StopActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct PauseActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct PauseActionWithDurationRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; - INT32U duration = 2; + int16u actionID = 0; + optional int32u invokeID = 1; + int32u duration = 2; } request struct ResumeActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct EnableActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct EnableActionWithDurationRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; - INT32U duration = 2; + int16u actionID = 0; + optional int32u invokeID = 1; + int32u duration = 2; } request struct DisableActionRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; + int16u actionID = 0; + optional int32u invokeID = 1; } request struct DisableActionWithDurationRequest { - INT16U actionID = 0; - optional INT32U invokeID = 1; - INT32U duration = 2; + int16u actionID = 0; + optional int32u invokeID = 1; + int32u duration = 2; } /** This command triggers an action (state change) on the involved endpoints. */ @@ -881,7 +881,7 @@ client cluster BasicInformation = 40 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -957,39 +957,39 @@ client cluster OtaSoftwareUpdateProvider = 41 { request struct QueryImageRequest { vendor_id vendorID = 0; - INT16U productID = 1; - INT32U softwareVersion = 2; + int16u productID = 1; + int32u softwareVersion = 2; OTADownloadProtocol protocolsSupported[] = 3; - optional INT16U hardwareVersion = 4; - optional CHAR_STRING<2> location = 5; - optional BOOLEAN requestorCanConsent = 6; - optional OCTET_STRING<512> metadataForProvider = 7; + optional int16u hardwareVersion = 4; + optional char_string<2> location = 5; + optional boolean requestorCanConsent = 6; + optional octet_string<512> metadataForProvider = 7; } response struct QueryImageResponse = 1 { OTAQueryStatus status = 0; - optional INT32U delayedActionTime = 1; - optional CHAR_STRING<256> imageURI = 2; - optional INT32U softwareVersion = 3; - optional CHAR_STRING<64> softwareVersionString = 4; - optional OCTET_STRING<32> updateToken = 5; - optional BOOLEAN userConsentNeeded = 6; - optional OCTET_STRING<512> metadataForRequestor = 7; + optional int32u delayedActionTime = 1; + optional char_string<256> imageURI = 2; + optional int32u softwareVersion = 3; + optional char_string<64> softwareVersionString = 4; + optional octet_string<32> updateToken = 5; + optional boolean userConsentNeeded = 6; + optional octet_string<512> metadataForRequestor = 7; } request struct ApplyUpdateRequestRequest { - OCTET_STRING<32> updateToken = 0; - INT32U newVersion = 1; + octet_string<32> updateToken = 0; + int32u newVersion = 1; } response struct ApplyUpdateResponse = 3 { OTAApplyUpdateAction action = 0; - INT32U delayedActionTime = 1; + int32u delayedActionTime = 1; } request struct NotifyUpdateAppliedRequest { - OCTET_STRING<32> updateToken = 0; - INT32U softwareVersion = 1; + octet_string<32> updateToken = 0; + int32u softwareVersion = 1; } /** Determine availability of a new Software Image */ @@ -1038,19 +1038,19 @@ client cluster OtaSoftwareUpdateRequestor = 42 { OTAUpdateStateEnum previousState = 0; OTAUpdateStateEnum newState = 1; OTAChangeReasonEnum reason = 2; - nullable INT32U targetSoftwareVersion = 3; + nullable int32u targetSoftwareVersion = 3; } critical event VersionApplied = 1 { - INT32U softwareVersion = 0; - INT16U productID = 1; + int32u softwareVersion = 0; + int16u productID = 1; } info event DownloadError = 2 { - INT32U softwareVersion = 0; - INT64U bytesDownloaded = 1; - nullable INT8U progressPercent = 2; - nullable INT64S platformCode = 3; + int32u softwareVersion = 0; + int64u bytesDownloaded = 1; + nullable int8u progressPercent = 2; + nullable int64s platformCode = 3; } attribute ProviderLocation defaultOTAProviders[] = 0; @@ -1068,7 +1068,7 @@ client cluster OtaSoftwareUpdateRequestor = 42 { node_id providerNodeID = 0; vendor_id vendorID = 1; OTAAnnouncementReason announcementReason = 2; - optional OCTET_STRING<512> metadataForNode = 3; + optional octet_string<512> metadataForNode = 3; endpoint_no endpoint = 4; } @@ -1082,7 +1082,7 @@ client cluster OtaSoftwareUpdateRequestor = 42 { they can be configured to use a user’s preferred language, units, etc */ client cluster LocalizationConfiguration = 43 { attribute char_string<35> activeLocale = 0; - readonly attribute CHAR_STRING supportedLocales[] = 1; + readonly attribute char_string supportedLocales[] = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1157,7 +1157,7 @@ client cluster UnitLocalization = 45 { /** This cluster is used to describe the configuration and capabilities of a Device's power system. */ client cluster PowerSourceConfiguration = 46 { - readonly attribute INT8U sources[] = 0; + readonly attribute int8u sources[] = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; @@ -1457,29 +1457,29 @@ client cluster GeneralCommissioning = 48 { readonly attribute int16u clusterRevision = 65533; request struct ArmFailSafeRequest { - INT16U expiryLengthSeconds = 0; - INT64U breadcrumb = 1; + int16u expiryLengthSeconds = 0; + int64u breadcrumb = 1; } response struct ArmFailSafeResponse = 1 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } request struct SetRegulatoryConfigRequest { RegulatoryLocationTypeEnum newRegulatoryConfig = 0; - CHAR_STRING countryCode = 1; - INT64U breadcrumb = 2; + char_string countryCode = 1; + int64u breadcrumb = 2; } response struct SetRegulatoryConfigResponse = 3 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } response struct CommissioningCompleteResponse = 5 { CommissioningErrorEnum errorCode = 0; - CHAR_STRING debugText = 1; + char_string debugText = 1; } /** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */ @@ -1572,54 +1572,54 @@ client cluster NetworkCommissioning = 49 { readonly attribute int16u clusterRevision = 65533; request struct ScanNetworksRequest { - optional nullable OCTET_STRING<32> ssid = 0; - optional INT64U breadcrumb = 1; + optional nullable octet_string<32> ssid = 0; + optional int64u breadcrumb = 1; } response struct ScanNetworksResponse = 1 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; + optional char_string debugText = 1; optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2; optional ThreadInterfaceScanResultStruct threadScanResults[] = 3; } request struct AddOrUpdateWiFiNetworkRequest { - OCTET_STRING<32> ssid = 0; - OCTET_STRING<64> credentials = 1; - optional INT64U breadcrumb = 2; + octet_string<32> ssid = 0; + octet_string<64> credentials = 1; + optional int64u breadcrumb = 2; } request struct AddOrUpdateThreadNetworkRequest { - OCTET_STRING<254> operationalDataset = 0; - optional INT64U breadcrumb = 1; + octet_string<254> operationalDataset = 0; + optional int64u breadcrumb = 1; } request struct RemoveNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } response struct NetworkConfigResponse = 5 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING<512> debugText = 1; - optional INT8U networkIndex = 2; + optional char_string<512> debugText = 1; + optional int8u networkIndex = 2; } request struct ConnectNetworkRequest { - OCTET_STRING<32> networkID = 0; - optional INT64U breadcrumb = 1; + octet_string<32> networkID = 0; + optional int64u breadcrumb = 1; } response struct ConnectNetworkResponse = 7 { NetworkCommissioningStatusEnum networkingStatus = 0; - optional CHAR_STRING debugText = 1; - nullable INT32S errorValue = 2; + optional char_string debugText = 1; + nullable int32s errorValue = 2; } request struct ReorderNetworkRequest { - OCTET_STRING<32> networkID = 0; - INT8U networkIndex = 1; - optional INT64U breadcrumb = 2; + octet_string<32> networkID = 0; + int8u networkIndex = 1; + optional int64u breadcrumb = 2; } /** Detemine the set of networks the device sees as available. */ @@ -1667,7 +1667,7 @@ client cluster DiagnosticLogs = 50 { request struct RetrieveLogsRequestRequest { IntentEnum intent = 0; TransferProtocolEnum requestedProtocol = 1; - optional CHAR_STRING<32> transferFileDesignator = 2; + optional char_string<32> transferFileDesignator = 2; } response struct RetrieveLogsResponse = 1 { @@ -1780,8 +1780,8 @@ client cluster GeneralDiagnostics = 51 { readonly attribute int16u clusterRevision = 65533; request struct TestEventTriggerRequest { - OCTET_STRING<16> enableKey = 0; - INT64U eventTrigger = 1; + octet_string<16> enableKey = 0; + int64u eventTrigger = 1; } /** Provide a means for certification tests to trigger some test-plan-specific events */ @@ -1803,9 +1803,9 @@ client cluster SoftwareDiagnostics = 52 { } info event SoftwareFault = 0 { - INT64U id = 0; - optional CHAR_STRING name = 1; - optional OCTET_STRING faultRecording = 2; + int64u id = 0; + optional char_string name = 1; + optional octet_string faultRecording = 2; } readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0; @@ -2026,12 +2026,12 @@ client cluster WiFiNetworkDiagnostics = 54 { } info event Disconnection = 0 { - INT16U reasonCode = 0; + int16u reasonCode = 0; } info event AssociationFailure = 1 { AssociationFailureCauseEnum associationFailure = 0; - INT16U status = 1; + int16u status = 1; } info event ConnectionStatus = 2 { @@ -2180,8 +2180,8 @@ client cluster TimeSynchronization = 56 { } info event TimeZoneStatus = 2 { - INT32S offset = 0; - optional CHAR_STRING name = 1; + int32s offset = 0; + optional char_string name = 1; } info event TimeFailure = 3 { @@ -2233,7 +2233,7 @@ client cluster TimeSynchronization = 56 { } request struct SetDefaultNTPRequest { - nullable CHAR_STRING<128> defaultNTP = 0; + nullable char_string<128> defaultNTP = 0; } /** This command MAY be issued by Administrator to set the time. */ @@ -2292,7 +2292,7 @@ client cluster BridgedDeviceBasicInformation = 57 { } critical event StartUp = 0 { - INT32U softwareVersion = 0; + int32u softwareVersion = 0; } critical event ShutDown = 1 { @@ -2342,33 +2342,33 @@ client cluster Switch = 59 { } info event SwitchLatched = 0 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event InitialPress = 1 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event LongPress = 2 { - INT8U newPosition = 0; + int8u newPosition = 0; } info event ShortRelease = 3 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event LongRelease = 4 { - INT8U previousPosition = 0; + int8u previousPosition = 0; } info event MultiPressOngoing = 5 { - INT8U newPosition = 0; - INT8U currentNumberOfPressesCounted = 1; + int8u newPosition = 0; + int8u currentNumberOfPressesCounted = 1; } info event MultiPressComplete = 6 { - INT8U previousPosition = 0; - INT8U totalNumberOfPressesCounted = 1; + int8u previousPosition = 0; + int8u totalNumberOfPressesCounted = 1; } readonly attribute int8u numberOfPositions = 0; @@ -2407,15 +2407,15 @@ client cluster AdministratorCommissioning = 60 { readonly attribute int16u clusterRevision = 65533; request struct OpenCommissioningWindowRequest { - INT16U commissioningTimeout = 0; - OCTET_STRING PAKEPasscodeVerifier = 1; - INT16U discriminator = 2; - INT32U iterations = 3; - OCTET_STRING salt = 4; + int16u commissioningTimeout = 0; + octet_string PAKEPasscodeVerifier = 1; + int16u discriminator = 2; + int32u iterations = 3; + octet_string salt = 4; } request struct OpenBasicCommissioningWindowRequest { - INT16U commissioningTimeout = 0; + int16u commissioningTimeout = 0; } /** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */ @@ -2465,7 +2465,7 @@ client cluster OperationalCredentials = 62 { readonly attribute FabricDescriptorStruct fabrics[] = 1; readonly attribute int8u supportedFabrics = 2; readonly attribute int8u commissionedFabrics = 3; - readonly attribute OCTET_STRING trustedRootCertificates[] = 4; + readonly attribute octet_string trustedRootCertificates[] = 4; readonly attribute int8u currentFabricIndex = 5; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -2475,12 +2475,12 @@ client cluster OperationalCredentials = 62 { readonly attribute int16u clusterRevision = 65533; request struct AttestationRequestRequest { - OCTET_STRING attestationNonce = 0; + octet_string attestationNonce = 0; } response struct AttestationResponse = 1 { - OCTET_STRING attestationElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string attestationElements = 0; + octet_string attestationSignature = 1; } request struct CertificateChainRequestRequest { @@ -2488,40 +2488,40 @@ client cluster OperationalCredentials = 62 { } response struct CertificateChainResponse = 3 { - OCTET_STRING certificate = 0; + octet_string certificate = 0; } request struct CSRRequestRequest { - OCTET_STRING CSRNonce = 0; + octet_string CSRNonce = 0; optional boolean isForUpdateNOC = 1; } response struct CSRResponse = 5 { - OCTET_STRING NOCSRElements = 0; - OCTET_STRING attestationSignature = 1; + octet_string NOCSRElements = 0; + octet_string attestationSignature = 1; } request struct AddNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; - OCTET_STRING IPKValue = 2; - Int64u caseAdminSubject = 3; - VENDOR_ID adminVendorId = 4; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; + octet_string IPKValue = 2; + int64u caseAdminSubject = 3; + vendor_id adminVendorId = 4; } request struct UpdateNOCRequest { - OCTET_STRING NOCValue = 0; - optional OCTET_STRING ICACValue = 1; + octet_string NOCValue = 0; + optional octet_string ICACValue = 1; } response struct NOCResponse = 8 { NodeOperationalCertStatusEnum statusCode = 0; optional fabric_idx fabricIndex = 1; - optional CHAR_STRING debugText = 2; + optional char_string debugText = 2; } request struct UpdateFabricLabelRequest { - CHAR_STRING<32> label = 0; + char_string<32> label = 0; } request struct RemoveFabricRequest { @@ -2529,7 +2529,7 @@ client cluster OperationalCredentials = 62 { } request struct AddTrustedRootCertificateRequest { - OCTET_STRING rootCACertificate = 0; + octet_string rootCACertificate = 0; } /** Sender is requesting attestation information from the receiver. */ @@ -2601,7 +2601,7 @@ client cluster GroupKeyManagement = 63 { } request struct KeySetReadRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadResponse = 2 { @@ -2609,11 +2609,11 @@ client cluster GroupKeyManagement = 63 { } request struct KeySetRemoveRequest { - INT16U groupKeySetID = 0; + int16u groupKeySetID = 0; } response struct KeySetReadAllIndicesResponse = 5 { - INT16U groupKeySetIDs[] = 0; + int16u groupKeySetIDs[] = 0; } /** Write a new set of keys for the given key set id. */ @@ -2731,18 +2731,18 @@ client cluster IcdManagement = 70 { request struct RegisterClientRequest { node_id checkInNodeID = 0; - INT64U monitoredSubject = 1; - OCTET_STRING<16> key = 2; - optional OCTET_STRING<16> verificationKey = 3; + int64u monitoredSubject = 1; + octet_string<16> key = 2; + optional octet_string<16> verificationKey = 3; } response struct RegisterClientResponse = 1 { - INT32U ICDCounter = 0; + int32u ICDCounter = 0; } request struct UnregisterClientRequest { node_id checkInNodeID = 0; - optional OCTET_STRING<16> verificationKey = 1; + optional octet_string<16> verificationKey = 1; } /** Register a client to the end device */ @@ -2784,7 +2784,7 @@ client cluster ModeSelect = 80 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } /** On receipt of this command, if the NewMode field matches the Mode field in an entry of the SupportedModes list, the server SHALL set the CurrentMode attribute to the NewMode value, otherwise, the server SHALL respond with an INVALID_COMMAND status response. */ @@ -2827,12 +2827,12 @@ client cluster LaundryWasherMode = 81 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } /** This command is used to change device modes. @@ -2874,12 +2874,12 @@ client cluster RefrigeratorAndTemperatureControlledCabinetMode = 82 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } /** This command is used to change device modes. @@ -2901,7 +2901,7 @@ client cluster LaundryWasherControls = 83 { kRinse = 0x2; } - readonly attribute optional CHAR_STRING spinSpeeds[] = 0; + readonly attribute optional char_string spinSpeeds[] = 0; attribute optional nullable int8u spinSpeedCurrent = 1; attribute optional NumberOfRinsesEnum numberOfRinses = 2; readonly attribute optional NumberOfRinsesEnum supportedRinses[] = 3; @@ -2958,12 +2958,12 @@ client cluster RvcRunMode = 84 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } /** This command is used to change device modes. @@ -3010,12 +3010,12 @@ client cluster RvcCleanMode = 85 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } /** This command is used to change device modes. @@ -3046,7 +3046,7 @@ client cluster TemperatureControl = 86 { request struct SetTemperatureRequest { optional temperature targetTemperature = 0; - optional INT8U targetTemperatureLevel = 1; + optional int8u targetTemperatureLevel = 1; } /** Set Temperature */ @@ -3112,12 +3112,12 @@ client cluster DishwasherMode = 89 { readonly attribute int16u clusterRevision = 65533; request struct ChangeToModeRequest { - INT8U newMode = 0; + int8u newMode = 0; } response struct ChangeToModeResponse = 1 { - ENUM8 status = 0; - optional CHAR_STRING statusText = 1; + enum8 status = 0; + optional char_string statusText = 1; } /** This command is used to change device modes. @@ -3342,12 +3342,12 @@ client cluster OperationalState = 96 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute optional nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; @@ -3409,12 +3409,12 @@ client cluster RvcOperationalState = 97 { } info event OperationCompletion = 1 { - ENUM8 completionErrorCode = 0; + enum8 completionErrorCode = 0; optional nullable elapsed_s totalOperationalTime = 1; optional nullable elapsed_s pausedTime = 2; } - readonly attribute nullable CHAR_STRING phaseList[] = 0; + readonly attribute nullable char_string phaseList[] = 0; readonly attribute nullable int8u currentPhase = 1; readonly attribute optional nullable elapsed_s countdownTime = 2; readonly attribute OperationalStateStruct operationalStateList[] = 3; @@ -3892,9 +3892,9 @@ client cluster DoorLock = 257 { critical event LockOperation = 2 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; - nullable INT16U userIndex = 2; + nullable int16u userIndex = 2; nullable fabric_idx fabricIndex = 3; - nullable NODE_ID sourceNode = 4; + nullable node_id sourceNode = 4; optional nullable CredentialStruct credentials[] = 5; } @@ -3902,9 +3902,9 @@ client cluster DoorLock = 257 { LockOperationTypeEnum lockOperationType = 0; OperationSourceEnum operationSource = 1; OperationErrorEnum operationError = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; + nullable node_id sourceNode = 5; optional nullable CredentialStruct credentials[] = 6; } @@ -3912,10 +3912,10 @@ client cluster DoorLock = 257 { LockDataTypeEnum lockDataType = 0; DataOperationTypeEnum dataOperationType = 1; OperationSourceEnum operationSource = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable fabric_idx fabricIndex = 4; - nullable NODE_ID sourceNode = 5; - nullable INT16U dataIndex = 6; + nullable node_id sourceNode = 5; + nullable int16u dataIndex = 6; } readonly attribute nullable DlLockState lockState = 0; @@ -3962,87 +3962,87 @@ client cluster DoorLock = 257 { readonly attribute int16u clusterRevision = 65533; request struct LockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } request struct UnlockWithTimeoutRequest { - INT16U timeout = 0; - optional OCTET_STRING PINCode = 1; + int16u timeout = 0; + optional octet_string PINCode = 1; } request struct SetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DaysMaskMap daysMask = 2; - INT8U startHour = 3; - INT8U startMinute = 4; - INT8U endHour = 5; - INT8U endMinute = 6; + int8u startHour = 3; + int8u startMinute = 4; + int8u endHour = 5; + int8u endMinute = 6; } request struct GetWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } response struct GetWeekDayScheduleResponse = 12 { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional DaysMaskMap daysMask = 3; - optional INT8U startHour = 4; - optional INT8U startMinute = 5; - optional INT8U endHour = 6; - optional INT8U endMinute = 7; + optional int8u startHour = 4; + optional int8u startMinute = 5; + optional int8u endHour = 6; + optional int8u endMinute = 7; } request struct ClearWeekDayScheduleRequest { - INT8U weekDayIndex = 0; - INT16U userIndex = 1; + int8u weekDayIndex = 0; + int16u userIndex = 1; } request struct SetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; epoch_s localStartTime = 2; epoch_s localEndTime = 3; } request struct GetYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } response struct GetYearDayScheduleResponse = 15 { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; DlStatus status = 2; optional epoch_s localStartTime = 3; optional epoch_s localEndTime = 4; } request struct ClearYearDayScheduleRequest { - INT8U yearDayIndex = 0; - INT16U userIndex = 1; + int8u yearDayIndex = 0; + int16u userIndex = 1; } request struct SetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; epoch_s localStartTime = 1; epoch_s localEndTime = 2; OperatingModeEnum operatingMode = 3; } request struct GetHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } response struct GetHolidayScheduleResponse = 18 { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; DlStatus status = 1; optional epoch_s localStartTime = 2; optional epoch_s localEndTime = 3; @@ -4050,53 +4050,53 @@ client cluster DoorLock = 257 { } request struct ClearHolidayScheduleRequest { - INT8U holidayIndex = 0; + int8u holidayIndex = 0; } request struct SetUserRequest { DataOperationTypeEnum operationType = 0; - INT16U userIndex = 1; - nullable CHAR_STRING userName = 2; - nullable INT32U userUniqueID = 3; + int16u userIndex = 1; + nullable char_string userName = 2; + nullable int32u userUniqueID = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; nullable CredentialRuleEnum credentialRule = 6; } request struct GetUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } response struct GetUserResponse = 28 { - INT16U userIndex = 0; - nullable CHAR_STRING userName = 1; - nullable INT32U userUniqueID = 2; + int16u userIndex = 0; + nullable char_string userName = 1; + nullable int32u userUniqueID = 2; nullable UserStatusEnum userStatus = 3; nullable UserTypeEnum userType = 4; nullable CredentialRuleEnum credentialRule = 5; nullable CredentialStruct credentials[] = 6; nullable fabric_idx creatorFabricIndex = 7; nullable fabric_idx lastModifiedFabricIndex = 8; - nullable INT16U nextUserIndex = 9; + nullable int16u nextUserIndex = 9; } request struct ClearUserRequest { - INT16U userIndex = 0; + int16u userIndex = 0; } request struct SetCredentialRequest { DataOperationTypeEnum operationType = 0; CredentialStruct credential = 1; LONG_OCTET_STRING credentialData = 2; - nullable INT16U userIndex = 3; + nullable int16u userIndex = 3; nullable UserStatusEnum userStatus = 4; nullable UserTypeEnum userType = 5; } response struct SetCredentialResponse = 35 { DlStatus status = 0; - nullable INT16U userIndex = 1; - nullable INT16U nextCredentialIndex = 2; + nullable int16u userIndex = 1; + nullable int16u nextCredentialIndex = 2; } request struct GetCredentialStatusRequest { @@ -4105,10 +4105,10 @@ client cluster DoorLock = 257 { response struct GetCredentialStatusResponse = 37 { boolean credentialExists = 0; - nullable INT16U userIndex = 1; + nullable int16u userIndex = 1; nullable fabric_idx creatorFabricIndex = 2; nullable fabric_idx lastModifiedFabricIndex = 3; - nullable INT16U nextCredentialIndex = 4; + nullable int16u nextCredentialIndex = 4; } request struct ClearCredentialRequest { @@ -4116,7 +4116,7 @@ client cluster DoorLock = 257 { } request struct UnboltDoorRequest { - optional OCTET_STRING PINCode = 0; + optional octet_string PINCode = 0; } /** This command causes the lock device to lock the door. */ @@ -4257,14 +4257,14 @@ client cluster WindowCovering = 258 { readonly attribute optional int16u numberOfActuationsLift = 5; readonly attribute optional int16u numberOfActuationsTilt = 6; readonly attribute ConfigStatus configStatus = 7; - readonly attribute optional nullable Percent currentPositionLiftPercentage = 8; - readonly attribute optional nullable Percent currentPositionTiltPercentage = 9; + readonly attribute optional nullable percent currentPositionLiftPercentage = 8; + readonly attribute optional nullable percent currentPositionTiltPercentage = 9; readonly attribute OperationalStatus operationalStatus = 10; - readonly attribute optional nullable Percent100ths targetPositionLiftPercent100ths = 11; - readonly attribute optional nullable Percent100ths targetPositionTiltPercent100ths = 12; + readonly attribute optional nullable percent100ths targetPositionLiftPercent100ths = 11; + readonly attribute optional nullable percent100ths targetPositionTiltPercent100ths = 12; readonly attribute EndProductType endProductType = 13; - readonly attribute optional nullable Percent100ths currentPositionLiftPercent100ths = 14; - readonly attribute optional nullable Percent100ths currentPositionTiltPercent100ths = 15; + readonly attribute optional nullable percent100ths currentPositionLiftPercent100ths = 14; + readonly attribute optional nullable percent100ths currentPositionTiltPercent100ths = 15; readonly attribute optional int16u installedOpenLimitLift = 16; readonly attribute optional int16u installedClosedLimitLift = 17; readonly attribute optional int16u installedOpenLimitTilt = 18; @@ -4279,19 +4279,19 @@ client cluster WindowCovering = 258 { readonly attribute int16u clusterRevision = 65533; request struct GoToLiftValueRequest { - INT16U liftValue = 0; + int16u liftValue = 0; } request struct GoToLiftPercentageRequest { - Percent100ths liftPercent100thsValue = 0; + percent100ths liftPercent100thsValue = 0; } request struct GoToTiltValueRequest { - INT16U tiltValue = 0; + int16u tiltValue = 0; } request struct GoToTiltPercentageRequest { - Percent100ths tiltPercent100thsValue = 0; + percent100ths tiltPercent100thsValue = 0; } /** Moves window covering to InstalledOpenLimitLift and InstalledOpenLimitTilt */ @@ -4341,7 +4341,7 @@ client cluster BarrierControl = 259 { readonly attribute int16u clusterRevision = 65533; request struct BarrierControlGoToPercentRequest { - INT8U percentOpen = 0; + int8u percentOpen = 0; } /** Command to instruct a barrier to go to a percent open state. */ @@ -4597,18 +4597,18 @@ client cluster Thermostat = 513 { request struct SetpointRaiseLowerRequest { SetpointAdjustMode mode = 0; - INT8S amount = 1; + int8s amount = 1; } response struct GetWeeklyScheduleResponse = 0 { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; } request struct SetWeeklyScheduleRequest { - INT8U numberOfTransitionsForSequence = 0; + int8u numberOfTransitionsForSequence = 0; DayOfWeek dayOfWeekForSequence = 1; ModeForSequence modeForSequence = 2; ThermostatScheduleTransition transitions[] = 3; @@ -4682,8 +4682,8 @@ client cluster FanControl = 514 { attribute FanModeEnum fanMode = 0; attribute FanModeSequenceEnum fanModeSequence = 1; - attribute nullable Percent percentSetting = 2; - readonly attribute Percent percentCurrent = 3; + attribute nullable percent percentSetting = 2; + readonly attribute percent percentCurrent = 3; readonly attribute optional int8u speedMax = 4; attribute optional nullable int8u speedSetting = 5; readonly attribute optional int8u speedCurrent = 6; @@ -4853,151 +4853,151 @@ client cluster ColorControl = 768 { readonly attribute int16u clusterRevision = 65533; request struct MoveToHueRequest { - INT8U hue = 0; + int8u hue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveHueRequest { HueMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepHueRequest { HueStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToSaturationRequest { - INT8U saturation = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u saturation = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct MoveSaturationRequest { SaturationMoveMode moveMode = 0; - INT8U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int8u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepSaturationRequest { SaturationStepMode stepMode = 0; - INT8U stepSize = 1; - INT8U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u stepSize = 1; + int8u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToHueAndSaturationRequest { - INT8U hue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int8u hue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorRequest { - INT16U colorX = 0; - INT16U colorY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u colorX = 0; + int16u colorY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveColorRequest { - INT16S rateX = 0; - INT16S rateY = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16s rateX = 0; + int16s rateY = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct StepColorRequest { - INT16S stepX = 0; - INT16S stepY = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16s stepX = 0; + int16s stepY = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct MoveToColorTemperatureRequest { - INT16U colorTemperatureMireds = 0; - INT16U transitionTime = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u colorTemperatureMireds = 0; + int16u transitionTime = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedMoveToHueRequest { - INT16U enhancedHue = 0; + int16u enhancedHue = 0; HueDirection direction = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveHueRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - BITMAP8 optionsMask = 2; - BITMAP8 optionsOverride = 3; + int16u rate = 1; + bitmap8 optionsMask = 2; + bitmap8 optionsOverride = 3; } request struct EnhancedStepHueRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u stepSize = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct EnhancedMoveToHueAndSaturationRequest { - INT16U enhancedHue = 0; - INT8U saturation = 1; - INT16U transitionTime = 2; - BITMAP8 optionsMask = 3; - BITMAP8 optionsOverride = 4; + int16u enhancedHue = 0; + int8u saturation = 1; + int16u transitionTime = 2; + bitmap8 optionsMask = 3; + bitmap8 optionsOverride = 4; } request struct ColorLoopSetRequest { ColorLoopUpdateFlags updateFlags = 0; ColorLoopAction action = 1; ColorLoopDirection direction = 2; - INT16U time = 3; - INT16U startHue = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u time = 3; + int16u startHue = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } request struct StopMoveStepRequest { - BITMAP8 optionsMask = 0; - BITMAP8 optionsOverride = 1; + bitmap8 optionsMask = 0; + bitmap8 optionsOverride = 1; } request struct MoveColorTemperatureRequest { HueMoveMode moveMode = 0; - INT16U rate = 1; - INT16U colorTemperatureMinimumMireds = 2; - INT16U colorTemperatureMaximumMireds = 3; - BITMAP8 optionsMask = 4; - BITMAP8 optionsOverride = 5; + int16u rate = 1; + int16u colorTemperatureMinimumMireds = 2; + int16u colorTemperatureMaximumMireds = 3; + bitmap8 optionsMask = 4; + bitmap8 optionsOverride = 5; } request struct StepColorTemperatureRequest { HueStepMode stepMode = 0; - INT16U stepSize = 1; - INT16U transitionTime = 2; - INT16U colorTemperatureMinimumMireds = 3; - INT16U colorTemperatureMaximumMireds = 4; - BITMAP8 optionsMask = 5; - BITMAP8 optionsOverride = 6; + int16u stepSize = 1; + int16u transitionTime = 2; + int16u colorTemperatureMinimumMireds = 3; + int16u colorTemperatureMaximumMireds = 4; + bitmap8 optionsMask = 5; + bitmap8 optionsOverride = 6; } /** Move to specified hue. */ @@ -5801,21 +5801,21 @@ client cluster Channel = 1284 { readonly attribute int16u clusterRevision = 65533; request struct ChangeChannelRequest { - CHAR_STRING match = 0; + char_string match = 0; } response struct ChangeChannelResponse = 1 { ChannelStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct ChangeChannelByNumberRequest { - INT16U majorNumber = 0; - INT16U minorNumber = 1; + int16u majorNumber = 0; + int16u minorNumber = 1; } request struct SkipChannelRequest { - INT16S count = 0; + int16s count = 0; } /** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */ @@ -5849,13 +5849,13 @@ client cluster TargetNavigator = 1285 { readonly attribute int16u clusterRevision = 65533; request struct NavigateTargetRequest { - INT8U target = 0; - optional CHAR_STRING data = 1; + int8u target = 0; + optional char_string data = 1; } response struct NavigateTargetResponse = 1 { TargetNavigatorStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL navigation the UX to the target identified. */ @@ -5905,20 +5905,20 @@ client cluster MediaPlayback = 1286 { readonly attribute int16u clusterRevision = 65533; request struct SkipForwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } request struct SkipBackwardRequest { - INT64U deltaPositionMilliseconds = 0; + int64u deltaPositionMilliseconds = 0; } response struct PlaybackResponse = 10 { MediaPlaybackStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } request struct SeekRequest { - INT64U position = 0; + int64u position = 0; } /** Upon receipt, this SHALL play media. */ @@ -5983,12 +5983,12 @@ client cluster MediaInput = 1287 { readonly attribute int16u clusterRevision = 65533; request struct SelectInputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameInputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. */ @@ -6212,7 +6212,7 @@ client cluster ContentLauncher = 1290 { optional StyleInformationStruct waterMark = 5; } - readonly attribute optional CHAR_STRING acceptHeader[] = 0; + readonly attribute optional char_string acceptHeader[] = 0; attribute optional bitmap32 supportedStreamingProtocols = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6223,19 +6223,19 @@ client cluster ContentLauncher = 1290 { request struct LaunchContentRequest { ContentSearchStruct search = 0; - BOOLEAN autoPlay = 1; - optional CHAR_STRING data = 2; + boolean autoPlay = 1; + optional char_string data = 2; } request struct LaunchURLRequest { - CHAR_STRING contentURL = 0; - optional CHAR_STRING displayString = 1; + char_string contentURL = 0; + optional char_string displayString = 1; optional BrandingInformationStruct brandingInformation = 2; } response struct LauncherResponse = 2 { ContentLaunchStatusEnum status = 0; - optional CHAR_STRING data = 1; + optional char_string data = 1; } /** Upon receipt, this SHALL launch the specified content with optional search criteria. */ @@ -6275,12 +6275,12 @@ client cluster AudioOutput = 1291 { readonly attribute int16u clusterRevision = 65533; request struct SelectOutputRequest { - INT8U index = 0; + int8u index = 0; } request struct RenameOutputRequest { - INT8U index = 0; - CHAR_STRING name = 1; + int8u index = 0; + char_string name = 1; } /** Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. */ @@ -6311,7 +6311,7 @@ client cluster ApplicationLauncher = 1292 { optional endpoint_no endpoint = 1; } - readonly attribute optional INT16U catalogList[] = 0; + readonly attribute optional int16u catalogList[] = 0; attribute optional nullable ApplicationEPStruct currentApp = 1; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; @@ -6322,7 +6322,7 @@ client cluster ApplicationLauncher = 1292 { request struct LaunchAppRequest { optional ApplicationStruct application = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } request struct StopAppRequest { @@ -6335,7 +6335,7 @@ client cluster ApplicationLauncher = 1292 { response struct LauncherResponse = 3 { ApplicationLauncherStatusEnum status = 0; - optional OCTET_STRING data = 1; + optional octet_string data = 1; } /** Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response. */ @@ -6386,16 +6386,16 @@ client cluster AccountLogin = 1294 { readonly attribute int16u clusterRevision = 65533; request struct GetSetupPINRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; + char_string<100> tempAccountIdentifier = 0; } response struct GetSetupPINResponse = 1 { - CHAR_STRING setupPIN = 0; + char_string setupPIN = 0; } request struct LoginRequest { - CHAR_STRING<100> tempAccountIdentifier = 0; - CHAR_STRING setupPIN = 1; + char_string<100> tempAccountIdentifier = 0; + char_string setupPIN = 1; } /** Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the GetSetupPIN Response. */ @@ -6544,25 +6544,25 @@ client cluster ElectricalMeasurement = 2820 { readonly attribute int16u clusterRevision = 65533; response struct GetProfileInfoResponseCommand = 0 { - INT8U profileCount = 0; - ENUM8 profileIntervalPeriod = 1; - INT8U maxNumberOfIntervals = 2; - INT16U listOfAttributes[] = 3; + int8u profileCount = 0; + enum8 profileIntervalPeriod = 1; + int8u maxNumberOfIntervals = 2; + int16u listOfAttributes[] = 3; } response struct GetMeasurementProfileResponseCommand = 1 { - INT32U startTime = 0; - ENUM8 status = 1; - ENUM8 profileIntervalPeriod = 2; - INT8U numberOfIntervalsDelivered = 3; - INT16U attributeId = 4; - INT8U intervals[] = 5; + int32u startTime = 0; + enum8 status = 1; + enum8 profileIntervalPeriod = 2; + int8u numberOfIntervalsDelivered = 3; + int16u attributeId = 4; + int8u intervals[] = 5; } request struct GetMeasurementProfileCommandRequest { - INT16U attributeId = 0; - INT32U startTime = 1; - ENUM8 numberOfIntervals = 2; + int16u attributeId = 0; + int32u startTime = 1; + enum8 numberOfIntervals = 2; } /** A function which retrieves the power profiling information from the electrical measurement server. */ @@ -6677,9 +6677,9 @@ client cluster UnitTesting = 4294048773 { } info event TestEvent = 1 { - INT8U arg1 = 1; + int8u arg1 = 1; SimpleEnum arg2 = 2; - BOOLEAN arg3 = 3; + boolean arg3 = 3; SimpleStruct arg4 = 4; SimpleStruct arg5[] = 5; SimpleEnum arg6[] = 6; @@ -6715,8 +6715,8 @@ client cluster UnitTesting = 4294048773 { attribute single floatSingle = 23; attribute double floatDouble = 24; attribute octet_string<10> octetString = 25; - attribute INT8U listInt8u[] = 26; - attribute OCTET_STRING listOctetString[] = 27; + attribute int8u listInt8u[] = 26; + attribute octet_string listOctetString[] = 27; attribute TestListStructOctet listStructOctetString[] = 28; attribute long_octet_string<1000> longOctetString = 29; attribute char_string<10> charString = 30; @@ -6779,37 +6779,37 @@ client cluster UnitTesting = 4294048773 { readonly attribute int16u clusterRevision = 65533; response struct TestSpecificResponse = 0 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestAddArgumentsResponse = 1 { - INT8U returnValue = 0; + int8u returnValue = 0; } response struct TestSimpleArgumentResponse = 2 { - BOOLEAN returnValue = 0; + boolean returnValue = 0; } response struct TestStructArrayArgumentResponse = 3 { NestedStructList arg1[] = 0; SimpleStruct arg2[] = 1; SimpleEnum arg3[] = 2; - BOOLEAN arg4[] = 3; + boolean arg4[] = 3; SimpleEnum arg5 = 4; - BOOLEAN arg6 = 5; + boolean arg6 = 5; } request struct TestAddArgumentsRequest { - INT8U arg1 = 0; - INT8U arg2 = 1; + int8u arg1 = 0; + int8u arg2 = 1; } response struct TestListInt8UReverseResponse = 4 { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestSimpleArgumentRequestRequest { - BOOLEAN arg1 = 0; + boolean arg1 = 0; } response struct TestEnumsResponse = 5 { @@ -6821,16 +6821,16 @@ client cluster UnitTesting = 4294048773 { NestedStructList arg1[] = 0; SimpleStruct arg2[] = 1; SimpleEnum arg3[] = 2; - BOOLEAN arg4[] = 3; + boolean arg4[] = 3; SimpleEnum arg5 = 4; - BOOLEAN arg6 = 5; + boolean arg6 = 5; } response struct TestNullableOptionalResponse = 6 { - BOOLEAN wasPresent = 0; - optional BOOLEAN wasNull = 1; - optional INT8U value = 2; - optional nullable INT8U originalValue = 3; + boolean wasPresent = 0; + optional boolean wasNull = 1; + optional int8u value = 2; + optional nullable int8u originalValue = 3; } request struct TestStructArgumentRequestRequest { @@ -6838,33 +6838,33 @@ client cluster UnitTesting = 4294048773 { } response struct TestComplexNullableOptionalResponse = 7 { - BOOLEAN nullableIntWasNull = 0; - optional INT16U nullableIntValue = 1; - BOOLEAN optionalIntWasPresent = 2; - optional INT16U optionalIntValue = 3; - BOOLEAN nullableOptionalIntWasPresent = 4; - optional BOOLEAN nullableOptionalIntWasNull = 5; - optional INT16U nullableOptionalIntValue = 6; - BOOLEAN nullableStringWasNull = 7; - optional CHAR_STRING nullableStringValue = 8; - BOOLEAN optionalStringWasPresent = 9; - optional CHAR_STRING optionalStringValue = 10; - BOOLEAN nullableOptionalStringWasPresent = 11; - optional BOOLEAN nullableOptionalStringWasNull = 12; - optional CHAR_STRING nullableOptionalStringValue = 13; - BOOLEAN nullableStructWasNull = 14; + boolean nullableIntWasNull = 0; + optional int16u nullableIntValue = 1; + boolean optionalIntWasPresent = 2; + optional int16u optionalIntValue = 3; + boolean nullableOptionalIntWasPresent = 4; + optional boolean nullableOptionalIntWasNull = 5; + optional int16u nullableOptionalIntValue = 6; + boolean nullableStringWasNull = 7; + optional char_string nullableStringValue = 8; + boolean optionalStringWasPresent = 9; + optional char_string optionalStringValue = 10; + boolean nullableOptionalStringWasPresent = 11; + optional boolean nullableOptionalStringWasNull = 12; + optional char_string nullableOptionalStringValue = 13; + boolean nullableStructWasNull = 14; optional SimpleStruct nullableStructValue = 15; - BOOLEAN optionalStructWasPresent = 16; + boolean optionalStructWasPresent = 16; optional SimpleStruct optionalStructValue = 17; - BOOLEAN nullableOptionalStructWasPresent = 18; - optional BOOLEAN nullableOptionalStructWasNull = 19; + boolean nullableOptionalStructWasPresent = 18; + optional boolean nullableOptionalStructWasNull = 19; optional SimpleStruct nullableOptionalStructValue = 20; - BOOLEAN nullableListWasNull = 21; + boolean nullableListWasNull = 21; optional SimpleEnum nullableListValue[] = 22; - BOOLEAN optionalListWasPresent = 23; + boolean optionalListWasPresent = 23; optional SimpleEnum optionalListValue[] = 24; - BOOLEAN nullableOptionalListWasPresent = 25; - optional BOOLEAN nullableOptionalListWasNull = 26; + boolean nullableOptionalListWasPresent = 25; + optional boolean nullableOptionalListWasNull = 26; optional SimpleEnum nullableOptionalListValue[] = 27; } @@ -6873,7 +6873,7 @@ client cluster UnitTesting = 4294048773 { } response struct BooleanResponse = 8 { - BOOLEAN value = 0; + boolean value = 0; } request struct TestListStructArgumentRequestRequest { @@ -6885,11 +6885,11 @@ client cluster UnitTesting = 4294048773 { } request struct TestListInt8UArgumentRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } response struct TestEmitTestEventResponse = 10 { - INT64U value = 0; + int64u value = 0; } request struct TestNestedStructListArgumentRequestRequest { @@ -6897,7 +6897,7 @@ client cluster UnitTesting = 4294048773 { } response struct TestEmitTestFabricScopedEventResponse = 11 { - INT64U value = 0; + int64u value = 0; } request struct TestListNestedStructListArgumentRequestRequest { @@ -6905,7 +6905,7 @@ client cluster UnitTesting = 4294048773 { } request struct TestListInt8UReverseRequestRequest { - INT8U arg1[] = 0; + int8u arg1[] = 0; } request struct TestEnumsRequestRequest { @@ -6914,16 +6914,16 @@ client cluster UnitTesting = 4294048773 { } request struct TestNullableOptionalRequestRequest { - optional nullable INT8U arg1 = 0; + optional nullable int8u arg1 = 0; } request struct TestComplexNullableOptionalRequestRequest { - nullable INT16U nullableInt = 0; - optional INT16U optionalInt = 1; - optional nullable INT16U nullableOptionalInt = 2; - nullable CHAR_STRING nullableString = 3; - optional CHAR_STRING optionalString = 4; - optional nullable CHAR_STRING nullableOptionalString = 5; + nullable int16u nullableInt = 0; + optional int16u optionalInt = 1; + optional nullable int16u nullableOptionalInt = 2; + nullable char_string nullableString = 3; + optional char_string optionalString = 4; + optional nullable char_string nullableOptionalString = 5; nullable SimpleStruct nullableStruct = 6; optional SimpleStruct optionalStruct = 7; optional nullable SimpleStruct nullableOptionalStruct = 8; @@ -6937,17 +6937,17 @@ client cluster UnitTesting = 4294048773 { } request struct TestSimpleOptionalArgumentRequestRequest { - optional BOOLEAN arg1 = 0; + optional boolean arg1 = 0; } request struct TestEmitTestEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; SimpleEnum arg2 = 1; - BOOLEAN arg3 = 2; + boolean arg3 = 2; } request struct TestEmitTestFabricScopedEventRequestRequest { - INT8U arg1 = 0; + int8u arg1 = 0; } /** Simple command without any parameters and without a specific response */ @@ -7036,16 +7036,16 @@ client cluster FaultInjection = 4294048774 { request struct FailAtFaultRequest { FaultType type = 0; - INT32U id = 1; - INT32U numCallsToSkip = 2; - INT32U numCallsToFail = 3; - BOOLEAN takeMutex = 4; + int32u id = 1; + int32u numCallsToSkip = 2; + int32u numCallsToFail = 3; + boolean takeMutex = 4; } request struct FailRandomlyAtFaultRequest { FaultType type = 0; - INT32U id = 1; - INT8U percentage = 2; + int32u id = 1; + int8u percentage = 2; } /** Configure a fault to be triggered deterministically */ @@ -7065,12 +7065,12 @@ client cluster SampleMei = 4294048800 { readonly attribute int16u clusterRevision = 65533; response struct AddArgumentsResponse = 1 { - INT8U returnValue = 0; + int8u returnValue = 0; } request struct AddArgumentsRequest { - INT8U arg1 = 0; - INT8U arg2 = 1; + int8u arg1 = 0; + int8u arg2 = 1; } /** Simple command without any parameters and without a response. */ diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h index 6aa879d45c01b1..b8dfbe7e59402b 100644 --- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h +++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h @@ -1979,14 +1979,14 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::BitMask & value); // Percent +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); } // namespace CurrentPositionLiftPercentage namespace CurrentPositionTiltPercentage { -EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // Percent +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); @@ -1999,14 +1999,14 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::BitMask & value); // Percent100ths +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent100ths EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); } // namespace TargetPositionLiftPercent100ths namespace TargetPositionTiltPercent100ths { -EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // Percent100ths +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent100ths EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); @@ -2018,14 +2018,14 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::app::Clusters::WindowCovering } // namespace EndProductType namespace CurrentPositionLiftPercent100ths { -EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // Percent100ths +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent100ths EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); } // namespace CurrentPositionLiftPercent100ths namespace CurrentPositionTiltPercent100ths { -EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // Percent100ths +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent100ths EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); @@ -2612,14 +2612,14 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::app::Clusters::FanControl::Fa } // namespace FanModeSequence namespace PercentSetting { -EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // Percent +EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable & value); // percent EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value); EmberAfStatus SetNull(chip::EndpointId endpoint); EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable & value); } // namespace PercentSetting namespace PercentCurrent { -EmberAfStatus Get(chip::EndpointId endpoint, chip::Percent * value); // Percent +EmberAfStatus Get(chip::EndpointId endpoint, chip::Percent * value); // percent EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value); } // namespace PercentCurrent diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index 88da0ea3ab8aaa..f78f6a2ecaf3c6 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -47135,7 +47135,7 @@ class Test_TC_FAN_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("percentSetting", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("percentSetting", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("percentSetting", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("percentSetting", [value unsignedCharValue], 100U)); } @@ -47158,7 +47158,7 @@ class Test_TC_FAN_2_1 : public TestCommandBridge { VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0)); - VerifyOrReturn(CheckConstraintType("percentCurrent", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("percentCurrent", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("percentCurrent", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("percentCurrent", [value unsignedCharValue], 100U)); @@ -102978,7 +102978,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 10000U)); } @@ -103003,7 +103003,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 10000U)); } @@ -103028,7 +103028,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U)); } @@ -103053,7 +103053,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U)); } @@ -103392,7 +103392,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercentage", [value unsignedCharValue], 100U)); } @@ -103417,7 +103417,7 @@ class Test_TC_WNCV_2_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercentage", [value unsignedCharValue], 100U)); } @@ -104824,7 +104824,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U)); } @@ -104849,7 +104849,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercentage", [value unsignedCharValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercentage", [value unsignedCharValue], 100U)); } @@ -104874,7 +104874,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U)); } @@ -104899,7 +104899,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercentage", [value unsignedCharValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercentage", [value unsignedCharValue], 100U)); } @@ -105156,7 +105156,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105181,7 +105181,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercentage", [value unsignedCharValue], 99U)); } @@ -105206,7 +105206,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105231,7 +105231,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercentage", [value unsignedCharValue], 99U)); } @@ -105314,7 +105314,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105339,7 +105339,7 @@ class Test_TC_WNCV_3_1 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105769,7 +105769,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105794,7 +105794,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercentage", [value unsignedCharValue], 99U)); } @@ -105819,7 +105819,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 9999U)); } @@ -105844,7 +105844,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercentage", [value unsignedCharValue], 0U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercentage", [value unsignedCharValue], 99U)); } @@ -106101,7 +106101,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U)); } @@ -106126,7 +106126,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionLiftPercentage", [value unsignedCharValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionLiftPercentage", [value unsignedCharValue], 100U)); } @@ -106151,7 +106151,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U)); } @@ -106176,7 +106176,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent")); + VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "Percent")); VerifyOrReturn(CheckConstraintMinValue("currentPositionTiltPercentage", [value unsignedCharValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("currentPositionTiltPercentage", [value unsignedCharValue], 100U)); } @@ -106259,7 +106259,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionLiftPercent100ths", [value unsignedShortValue], 10000U)); } @@ -106284,7 +106284,7 @@ class Test_TC_WNCV_3_2 : public TestCommandBridge { if (value != nil) { - VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths")); + VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "Percent100ths")); VerifyOrReturn(CheckConstraintMinValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 1U)); VerifyOrReturn(CheckConstraintMaxValue("targetPositionTiltPercent100ths", [value unsignedShortValue], 10000U)); }