From 74900c8e618fe04aca8fff4a8124fdb7b56af9cd Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Thu, 12 Oct 2023 18:08:11 -0400 Subject: [PATCH] Change all ZAP XML basic data types to `lowercase` (#29706) * Replace bitmaps and enums * Replace all the rest * Zap regen * Replace Percent with percent in yaml tests * Regenerate zap * More type updates --- .../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 ++-- src/app/tests/suites/TestEqualities.yaml | 4 +- .../suites/certification/Test_TC_FAN_2_1.yaml | 4 +- .../certification/Test_TC_WNCV_2_1.yaml | 12 +- .../certification/Test_TC_WNCV_3_1.yaml | 20 +- .../certification/Test_TC_WNCV_3_2.yaml | 20 +- .../tests/suites/examples/Config_Example.yaml | 2 +- .../examples/Config_Variables_Example.yaml | 8 +- .../tests/suites/examples/Test_Example_1.yaml | 2 +- .../tests/suites/examples/Test_Example_2.yaml | 2 +- .../tests/suites/examples/Test_Example_3.yaml | 2 +- .../chip/access-control-cluster.xml | 14 +- .../data-model/chip/account-login-cluster.xml | 8 +- .../zcl/data-model/chip/actions-cluster.xml | 88 +- .../administrator-commissioning-cluster.xml | 18 +- .../data-model/chip/air-quality-cluster.xml | 4 +- .../chip/application-basic-cluster.xml | 16 +- .../chip/application-launcher-cluster.xml | 16 +- .../data-model/chip/audio-output-cluster.xml | 16 +- .../chip/ballast-configuration-cluster.xml | 24 +- .../chip/basic-information-cluster.xml | 6 +- .../zcl/data-model/chip/binding-cluster.xml | 8 +- .../chip/bridged-device-basic-information.xml | 6 +- .../zcl/data-model/chip/channel-cluster.xml | 32 +- .../zcl/data-model/chip/chip-ota.xml | 68 +- .../data-model/chip/color-control-cluster.xml | 282 +++--- .../concentration-measurement-cluster.xml | 8 +- .../chip/content-launch-cluster.xml | 36 +- .../data-model/chip/descriptor-cluster.xml | 20 +- .../chip/diagnostic-logs-cluster.xml | 8 +- .../chip/dishwasher-alarm-cluster.xml | 4 +- .../chip/dishwasher-mode-cluster.xml | 14 +- .../zcl/data-model/chip/door-lock-cluster.xml | 222 ++-- .../ethernet-network-diagnostics-cluster.xml | 20 +- .../data-model/chip/fan-control-cluster.xml | 24 +- .../chip/fault-injection-cluster.xml | 14 +- .../data-model/chip/fixed-label-cluster.xml | 4 +- .../chip/flow-measurement-cluster.xml | 8 +- .../chip/general-commissioning-cluster.xml | 24 +- .../chip/general-diagnostics-cluster.xml | 38 +- .../chip/group-key-mgmt-cluster.xml | 26 +- .../zcl/data-model/chip/groups-cluster.xml | 18 +- .../chip/icd-management-cluster.xml | 24 +- .../zcl/data-model/chip/identify-cluster.xml | 10 +- .../chip/illuminance-measurement-cluster.xml | 10 +- .../data-model/chip/keypad-input-cluster.xml | 6 +- .../chip/laundry-washer-mode-cluster.xml | 14 +- .../data-model/chip/level-control-cluster.xml | 56 +- .../localization-configuration-cluster.xml | 4 +- .../data-model/chip/media-input-cluster.xml | 18 +- .../chip/media-playback-cluster.xml | 24 +- .../zcl/data-model/chip/mode-base-cluster.xml | 20 +- .../data-model/chip/mode-select-cluster.xml | 20 +- .../chip/network-commissioning-cluster.xml | 86 +- .../chip/occupancy-sensing-cluster.xml | 24 +- .../zcl/data-model/chip/onoff-cluster.xml | 6 +- .../chip/operational-credentials-cluster.xml | 60 +- .../chip/operational-state-cluster.xml | 20 +- .../chip/operational-state-rvc-cluster.xml | 12 +- .../data-model/chip/power-source-cluster.xml | 64 +- .../power-source-configuration-cluster.xml | 2 +- .../chip/pressure-measurement-cluster.xml | 20 +- ...pump-configuration-and-control-cluster.xml | 44 +- .../data-model/chip/refrigerator-alarm.xml | 2 +- ...rature-controlled-cabinet-mode-cluster.xml | 14 +- .../relative-humidity-measurement-cluster.xml | 8 +- .../chip/resource-monitoring-cluster.xml | 12 +- .../chip/rvc-clean-mode-cluster.xml | 16 +- .../data-model/chip/rvc-run-mode-cluster.xml | 16 +- .../data-model/chip/sample-mei-cluster.xml | 8 +- .../zcl/data-model/chip/scene.xml | 76 +- .../chip/smoke-co-alarm-cluster.xml | 14 +- .../chip/software-diagnostics-cluster.xml | 24 +- .../zcl/data-model/chip/switch-cluster.xml | 26 +- .../chip/target-navigator-cluster.xml | 14 +- .../chip/temperature-control-cluster.xml | 6 +- .../chip/temperature-measurement-cluster.xml | 8 +- .../zcl/data-model/chip/test-cluster.xml | 274 ++--- .../data-model/chip/thermostat-cluster.xml | 110 +- ...t-user-interface-configuration-cluster.xml | 6 +- .../thread-network-diagnostics-cluster.xml | 198 ++-- .../chip/time-format-localization-cluster.xml | 6 +- .../chip/time-synchronization-cluster.xml | 28 +- .../chip/unit-localization-cluster.xml | 4 +- .../data-model/chip/wake-on-lan-cluster.xml | 2 +- .../chip/washer-controls-cluster.xml | 8 +- .../chip/wifi-network-diagnostics-cluster.xml | 36 +- .../zcl/data-model/chip/window-covering.xml | 64 +- .../EN50523-appliance-identification.xml | 4 +- .../draft/barrier-control-cluster.xml | 30 +- .../draft/electrical-measurement-cluster.xml | 282 +++--- .../draft/input-output-value-clusters.xml | 18 +- .../data-model/draft/meter-identification.xml | 4 +- .../onoff-switch-configuration-cluster.xml | 4 +- .../draft/types/ballast-configuration.xml | 4 +- .../data-model/draft/types/color-control.xml | 4 +- .../draft/types/dehumidification-control.xml | 6 +- .../zcl/data-model/draft/types/door-lock.xml | 16 +- .../draft/types/illuminance-level-sensing.xml | 2 +- .../types/onoff-switch-configuration.xml | 4 +- .../data-model/draft/types/power-profile.xml | 6 +- ...hermostat-user-interface-configuration.xml | 4 +- .../zcl/data-model/draft/types/thermostat.xml | 8 +- .../test/mode-select-extensions.xml | 2 +- .../data_model/controller-clusters.matter | 948 +++++++++--------- .../zap-generated/attributes/Accessors.h | 16 +- .../zap-generated/test/Commands.h | 56 +- 176 files changed, 10948 insertions(+), 10948 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 8a0ec1f995ea3c..868cdff8c5b7bd 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 d9d252cf321931..f4d14a49f75c8b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 af300bb17eba71..7a30362e47c08e 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 13ffa6eb95fe66..2d8b2da4019a33 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 35d847623c387b..051605e5da314f 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 d71d756d0ae0b7..145a5181f53b57 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 c525274af66884..68b9a4cbc7197c 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 5ca5ae1e7cd26b..2c1f5e1835451b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 0f5f1c6c1f8d52..673fb8faa62ee5 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 33dd125c98657c..f7ccb48a51906b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 d655cebf6ab8be..d7ffee4746d17c 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 8fd8fb8795c347..42006a85805ee9 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 b0bfe61db3b95e..c52950e1f9906c 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 1a235b27f1c3ed..e65db2a6c9d56b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 c01afa1a025909..c59c11c8563571 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 dcbb53e7ecf826..f43ae4ef66073d 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 f4f80b458c02a1..b14649dc625cbd 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 9ab813432c9dd2..7cd4761829cccf 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 0cc9ff3b7f7c85..6b6cd4da49f1a3 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 7d4609e57625f4..709a2471e7c6d6 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 fb22208c20c411..5658f3cafadfb0 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 9f12ca88cb88eb..053d5de48422c3 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 cbf1c1af09a2f4..01c95b1398f76f 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 4bd06b69f4ce8c..c21bb9bb7e7ef1 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 8eb2ee24848f9d..1be815b90a42e7 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 8887868fece207..cecfc40855c9ad 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 ecbf88125e6fab..1f93a621ae6a8d 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 97d132ec75b25a..7ff08e6e8d9b44 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 a42d58ed7c2e39..4676a684bbbc0f 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 74a8754dfd9c5c..1e0218b3b15183 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 fc74abb510ae54..268f80b44a5a9e 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 1f885b220c1317..72b3fba0063b58 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 617249bcdfa987..802b1809726e9f 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 120dd0f7a25e69..c54d2ca26157e3 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 53f7be4ab8ec1f..9dc219d25f9a76 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 727981ea003c6d..3cc5dd3ff073ef 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 c32b69e9c8bb6d..81f133f02875dc 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 aced44bc1b9ed4..8178fadcd5ae9b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 cdbaa90415f28d..3f618f8b2bd89e 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 724272fc74d0c7..f36a1706de5a99 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 a3d3f7dc8262d7..eb98a4645e04d9 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 ae9cde4135f7b7..6431b6c701319e 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 db6ed6f5e8bae1..d22cea2b12e290 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 6337af8a3d553e..f1f35df97c2425 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 5ff4f84d0ae78f..8b04ef0347af69 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 f3a620f979f449..3173f481118025 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 225d18e8521d76..c4c00d6180f52e 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 f79422e36787a1..9b84a36da6d93b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 d7b36ef082de05..269e65077ff112 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 fb319dbef0ee10..0c8af6c9bb73a7 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 bc37e5c8baf708..26f1c578accfc7 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 5db3db137408c2..4f9cbf9bfbade2 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 daca4e37ef292e..086e30eb71c4dd 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 62416d9c509d59..e7383b1419e3ab 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 e336d58c890c3e..b4b3300d58bf72 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 b8d5564e31455c..67e07d61137822 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 66d3559cc4fb36..666d365c129339 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 3ec8a42daafce7..75fc56b89bfda4 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 3ec8a42daafce7..75fc56b89bfda4 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 31823ff72bcfbd..78db93e034124a 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 c336160caca659..e346694e3afce6 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 4a540d7c182991..c15f9fda04094e 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 02ef63a33a9c54..c79ebaaf2e4078 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 fe2bb2d9028075..b9bbbc36ca6daf 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 1e9fa71cd434ca..f2ff6b3a72db12 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 bf75671e9ed6bc..18cb4480b2e5a6 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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 0be3a040dabf57..a0fd73d5ade954 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 7e7be6f39ad5d2..675669bfd9271a 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 d09a42172375d5..3bedf50d08ea4b 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 a16aa05d7f0b12..6b6116cecc6637 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; DownloadProtocolEnum 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 { StatusEnum 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 { ApplyUpdateActionEnum 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 { UpdateStateEnum previousState = 0; UpdateStateEnum newState = 1; ChangeReasonEnum 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; AnnouncementReasonEnum 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/app/tests/suites/TestEqualities.yaml b/src/app/tests/suites/TestEqualities.yaml index aba880c398ea64..9da2713a1e9433 100644 --- a/src/app/tests/suites/TestEqualities.yaml +++ b/src/app/tests/suites/TestEqualities.yaml @@ -19,10 +19,10 @@ config: cluster: "EqualityCommands" endpoint: 1 expectedValue: - type: INT16U + type: int16u defaultValue: 20003 unexpectedValue: - type: INT16U + type: int16u defaultValue: 20004 tests: diff --git a/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml index 51207c36383fb0..3db36a7578cce4 100644 --- a/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_FAN_2_1.yaml @@ -57,7 +57,7 @@ tests: attribute: "PercentSetting" response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 100 @@ -67,6 +67,6 @@ tests: attribute: "PercentCurrent" response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 100 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml index 6c273f2fb46af0..cf66e2031267d7 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_2_1.yaml @@ -108,7 +108,7 @@ tests: PICS: WNCV.S.A000b response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 10000 @@ -121,7 +121,7 @@ tests: PICS: WNCV.S.A000c response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 10000 @@ -134,7 +134,7 @@ tests: PICS: WNCV.S.A000e response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 10000 @@ -147,7 +147,7 @@ tests: PICS: WNCV.S.A000f response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 10000 @@ -328,7 +328,7 @@ tests: PICS: WNCV.S.A0008 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 100 @@ -341,7 +341,7 @@ tests: PICS: WNCV.S.A0009 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 100 ################################################### diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml index e05c0653ff5c94..2941b7225a7a4e 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_1.yaml @@ -78,7 +78,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 @@ -91,7 +91,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008 response: constraints: - type: Percent + type: percent minValue: 1 maxValue: 100 @@ -104,7 +104,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 @@ -117,7 +117,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009 response: constraints: - type: Percent + type: percent minValue: 1 maxValue: 100 @@ -260,7 +260,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 @@ -273,7 +273,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 99 @@ -286,7 +286,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 @@ -299,7 +299,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 99 @@ -349,7 +349,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 @@ -362,6 +362,6 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000c response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml index 4b292d89fad9fb..ec3a1bdf761686 100644 --- a/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml +++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_2.yaml @@ -78,7 +78,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 @@ -91,7 +91,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 99 @@ -104,7 +104,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f response: constraints: - type: Percent100ths + type: percent100ths minValue: 0 maxValue: 9999 @@ -117,7 +117,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009 response: constraints: - type: Percent + type: percent minValue: 0 maxValue: 99 @@ -260,7 +260,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 @@ -273,7 +273,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008 response: constraints: - type: Percent + type: percent minValue: 1 maxValue: 100 @@ -286,7 +286,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 @@ -299,7 +299,7 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009 response: constraints: - type: Percent + type: percent minValue: 1 maxValue: 100 @@ -349,7 +349,7 @@ tests: PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 @@ -362,6 +362,6 @@ tests: PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000c response: constraints: - type: Percent100ths + type: percent100ths minValue: 1 maxValue: 10000 diff --git a/src/app/tests/suites/examples/Config_Example.yaml b/src/app/tests/suites/examples/Config_Example.yaml index 3bcad39a2897a4..3e3e6a178f6d7b 100644 --- a/src/app/tests/suites/examples/Config_Example.yaml +++ b/src/app/tests/suites/examples/Config_Example.yaml @@ -3,5 +3,5 @@ config: endpoint: 1 identity: "beta" # Uses secondary commissioner exampleVariable: # See Config variables example - type: INT16U + type: int16u defaultValue: 110 diff --git a/src/app/tests/suites/examples/Config_Variables_Example.yaml b/src/app/tests/suites/examples/Config_Variables_Example.yaml index 9484ad9f4dac13..1583e2918016a1 100644 --- a/src/app/tests/suites/examples/Config_Variables_Example.yaml +++ b/src/app/tests/suites/examples/Config_Variables_Example.yaml @@ -1,15 +1,15 @@ config: exampleVariable: - type: INT16U + type: int16u defaultValue: 110 coolVariables: - type: CHAR_STRING + type: char_string defaultValue: "I am a super cool variable" aBigNumber: - type: INT64U + type: int64u defaultValue: 1.8446744e+19 aBool: - type: BOOLEAN + type: boolean defaultValue: false tests: diff --git a/src/app/tests/suites/examples/Test_Example_1.yaml b/src/app/tests/suites/examples/Test_Example_1.yaml index 23068546b91666..fcd897f56ef584 100644 --- a/src/app/tests/suites/examples/Test_Example_1.yaml +++ b/src/app/tests/suites/examples/Test_Example_1.yaml @@ -2,7 +2,7 @@ config: cluster: "Basic Information" endpoint: 0 testOneVariable: - type: INT16U + type: int16u defaultValue: 1 tests: - label: "Examples Test Step 1" diff --git a/src/app/tests/suites/examples/Test_Example_2.yaml b/src/app/tests/suites/examples/Test_Example_2.yaml index cc987ca0c0bc55..182c82d8ed01fb 100644 --- a/src/app/tests/suites/examples/Test_Example_2.yaml +++ b/src/app/tests/suites/examples/Test_Example_2.yaml @@ -2,7 +2,7 @@ config: cluster: "Basic Information" endpoint: 0 testTwoVariable: - type: INT16U + type: int16u defaultValue: 2 tests: - label: "Examples Test Step 1" diff --git a/src/app/tests/suites/examples/Test_Example_3.yaml b/src/app/tests/suites/examples/Test_Example_3.yaml index f2ca0a06d7bbd6..9a793af2cc0b64 100644 --- a/src/app/tests/suites/examples/Test_Example_3.yaml +++ b/src/app/tests/suites/examples/Test_Example_3.yaml @@ -2,7 +2,7 @@ config: cluster: "Basic Information" endpoint: 0 testThreeVariable: - type: INT16U + type: int16u defaultValue: 3 tests: - label: "Examples Test Step 1" diff --git a/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml index 9dfca25814f008..070a1b17aa65df 100644 --- a/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/access-control-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -26,14 +26,14 @@ limitations under the License. - + - + @@ -51,13 +51,13 @@ limitations under the License. - + - + @@ -102,7 +102,7 @@ limitations under the License. The cluster SHALL send AccessControlEntryChanged events whenever its ACL attribute data is changed by an Administrator. - + @@ -110,7 +110,7 @@ limitations under the License. The cluster SHALL send AccessControlExtensionChanged events whenever its extension attribute data is changed by an Administrator. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml index 4ed035ed47d680..7e49682a8b1845 100644 --- a/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/account-login-cluster.xml @@ -27,13 +27,13 @@ limitations under the License. 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. - + Upon receipt, the Content App checks if the account associated with the client’s Temp Account Identifier (Rotating ID) has a current active Setup PIN with the given value. If the Setup PIN is valid for the user account associated with the Temp Account Identifier, then the Content App MAY make that user account active. - - + + @@ -42,7 +42,7 @@ limitations under the License. This message is sent in response to the GetSetupPIN Request, and contains the Setup PIN code, or null when the accounts identified in the request does not match the active account of the running Content App. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml index afadef5a2ed39d..c19bca0017a675 100644 --- a/src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/actions-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -33,13 +33,13 @@ limitations under the License. - + - + @@ -47,7 +47,7 @@ limitations under the License. - + @@ -58,7 +58,7 @@ limitations under the License. - + @@ -67,20 +67,20 @@ limitations under the License. - - + + - + - - + + - + @@ -96,92 +96,92 @@ limitations under the License. This command triggers an action (state change) on the involved endpoints. - - + + This command triggers an action (state change) on the involved endpoints, with a specified time to transition from the current state to the new state. - - - + + + This command triggers the commencement of an action on the involved endpoints. - - + + This command triggers the commencement of an action (with a duration) on the involved endpoints. - - - + + + This command stops the ongoing action on the involved endpoints. - - + + This command pauses an ongoing action. - - + + This command pauses an ongoing action with a duration. - - - + + + This command resumes a previously paused action. - - + + This command enables a certain action or automation. - - + + This command enables a certain action or automation with a duration. - - - + + + This command disables a certain action or automation. - - + + This command disables a certain action or automation with a duration. - - - + + + This event SHALL be generated when there is a change in the Status of an ActionID. - - + + This event SHALL be generated when there is some error which prevents the action from its normal planned execution. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml index aa34ca9828508d..eda59d9d3eabbc 100644 --- a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml @@ -17,14 +17,14 @@ limitations under the License. - + - + @@ -40,21 +40,21 @@ limitations under the License. WindowStatus AdminFabricIndex - AdminVendorId + AdminVendorId This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. - - - - - + + + + + This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning method, if the node supports it. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/air-quality-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/air-quality-cluster.xml index 2496130e53b46c..f2ce941007bf59 100644 --- a/src/app/zap-templates/zcl/data-model/chip/air-quality-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/air-quality-cluster.xml @@ -30,7 +30,7 @@ limitations under the License. - + @@ -39,7 +39,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml index c8f9f218ed2ddb..c9e90052dc649d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml @@ -24,13 +24,13 @@ limitations under the License. true true This cluster provides information about an application running on a TV or media player device which is represented as an endpoint. - VendorName - VendorID - ApplicationName - ProductID + VendorName + VendorID + ApplicationName + ProductID Application Status - ApplicationVersion + ApplicationVersion AllowedVendorList @@ -38,11 +38,11 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml index 901de42f9525f0..2cea9bf945c77c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml @@ -25,13 +25,13 @@ limitations under the License. true This cluster provides an interface for launching content on a media player device such as a TV or Speaker. - CatalogList + CatalogList CurrentApp 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. - + @@ -47,7 +47,7 @@ limitations under the License. This command SHALL be generated in response to LaunchApp commands. - + @@ -55,7 +55,7 @@ limitations under the License. - + @@ -65,18 +65,18 @@ limitations under the License. definitions are identical, but if that ever stops being the case, we will need to stop using a single definition with two cluster codes --> - - + + - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml index b3ba1b927e02f6..d58dfca94375ee 100644 --- a/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml @@ -25,29 +25,29 @@ limitations under the License. true This cluster provides an interface for controlling the Output on a media device such as a TV. OutputList - CurrentOutput + CurrentOutput Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. - + Upon receipt, this SHALL rename the output at a specific index in the Output List. Updates to the output name SHALL appear in the TV settings menus. - - + + - + - + - + @@ -57,7 +57,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml index c555247ad7a031..1b3a2d5ffb89be 100644 --- a/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/ballast-configuration-cluster.xml @@ -41,23 +41,23 @@ limitations under the License. - PhysicalMinLevel - PhysicalMaxLevel + PhysicalMinLevel + PhysicalMaxLevel BallastStatus - MinLevel - MaxLevel + MinLevel + MaxLevel - IntrinsicBallastFactor - BallastFactorAdjustment + IntrinsicBallastFactor + BallastFactorAdjustment - LampQuantity + LampQuantity - LampType - LampManufacturer - LampRatedHours - LampBurnHours + LampType + LampManufacturer + LampRatedHours + LampBurnHours LampAlarmMode - LampBurnHoursTripPoint + LampBurnHoursTripPoint diff --git a/src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml index 4c9cd6cbd55d46..a37d30c8ce9f61 100644 --- a/src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/basic-information-cluster.xml @@ -23,7 +23,7 @@ limitations under the License. - + @@ -33,7 +33,7 @@ limitations under the License. - + @@ -110,7 +110,7 @@ limitations under the License. The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process. - + The ShutDown event SHOULD be emitted by a Node prior to any orderly shutdown sequence on a best-effort basis. diff --git a/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml index 61db59a1b29c74..09ea471a0415f8 100644 --- a/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/binding-cluster.xml @@ -19,10 +19,10 @@ limitations under the License. - - - - + + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml b/src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml index fa0ca6233561b3..649c45fea3ae5a 100644 --- a/src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml +++ b/src/app/zap-templates/zcl/data-model/chip/bridged-device-basic-information.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -27,7 +27,7 @@ limitations under the License. - + @@ -90,7 +90,7 @@ limitations under the License. The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process. - + The ShutDown event SHOULD be emitted by a Node prior to any orderly shutdown sequence on a best-effort basis. diff --git a/src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml index ab70f9c93b5e1a..80c2118e855adf 100644 --- a/src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/channel-cluster.xml @@ -30,58 +30,58 @@ limitations under the License. Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. - + Change the channel on the media plaeyer to the channel with the given Number in the ChannelList attribute. - - + + This command provides channel up and channel down functionality, but allows channel index jumps of size Count. When the value of the increase or decrease is larger than the number of channels remaining in the given direction, then the behavior SHALL be to return to the beginning (or end) of the channel list and continue. For example, if the current channel is at index 0 and count value of -1 is given, then the current channel should change to the last channel. - + Upon receipt, this SHALL display the active status of the input list on screen. - + - - - - - + + + + + - - - + + + - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml b/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml index ad9cfb35c84f66..8ea8bc06d52aad 100644 --- a/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml +++ b/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml @@ -16,20 +16,20 @@ limitations under the License. --> - + - + - + @@ -47,48 +47,48 @@ limitations under the License. Determine availability of a new Software Image - - + + - - - - + + + + Response to QueryImage command - - - - - - - + + + + + + + Determine next action to take for a downloaded Software Image - - + + Reponse to ApplyUpdateRequest command - + Notify OTA Provider that an update was applied - - + + - + - + @@ -100,7 +100,7 @@ limitations under the License. - + @@ -122,15 +122,15 @@ limitations under the License. true true DefaultOTAProviders - UpdatePossible + UpdatePossible UpdateState - UpdateStateProgress + UpdateStateProgress Announce the presence of an OTA Provider - + @@ -138,19 +138,19 @@ limitations under the License. - + This event SHALL be generated whenever a new version starts executing after being applied due to a software update. - - + + This event SHALL be generated whenever an error occurs during OTA Requestor download operation. - - - - + + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml index a51b68479f576b..0dcb76abac44ea 100644 --- a/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/color-control-cluster.xml @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + @@ -24,7 +24,7 @@ limitations under the License. - + @@ -32,40 +32,40 @@ limitations under the License. - + - + - + - + - + - + @@ -74,7 +74,7 @@ limitations under the License. - + @@ -82,14 +82,14 @@ limitations under the License. - + - + @@ -107,132 +107,132 @@ limitations under the License. - CurrentHue + CurrentHue - CurrentSaturation + CurrentSaturation - RemainingTime + RemainingTime - CurrentX + CurrentX - CurrentY + CurrentY - DriftCompensation + DriftCompensation - CompensationText + CompensationText - ColorTemperatureMireds + ColorTemperatureMireds - ColorMode + ColorMode - Options + Options - NumberOfPrimaries + NumberOfPrimaries - Primary1X + Primary1X - Primary1Y + Primary1Y - Primary1Intensity + Primary1Intensity - Primary2X + Primary2X - Primary2Y + Primary2Y - Primary2Intensity + Primary2Intensity - Primary3X + Primary3X - Primary3Y + Primary3Y - Primary3Intensity + Primary3Intensity - Primary4X + Primary4X - Primary4Y + Primary4Y - Primary4Intensity + Primary4Intensity - Primary5X + Primary5X - Primary5Y + Primary5Y - Primary5Intensity + Primary5Intensity - Primary6X + Primary6X - Primary6Y + Primary6Y - Primary6Intensity + Primary6Intensity - + WhitePointX - + WhitePointY - + ColorPointRX - + ColorPointRY - + ColorPointRIntensity - + ColorPointGX - + ColorPointGY - + ColorPointGIntensity - + ColorPointBX - + ColorPointBY - + ColorPointBIntensity - CoupleColorTempToLevelMinMireds - + CoupleColorTempToLevelMinMireds + StartUpColorTemperatureMireds @@ -242,11 +242,11 @@ limitations under the License. Move to specified hue. - + - - - + + + @@ -254,9 +254,9 @@ limitations under the License. Move hue up or down at specified rate. - - - + + + @@ -264,20 +264,20 @@ limitations under the License. Step hue up or down by specified size at specified rate. - - - - + + + + Move to specified saturation. - - - - + + + + @@ -285,9 +285,9 @@ limitations under the License. Move saturation up or down at specified rate. - - - + + + @@ -295,87 +295,87 @@ limitations under the License. Step saturation up or down by specified size at specified rate. - - - - + + + + Move to hue and saturation. - - - - - + + + + + Move to specified color. - - - - - + + + + + Moves the color. - - - - + + + + Steps the lighting to a specific color. - - - - - + + + + + Move to a specific color temperature. - - - - + + + + - EnhancedCurrentHue - EnhancedColorMode - ColorLoopActive - ColorLoopDirection - ColorLoopTime - ColorLoopStartEnhancedHue - ColorLoopStoredEnhancedHue - ColorCapabilities - ColorTempPhysicalMinMireds - ColorTempPhysicalMaxMireds + EnhancedCurrentHue + EnhancedColorMode + ColorLoopActive + ColorLoopDirection + ColorLoopTime + ColorLoopStartEnhancedHue + ColorLoopStoredEnhancedHue + ColorCapabilities + ColorTempPhysicalMinMireds + ColorTempPhysicalMaxMireds Command description for EnhancedMoveToHue - + - - - + + + @@ -383,9 +383,9 @@ limitations under the License. Command description for EnhancedMoveHue - - - + + + @@ -393,21 +393,21 @@ limitations under the License. Command description for EnhancedStepHue - - - - + + + + Command description for EnhancedMoveToHueAndSaturation - - - - - + + + + + @@ -417,18 +417,18 @@ limitations under the License. - - - - + + + + Command description for StopMoveStep - - + + @@ -436,11 +436,11 @@ limitations under the License. Command description for MoveColorTemperature - - - - - + + + + + @@ -448,12 +448,12 @@ limitations under the License. Command description for StepColorTemperature - - - - - - + + + + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/concentration-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/concentration-measurement-cluster.xml index 5e6be6436336ff..a53d6f4e83d3c8 100644 --- a/src/app/zap-templates/zcl/data-model/chip/concentration-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/concentration-measurement-cluster.xml @@ -267,7 +267,7 @@ limitations under the License. - + @@ -287,7 +287,7 @@ limitations under the License. - + @@ -305,7 +305,7 @@ limitations under the License. - + @@ -326,7 +326,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml index 738c885b7a7ce0..92cfef63019d77 100644 --- a/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml @@ -25,27 +25,27 @@ limitations under the License. true This cluster provides an interface for launching content on a media player device such as a TV or Speaker. - AcceptHeader - SupportedStreamingProtocols + AcceptHeader + SupportedStreamingProtocols Upon receipt, this SHALL launch the specified content with optional search criteria. - - + + Upon receipt, this SHALL launch content from the specified URL. - - + + This command SHALL be generated in response to LaunchContent command. - + @@ -57,11 +57,11 @@ limitations under the License. - - + + - + @@ -76,14 +76,14 @@ limitations under the License. - - + + - + @@ -92,7 +92,7 @@ limitations under the License. - + @@ -110,7 +110,7 @@ limitations under the License. - + @@ -120,17 +120,17 @@ limitations under the License. - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml index 3d41b09fcf6991..f0670e25b0aab4 100644 --- a/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml @@ -19,19 +19,19 @@ limitations under the License. - - + + - - - - + + + + - + @@ -46,9 +46,9 @@ limitations under the License. DeviceTypeList - ServerList - ClientList - PartsList + ServerList + ClientList + PartsList TagList diff --git a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml index f81ddc729fecde..c55edf507f51be 100644 --- a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml @@ -16,13 +16,13 @@ limitations under the License. --> - + - + @@ -30,7 +30,7 @@ limitations under the License. - + @@ -47,7 +47,7 @@ limitations under the License. Retrieving diagnostic logs from a Node - + Response to the RetrieveLogsRequest diff --git a/src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml index 13fed1ecfdd9db..598bf5442fccb2 100644 --- a/src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/dishwasher-alarm-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -61,7 +61,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml index 49e4d4c86ff105..686deb61a4fc8c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/dishwasher-mode-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -35,9 +35,9 @@ limitations under the License. SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode @@ -45,15 +45,15 @@ limitations under the License. This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command. - + This command is sent by the device on receipt of the ChangeToModeWithStatus command. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml index 3b65e551bf963e..b7c7782b221030 100644 --- a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml @@ -75,63 +75,63 @@ limitations under the License. DoorState - + DoorOpenEvents - + DoorClosedEvents - + OpenPeriod - NumberOfTotalUsersSupported + NumberOfTotalUsersSupported - NumberOfPINUsersSupported + NumberOfPINUsersSupported - NumberOfRFIDUsersSupported + NumberOfRFIDUsersSupported - NumberOfWeekDaySchedulesSupportedPerUser + NumberOfWeekDaySchedulesSupportedPerUser - NumberOfYearDaySchedulesSupportedPerUser + NumberOfYearDaySchedulesSupportedPerUser - NumberOfHolidaySchedulesSupported + NumberOfHolidaySchedulesSupported - MaxPINCodeLength + MaxPINCodeLength - MinPINCodeLength + MinPINCodeLength - MaxRFIDCodeLength + MaxRFIDCodeLength - MinRFIDCodeLength + MinRFIDCodeLength CredentialRulesSupport - NumberOfCredentialsSupportedPerUser - + NumberOfCredentialsSupportedPerUser + Language - + LEDSettings - + AutoRelockTime - + SoundVolume @@ -169,13 +169,13 @@ limitations under the License. - + WrongCodeEntryLimit - + UserCodeTemporaryDisableTime @@ -194,7 +194,7 @@ limitations under the License. - + ExpiringUserTimeout @@ -204,64 +204,64 @@ limitations under the License. This command causes the lock device to lock the door. - + This command causes the lock device to unlock the door. - + This command causes the lock device to unlock the door with a timeout parameter. - + - + Set a weekly repeating schedule for a specified user. - - + + - - - - + + + + Retrieve the specific weekly schedule for the specific user. - - + + Returns the weekly repeating schedule data for the specified schedule index. - - + + - - - - + + + + Clear the specific weekly schedule or all weekly schedules for the specific user. - - + + Set a time-specific schedule ID for a specified user. - - + + @@ -269,14 +269,14 @@ limitations under the License. Returns the year day schedule data for the specified schedule and user indexes. - - + + Returns the year day schedule data for the specified schedule and user indexes. - - + + @@ -285,14 +285,14 @@ limitations under the License. Clears the specific year day schedule or all year day schedules for the specific user. - - + + Set the holiday Schedule by specifying local start time and local end time with respect to any Lock Operating Mode. - + @@ -301,12 +301,12 @@ limitations under the License. Get the holiday schedule for the specified index. - + Returns the Holiday Schedule Entry for the specified Holiday ID. - + @@ -316,16 +316,16 @@ limitations under the License. Clears the holiday schedule or all holiday schedules. - + Set User into the lock. - - - + + + @@ -334,27 +334,27 @@ limitations under the License. Retrieve User. - + Returns the User for the specified UserIndex. - - - + + + - + Clears a User or all Users. - + @@ -363,7 +363,7 @@ limitations under the License. - + @@ -371,8 +371,8 @@ limitations under the License. Returns the status for setting the specified credential. - - + + @@ -384,10 +384,10 @@ limitations under the License. Returns the status for the specified credential. - + - + @@ -398,7 +398,7 @@ limitations under the License. This command causes the lock device to unlock the door without pulling the latch. - + @@ -416,9 +416,9 @@ limitations under the License. The door lock server sends out a LockOperation event when the event is triggered by the various lock operation sources. - + - + @@ -427,9 +427,9 @@ limitations under the License. - + - + @@ -438,16 +438,16 @@ limitations under the License. - + - - + + - + @@ -459,14 +459,14 @@ limitations under the License. - + - + @@ -476,10 +476,10 @@ limitations under the License. - + - + @@ -489,14 +489,14 @@ limitations under the License. - + - + @@ -507,7 +507,7 @@ limitations under the License. - + @@ -517,7 +517,7 @@ limitations under the License. - + @@ -532,7 +532,7 @@ limitations under the License. - + @@ -541,7 +541,7 @@ limitations under the License. - + @@ -550,7 +550,7 @@ limitations under the License. - + @@ -559,7 +559,7 @@ limitations under the License. - + @@ -573,14 +573,14 @@ limitations under the License. - + - + @@ -597,7 +597,7 @@ limitations under the License. - + @@ -606,7 +606,7 @@ limitations under the License. - + @@ -623,7 +623,7 @@ limitations under the License. - + @@ -631,7 +631,7 @@ limitations under the License. - + @@ -641,7 +641,7 @@ limitations under the License. - + @@ -652,7 +652,7 @@ limitations under the License. - + @@ -661,7 +661,7 @@ limitations under the License. - + @@ -674,7 +674,7 @@ limitations under the License. - + @@ -686,7 +686,7 @@ limitations under the License. - + @@ -702,7 +702,7 @@ limitations under the License. - + @@ -714,7 +714,7 @@ limitations under the License. - + @@ -724,7 +724,7 @@ limitations under the License. - + @@ -736,14 +736,14 @@ limitations under the License. - + - + @@ -754,7 +754,7 @@ limitations under the License. - + @@ -771,7 +771,7 @@ limitations under the License. - + @@ -779,7 +779,7 @@ limitations under the License. - + @@ -798,7 +798,7 @@ limitations under the License. - + @@ -809,7 +809,7 @@ limitations under the License. - + @@ -817,7 +817,7 @@ limitations under the License. - + @@ -827,7 +827,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml index 54c590efa83c7f..f3b6192bbef2b3 100644 --- a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -29,7 +29,7 @@ limitations under the License. - + @@ -41,14 +41,14 @@ limitations under the License. ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. PHYRate - FullDuplex - PacketRxCount - PacketTxCount - TxErrCount - CollisionCount - OverrunCount - CarrierDetect - TimeSinceReset + FullDuplex + PacketRxCount + PacketTxCount + TxErrCount + CollisionCount + OverrunCount + CarrierDetect + TimeSinceReset Reception of this command SHALL reset the attributes: PacketRxCount, PacketTxCount, TxErrCount, CollisionCount, OverrunCount to 0 diff --git a/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml index e78de6367b8c7f..9eb833bc5cf12c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/fan-control-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -27,7 +27,7 @@ limitations under the License. - + @@ -38,7 +38,7 @@ limitations under the License. - + @@ -48,26 +48,26 @@ limitations under the License. - + - + - + - + @@ -87,11 +87,11 @@ limitations under the License. FanMode FanModeSequence - PercentSetting - PercentCurrent - SpeedMax - SpeedSetting - SpeedCurrent + PercentSetting + PercentCurrent + SpeedMax + SpeedSetting + SpeedCurrent RockSupport RockSetting WindSupport diff --git a/src/app/zap-templates/zcl/data-model/chip/fault-injection-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fault-injection-cluster.xml index e4e92aee68ea0c..76bc15ea6a904c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/fault-injection-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/fault-injection-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -33,17 +33,17 @@ limitations under the License. Configure a fault to be triggered deterministically - - - - + + + + Configure a fault to be triggered randomly, with a given probability defined as a percentage - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml index 4c5e82c8646b73..a0280a3a3ab2eb 100644 --- a/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml @@ -20,8 +20,8 @@ limitations under the License. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml index fe048ff5fdeed8..3e546e968514ea 100644 --- a/src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/flow-measurement-cluster.xml @@ -24,10 +24,10 @@ limitations under the License. FLOW_MEASUREMENT_CLUSTER true true - MeasuredValue - MinMeasuredValue - MaxMeasuredValue - Tolerance + MeasuredValue + MinMeasuredValue + MaxMeasuredValue + Tolerance diff --git a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml index 390da4c31d2bd1..a307d0c192a6b9 100644 --- a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -24,7 +24,7 @@ limitations under the License. - + @@ -32,8 +32,8 @@ limitations under the License. - - + + General @@ -41,7 +41,7 @@ limitations under the License. 0x0030 GENERAL_COMMISSIONING_CLUSTER This cluster is used to manage global aspects of the Commissioning flow. - + Breadcrumb @@ -53,26 +53,26 @@ limitations under the License. Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock - - + + Success/failure response for ArmFailSafe command - + Set the regulatory configuration to be used during commissioning - - + + Success/failure response for SetRegulatoryConfig command - + Signals the Server that the Client has successfully completed all steps of Commissioning/Recofiguration needed during fail-safe period. @@ -81,7 +81,7 @@ limitations under the License. Indicates to client whether CommissioningComplete command succeeded - + diff --git a/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml index f8bd8ec8f1c664..4e0e9b5cafdfe2 100644 --- a/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -30,7 +30,7 @@ limitations under the License. - + @@ -40,14 +40,14 @@ limitations under the License. - + - + @@ -57,7 +57,7 @@ limitations under the License. - + @@ -67,14 +67,14 @@ limitations under the License. - - - - + + + + - - - + + + @@ -84,20 +84,20 @@ limitations under the License. GENERAL_DIAGNOSTICS_CLUSTER The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. NetworkInterfaces - RebootCount - UpTime - TotalOperationalHours + RebootCount + UpTime + TotalOperationalHours BootReason ActiveHardwareFaults ActiveRadioFaults ActiveNetworkFaults - TestEventTriggersEnabled - AverageWearCount + TestEventTriggersEnabled + AverageWearCount Provide a means for certification tests to trigger some test-plan-specific events - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml index 6dcf1b0eaa33a0..e28ce24c6aaf71 100644 --- a/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml @@ -20,36 +20,36 @@ limitations under the License. - + - + - + - + - + - + - + - + @@ -65,8 +65,8 @@ limitations under the License. GroupTable - MaxGroupsPerFabric - MaxGroupKeysPerFabric + MaxGroupsPerFabric + MaxGroupKeysPerFabric Write a new set of keys for the given key set id. @@ -76,7 +76,7 @@ limitations under the License. Read the keys for a given key set id. - + @@ -89,7 +89,7 @@ limitations under the License. Revoke a Root Key from a Group - + @@ -102,7 +102,7 @@ limitations under the License. Reseponse to KeySetReadAllIndices - + diff --git a/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml index 41c5f447579977..454c6a8032897c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/groups-cluster.xml @@ -17,12 +17,12 @@ limitations under the License. - + - + @@ -48,7 +48,7 @@ limitations under the License. - + @@ -86,14 +86,14 @@ limitations under the License. - + Command description for AddGroupResponse - + @@ -101,16 +101,16 @@ limitations under the License. Command description for ViewGroupResponse - + - + Command description for GetGroupMembershipResponse - + @@ -118,7 +118,7 @@ limitations under the License. Command description for RemoveGroupResponse - + diff --git a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml index 2377c77a243df2..7c31572e7aba34 100644 --- a/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/icd-management-cluster.xml @@ -18,7 +18,7 @@ limitations under the License. - + @@ -26,7 +26,7 @@ limitations under the License. - + @@ -42,37 +42,37 @@ limitations under the License. - IdleModeInterval - ActiveModeInterval - ActiveModeThreshold + IdleModeInterval + ActiveModeInterval + ActiveModeThreshold RegisteredClients - + ICDCounter - ClientsSupportedPerFabric + ClientsSupportedPerFabric Register a client to the end device - - - + + + RegisterClient response command - + Unregister a client from an end device - + diff --git a/src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml index 3348e15ce25731..b64eb7702f1517 100644 --- a/src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/identify-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -27,7 +27,7 @@ limitations under the License. - + @@ -37,7 +37,7 @@ limitations under the License. - + @@ -52,14 +52,14 @@ limitations under the License. true - IdentifyTime + IdentifyTime IdentifyType Command description for Identify - + diff --git a/src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml index 30070f05493480..b744964ca0a9aa 100644 --- a/src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/illuminance-measurement-cluster.xml @@ -26,14 +26,14 @@ limitations under the License. true true - MeasuredValue - MinMeasuredValue - MaxMeasuredValue - Tolerance + MeasuredValue + MinMeasuredValue + MaxMeasuredValue + Tolerance LightSensorType - + diff --git a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml index 68ea66b62e8e5f..37fdfec1abcfbd 100644 --- a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml @@ -37,14 +37,14 @@ limitations under the License. - + - + @@ -140,7 +140,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/laundry-washer-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/laundry-washer-mode-cluster.xml index 95eb512618f274..0747c2f55c9c8d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/laundry-washer-mode-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/laundry-washer-mode-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -35,9 +35,9 @@ limitations under the License. Attributes and commands for selecting a mode from a list of supported options. SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode @@ -45,15 +45,15 @@ limitations under the License. This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command. - + This command is sent by the device on receipt of the ChangeToModeWithStatus command. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml index 85bfb6100d6f99..b0f562076979a8 100644 --- a/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/level-control-cluster.xml @@ -17,26 +17,26 @@ limitations under the License. - + - + - + - + @@ -54,21 +54,21 @@ limitations under the License. - CurrentLevel - RemainingTime - MinLevel - MaxLevel - CurrentFrequency - MinFrequency - MaxFrequency + CurrentLevel + RemainingTime + MinLevel + MaxLevel + CurrentFrequency + MinFrequency + MaxFrequency - OnOffTransitionTime - OnLevel - OnTransitionTime - OffTransitionTime - DefaultMoveRate + OnOffTransitionTime + OnLevel + OnTransitionTime + OffTransitionTime + DefaultMoveRate Options - + StartUpCurrentLevel @@ -78,8 +78,8 @@ limitations under the License. Command description for MoveToLevel - - + + @@ -89,7 +89,7 @@ limitations under the License. Command description for Move - + @@ -99,8 +99,8 @@ limitations under the License. Command description for Step - - + + @@ -117,8 +117,8 @@ limitations under the License. Command description for MoveToLevelWithOnOff - - + + @@ -128,7 +128,7 @@ limitations under the License. Command description for MoveWithOnOff - + @@ -138,8 +138,8 @@ limitations under the License. Command description for StepWithOnOff - - + + @@ -157,7 +157,7 @@ limitations under the License. Change the currrent frequency to the provided one, or a close approximation if the exact provided one is not possible. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml index 66e13fcfa44a38..0c69e5eb349a76 100644 --- a/src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/localization-configuration-cluster.xml @@ -28,7 +28,7 @@ limitations under the License. standards. As such, Nodes that visually or audibly convey information need a mechanism by which they can be configured to use a user’s preferred language, units, etc - ActiveLocale - SupportedLocales + ActiveLocale + SupportedLocales diff --git a/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml index d390e793cff781..e2841a1d6fb7d1 100644 --- a/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml @@ -26,11 +26,11 @@ limitations under the License. This cluster provides an interface for controlling the Input Selector on a media device such as a TV. InputList - CurrentInput + CurrentInput Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. - + @@ -43,21 +43,21 @@ limitations under the License. Upon receipt, this SHALL rename the input at a specific index in the Input List. Updates to the input name SHALL appear in the TV settings menus. - - + + - + - - + + - + @@ -73,7 +73,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml index 0444bdfbf9c98a..ecf7e3c7317256 100644 --- a/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml @@ -27,12 +27,12 @@ limitations under the License. CurrentState - StartTime - Duration + StartTime + Duration SampledPosition PlaybackSpeed - SeekRangeEnd - SeekRangeStart + SeekRangeEnd + SeekRangeStart @@ -69,23 +69,23 @@ limitations under the License. Upon receipt, this SHALL Skip forward in the media by the given number of seconds, using the data as follows: - + Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows: - + Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows: - + This command SHALL be generated in response to various Playback Request commands. - + @@ -93,10 +93,10 @@ limitations under the License. - + - + @@ -104,7 +104,7 @@ limitations under the License. - + @@ -114,7 +114,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml index 8ffee46d3be3a9..9b22387cfc0bd2 100644 --- a/src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/mode-base-cluster.xml @@ -31,7 +31,7 @@ This is because zap does not currently support generating code for clusters that - + @@ -40,8 +40,8 @@ This is because zap does not currently support generating code for clusters that - - + + @@ -56,9 +56,9 @@ This is because zap does not currently support generating code for clusters that - - - + + + @@ -66,19 +66,19 @@ This is because zap does not currently support generating code for clusters that - + - - + + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml index 76b056acf50ea6..323f12e551eaf3 100644 --- a/src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/mode-select-cluster.xml @@ -20,13 +20,13 @@ limitations under the License. - + - - + + @@ -42,24 +42,24 @@ limitations under the License. Attributes and commands for selecting a mode from a list of supported options. - Description - StandardNamespace + Description + StandardNamespace SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode 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. - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml index b079143db6dee5..14365b605d9c92 100644 --- a/src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/network-commissioning-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -32,7 +32,7 @@ limitations under the License. - + @@ -41,7 +41,7 @@ limitations under the License. - + @@ -52,27 +52,27 @@ limitations under the License. - - - + + + - + - - - - - - - - + + + + + + + + - - + + @@ -84,7 +84,7 @@ limitations under the License. true true - + MaxNetworks @@ -92,9 +92,9 @@ limitations under the License. Networks - ScanMaxTimeSeconds - ConnectMaxTimeSeconds - + ScanMaxTimeSeconds + ConnectMaxTimeSeconds + InterfaceEnabled @@ -103,74 +103,74 @@ limitations under the License. LastNetworkingStatus - + LastNetworkID - + LastConnectErrorValue Detemine the set of networks the device sees as available. - - + + Relay the set of networks the device sees as available back to the client. - + Add or update the credentials for a given Wi-Fi network. - - - + + + Add or update the credentials for a given Thread network. - - + + Remove the definition of a given network (including its credentials). - - + + Response command for various commands that add/remove/modify network credentials. - - + + Connect to the specified network, using previously-defined credentials. - - + + Command that indicates whether we have succcessfully connected to a network. - - + + Modify the order in which networks will be presented in the Networks attribute. - - - + + + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml index ec019f988023ca..a174530c52b273 100644 --- a/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/occupancy-sensing-cluster.xml @@ -17,12 +17,12 @@ limitations under the License. - + - + @@ -30,7 +30,7 @@ limitations under the License. - + @@ -53,55 +53,55 @@ limitations under the License. OccupancySensorType OccupancySensorTypeBitmap - + PIROccupiedToUnoccupiedDelay - + PIRUnoccupiedToOccupiedDelay - + PIRUnoccupiedToOccupiedThreshold - + UltrasonicOccupiedToUnoccupiedDelay - + UltrasonicUnoccupiedToOccupiedDelay - + UltrasonicUnoccupiedToOccupiedThreshold - + PhysicalContactOccupiedToUnoccupiedDelay - + PhysicalContactUnoccupiedToOccupiedDelay - + PhysicalContactUnoccupiedToOccupiedThreshold diff --git a/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml index 91af71dc367b8f..20074f4728d8df 100644 --- a/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -42,7 +42,7 @@ limitations under the License. - + @@ -95,7 +95,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml index 30ef7856af36ac..0590efbe501263 100644 --- a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml @@ -19,14 +19,14 @@ limitations under the License. - - - - - + + + + + - + @@ -42,11 +42,11 @@ limitations under the License. - - + + - + @@ -64,21 +64,21 @@ limitations under the License. Fabrics - SupportedFabrics - CommissionedFabrics - TrustedRootCertificates - CurrentFabricIndex + SupportedFabrics + CommissionedFabrics + TrustedRootCertificates + CurrentFabricIndex Sender is requesting attestation information from the receiver. - + An attestation information confirmation from the server. - - + + @@ -89,12 +89,12 @@ limitations under the License. A device attestation certificate (DAC) or product attestation intermediate (PAI) certificate from the server. - + Sender is requesting a certificate signing request (CSR) from the receiver. - + @@ -102,24 +102,24 @@ limitations under the License. A certificate signing request (CSR) from the server. - - + + Sender is requesting to add the new node operational certificates. - - - - - + + + + + Sender is requesting to update the node operational certificates. - - + + @@ -127,12 +127,12 @@ limitations under the License. Response to AddNOC or UpdateNOC commands. - + This command SHALL be used by an Administrative Node to set the user-visible Label field for a given Fabric, as reflected by entries in the Fabrics attribute. - + @@ -144,7 +144,7 @@ limitations under the License. This command SHALL add a Trusted Root CA Certificate, provided as its CHIP Certificate representation. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/operational-state-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-state-cluster.xml index 0a4c0172ea2625..4b9b3ec27c5933 100644 --- a/src/app/zap-templates/zcl/data-model/chip/operational-state-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-state-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -25,7 +25,7 @@ limitations under the License. - + @@ -36,16 +36,16 @@ limitations under the License. - - + + - - - + + + @@ -59,8 +59,8 @@ limitations under the License. - PhaseList - CurrentPhase + PhaseList + CurrentPhase CountdownTime OperationalStateList OperationalState @@ -94,7 +94,7 @@ limitations under the License. OperationCompletion - + diff --git a/src/app/zap-templates/zcl/data-model/chip/operational-state-rvc-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-state-rvc-cluster.xml index 4943d0a8fd61a3..44982132bce51d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/operational-state-rvc-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-state-rvc-cluster.xml @@ -17,14 +17,14 @@ limitations under the License. - + - + @@ -47,8 +47,8 @@ limitations under the License. - PhaseList - CurrentPhase + PhaseList + CurrentPhase CountdownTime OperationalStateList @@ -57,7 +57,7 @@ The type of this attribute in the spec is OperationalStateEnum, but the Operatio excludes the values from the base OperationalState cluster. Just use ENUM8 for the type, so it allows both values from this cluster and from the base cluster. --> - OperationalState + OperationalState OperationalError @@ -88,7 +88,7 @@ both values from this cluster and from the base cluster. OperationCompletion - + diff --git a/src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml index dd3edf4875b65e..d795b8758f107b 100644 --- a/src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/power-source-cluster.xml @@ -26,37 +26,37 @@ limitations under the License. This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the Node. Status - Order - Description + Order + Description - WiredAssessedInputVoltage - WiredAssessedInputFrequency + WiredAssessedInputVoltage + WiredAssessedInputFrequency WiredCurrentType - WiredAssessedCurrent - WiredNominalVoltage - WiredMaximumCurrent - WiredPresent + WiredAssessedCurrent + WiredNominalVoltage + WiredMaximumCurrent + WiredPresent ActiveWiredFaults - BatVoltage - BatPercentRemaining - BatTimeRemaining + BatVoltage + BatPercentRemaining + BatTimeRemaining BatChargeLevel - BatReplacementNeeded + BatReplacementNeeded BatReplaceability - BatPresent + BatPresent ActiveBatFaults - BatReplacementDescription + BatReplacementDescription BatCommonDesignation - BatANSIDesignation - BatIECDesignation + BatANSIDesignation + BatIECDesignation BatApprovedChemistry - BatCapacity - BatQuantity + BatCapacity + BatQuantity BatChargeState - BatTimeToFullCharge - BatFunctionalWhileCharging - BatChargingCurrent + BatTimeToFullCharge + BatFunctionalWhileCharging + BatChargingCurrent ActiveBatChargeFaults EndpointList @@ -80,7 +80,7 @@ limitations under the License. - + @@ -88,21 +88,21 @@ limitations under the License. - + - + - + @@ -117,7 +117,7 @@ limitations under the License. - + @@ -125,20 +125,20 @@ limitations under the License. - + - + - + @@ -146,7 +146,7 @@ limitations under the License. - + @@ -154,7 +154,7 @@ limitations under the License. - + @@ -239,7 +239,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/power-source-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/power-source-configuration-cluster.xml index 23d802ac115043..347762b8d4cedd 100644 --- a/src/app/zap-templates/zcl/data-model/chip/power-source-configuration-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/power-source-configuration-cluster.xml @@ -26,6 +26,6 @@ limitations under the License. true true - Sources + Sources diff --git a/src/app/zap-templates/zcl/data-model/chip/pressure-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/pressure-measurement-cluster.xml index 7a783e45d6df3d..f66c546abd60ce 100644 --- a/src/app/zap-templates/zcl/data-model/chip/pressure-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/pressure-measurement-cluster.xml @@ -25,18 +25,18 @@ limitations under the License. true true - MeasuredValue - MinMeasuredValue - MaxMeasuredValue - Tolerance - ScaledValue - MinScaledValue - MaxScaledValue - ScaledTolerance - Scale + MeasuredValue + MinMeasuredValue + MaxMeasuredValue + Tolerance + ScaledValue + MinScaledValue + MaxScaledValue + ScaledTolerance + Scale - + diff --git a/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml index a199ce71ac9e11..9d2ef812ac609d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml @@ -25,31 +25,31 @@ limitations under the License. true true - MaxPressure - MaxSpeed - MaxFlow - MinConstPressure - MaxConstPressure - MinCompPressure - MaxCompPressure - MinConstSpeed - MaxConstSpeed - MinConstFlow - MaxConstFlow - MinConstTemp - MaxConstTemp + MaxPressure + MaxSpeed + MaxFlow + MinConstPressure + MaxConstPressure + MinCompPressure + MaxCompPressure + MinConstSpeed + MaxConstSpeed + MinConstFlow + MaxConstFlow + MinConstTemp + MaxConstTemp PumpStatus EffectiveOperationMode EffectiveControlMode - Capacity - Speed - + Capacity + Speed + LifetimeRunningHours - Power - + Power + LifetimeEnergyConsumed @@ -118,7 +118,7 @@ limitations under the License. - + @@ -131,7 +131,7 @@ limitations under the License. - + @@ -139,7 +139,7 @@ limitations under the License. - + @@ -149,7 +149,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/refrigerator-alarm.xml b/src/app/zap-templates/zcl/data-model/chip/refrigerator-alarm.xml index 7cc27383a91bcf..08918ff1b235a7 100644 --- a/src/app/zap-templates/zcl/data-model/chip/refrigerator-alarm.xml +++ b/src/app/zap-templates/zcl/data-model/chip/refrigerator-alarm.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + diff --git a/src/app/zap-templates/zcl/data-model/chip/refrigerator-and-temperature-controlled-cabinet-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/refrigerator-and-temperature-controlled-cabinet-mode-cluster.xml index c55109379e5aa2..7b60cff33629a1 100644 --- a/src/app/zap-templates/zcl/data-model/chip/refrigerator-and-temperature-controlled-cabinet-mode-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/refrigerator-and-temperature-controlled-cabinet-mode-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -33,9 +33,9 @@ limitations under the License. Attributes and commands for selecting a mode from a list of supported options. SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode @@ -43,15 +43,15 @@ limitations under the License. This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command. - + This command is sent by the device on receipt of the ChangeToModeWithStatus command. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml index 41f070b27b7ef2..e309b75dcc46bd 100644 --- a/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/relative-humidity-measurement-cluster.xml @@ -25,9 +25,9 @@ limitations under the License. true true - MeasuredValue - MinMeasuredValue - MaxMeasuredValue - Tolerance + MeasuredValue + MinMeasuredValue + MaxMeasuredValue + Tolerance diff --git a/src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml index efce0eab24d55f..11643c6b836624 100644 --- a/src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/resource-monitoring-cluster.xml @@ -63,7 +63,7 @@ limitations under the License. - + @@ -72,14 +72,14 @@ limitations under the License. - + - + @@ -87,7 +87,7 @@ limitations under the License. - + @@ -105,12 +105,12 @@ limitations under the License. - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml index 8921822d4f89c5..029de40ac06947 100644 --- a/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/rvc-clean-mode-cluster.xml @@ -17,12 +17,12 @@ limitations under the License. - + - + @@ -39,9 +39,9 @@ limitations under the License. Attributes and commands for selecting a mode from a list of supported options. SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode @@ -49,15 +49,15 @@ limitations under the License. This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command. - + This command is sent by the device on receipt of the ChangeToModeWithStatus command. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml index d6a3a241c32bd1..f663dce39ec4a7 100644 --- a/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/rvc-run-mode-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -29,7 +29,7 @@ limitations under the License. - + @@ -45,9 +45,9 @@ limitations under the License. Attributes and commands for selecting a mode from a list of supported options. SupportedModes - CurrentMode - StartUpMode - OnMode + CurrentMode + StartUpMode + OnMode @@ -55,15 +55,15 @@ limitations under the License. This command is used to change device modes. On receipt of this command the device SHALL respond with a ChangeToModeResponse command. - + This command is sent by the device on receipt of the ChangeToModeWithStatus command. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml index 98790ca85babe8..ca5768f156476e 100644 --- a/src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/sample-mei-cluster.xml @@ -30,14 +30,14 @@ limitations under the License. - FlipFlop + FlipFlop Response for AddArguments that returns the sum. - + @@ -45,8 +45,8 @@ limitations under the License. Command that takes two uint8 arguments and returns their sum. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/scene.xml b/src/app/zap-templates/zcl/data-model/chip/scene.xml index 903d07b3a1670b..8418f9c4a97eee 100644 --- a/src/app/zap-templates/zcl/data-model/chip/scene.xml +++ b/src/app/zap-templates/zcl/data-model/chip/scene.xml @@ -15,7 +15,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + @@ -23,7 +23,7 @@ limitations under the License. - + @@ -43,22 +43,22 @@ limitations under the License. true - SceneCount - CurrentScene + SceneCount + CurrentScene CurrentGroup - SceneValid - NameSupport + SceneValid + NameSupport LastConfiguredBy - SceneTableSize - RemainingCapacity + SceneTableSize + RemainingCapacity Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}' - - - + + + @@ -68,7 +68,7 @@ limitations under the License. Retrieves the requested scene entry from its Scene table. - + @@ -76,7 +76,7 @@ limitations under the License. Removes the requested scene entry, corresponding to the value of the GroupID field, from its Scene Table - + @@ -93,7 +93,7 @@ limitations under the License. Adds the scene entry into its Scene Table along with all extension field sets corresponding to the current state of other clusters on the same endpoint - + @@ -102,8 +102,8 @@ limitations under the License. Set the attributes and corresponding state for each other cluster implemented on the endpoint accordingly to the resquested scene entry in the Scene Table - - + + @@ -118,9 +118,9 @@ limitations under the License. Allows a scene to be added using a finer scene transition time than the AddScene command. - - - + + + @@ -128,7 +128,7 @@ limitations under the License. Allows a scene to be retrieved using a finer scene transition time than the ViewScene command - + @@ -136,9 +136,9 @@ limitations under the License. - + - + @@ -147,7 +147,7 @@ limitations under the License. - + @@ -156,9 +156,9 @@ limitations under the License. - - - + + + @@ -168,7 +168,7 @@ limitations under the License. - + @@ -185,7 +185,7 @@ limitations under the License. - + @@ -193,9 +193,9 @@ limitations under the License. The command is generated in response to a received unicast GetSceneMembership command - + - + @@ -204,7 +204,7 @@ limitations under the License. - + @@ -212,10 +212,10 @@ limitations under the License. The command is generated in response to a received unicast EnhancedViewScene command - - - - + + + + @@ -224,12 +224,12 @@ limitations under the License. The command is generated in response to a received unicast CopyScene command - - + + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/smoke-co-alarm-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/smoke-co-alarm-cluster.xml index 2a7c4b9818ca30..c9700fe14cccc4 100644 --- a/src/app/zap-templates/zcl/data-model/chip/smoke-co-alarm-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/smoke-co-alarm-cluster.xml @@ -98,21 +98,21 @@ limitations under the License. - + - + - + @@ -125,19 +125,19 @@ limitations under the License. - + - + - + @@ -145,7 +145,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml index bab77e99dfe84e..fe558cb0ea0acc 100644 --- a/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml @@ -18,11 +18,11 @@ limitations under the License. - - - - - + + + + + General @@ -31,20 +31,20 @@ limitations under the License. SOFTWARE_DIAGNOSTICS_CLUSTER The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. ThreadMetrics - CurrentHeapFree - CurrentHeapUsed - CurrentHeapHighWatermark + CurrentHeapFree + CurrentHeapUsed + CurrentHeapHighWatermark Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute. Indicate the last software fault that has taken place on the Node. - - - + + + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml index 2199b908577049..7586e063843f62 100644 --- a/src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/switch-cluster.xml @@ -30,43 +30,43 @@ Interactions with the switch device are exposed as attributes (for the latching - NumberOfPositions - CurrentPosition - MultiPressMax + NumberOfPositions + CurrentPosition + MultiPressMax SwitchLatched - + InitialPress - + LongPress - + ShortRelease - + LongRelease - + MultiPressOngoing - - + + MultiPressComplete - - + + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml index 705510cc5ac36d..adfa5dbc808190 100644 --- a/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml @@ -25,22 +25,22 @@ limitations under the License. true This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. TargetList - CurrentTarget + CurrentTarget Upon receipt, this SHALL navigation the UX to the target identified. - - + + This command SHALL be generated in response to NavigateTarget commands. - + - + @@ -49,7 +49,7 @@ limitations under the License. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/temperature-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/temperature-control-cluster.xml index e6c8cabb1b3979..e9960e93981097 100644 --- a/src/app/zap-templates/zcl/data-model/chip/temperature-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/temperature-control-cluster.xml @@ -29,16 +29,16 @@ limitations under the License. MinTemperature MaxTemperature Step - SelectedTemperatureLevel + SelectedTemperatureLevel SupportedTemperatureLevels Set Temperature - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml index 2e0211c8a30704..e24738ead95da0 100644 --- a/src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/temperature-measurement-cluster.xml @@ -24,9 +24,9 @@ limitations under the License. TEMPERATURE_MEASUREMENT_CLUSTER true true - MeasuredValue - MinMeasuredValue - MaxMeasuredValue - Tolerance + MeasuredValue + MinMeasuredValue + MaxMeasuredValue + Tolerance diff --git a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml index 1da90ce642d11e..2f7e1376013ebd 100644 --- a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml @@ -18,22 +18,22 @@ limitations under the License. - - + + - - - - - + + + + + - + - + @@ -41,7 +41,7 @@ limitations under the License. - + @@ -50,11 +50,11 @@ limitations under the License. - - + + - - + + @@ -62,20 +62,20 @@ limitations under the License. - - + + - - + + - - - + + + @@ -86,13 +86,13 @@ limitations under the License. - - - + + - - - + + @@ -104,7 +104,7 @@ limitations under the License. array="true" optional="true"/> - + @@ -112,7 +112,7 @@ limitations under the License. - + @@ -120,7 +120,7 @@ limitations under the License. - + @@ -128,7 +128,7 @@ limitations under the License. - + @@ -143,40 +143,40 @@ limitations under the License. UNIT_TESTING_CLUSTER The Test Cluster is meant to validate the generated code - boolean + boolean bitmap8 bitmap16 bitmap32 bitmap64 - int8u - int16u - int24u - int32u - int40u - int48u - int56u - int64u - int8s - int16s - int24s - int32s - int40s - int48s - int56s - int64s - enum8 - enum16 + int8u + int16u + int24u + int32u + int40u + int48u + int56u + int64u + int8s + int16s + int24s + int32s + int40s + int48s + int56s + int64s + enum8 + enum16 float_single float_double - octet_string - list_int8u - list_octet_string + octet_string + list_int8u + list_octet_string list_struct_octet_string long_octet_string - char_string + char_string long_char_string - epoch_us - epoch_s + epoch_us + epoch_s vendor_id list_long_octet_string list_fabric_scoped timed_write_boolean + type="boolean" writable="true" mustUseTimedWrite="true">timed_write_boolean general_error_boolean + type="boolean" writable="true" optional="false">general_error_boolean cluster_error_boolean + type="boolean" writable="true" optional="false">cluster_error_boolean - nullable_boolean + nullable_boolean nullable_bitmap8 nullable_bitmap16 nullable_bitmap32 nullable_bitmap64 - nullable_int8u - nullable_int16u - nullable_int24u - nullable_int32u - nullable_int40u - nullable_int48u - nullable_int56u - nullable_int64u - nullable_int8s - nullable_int16s - nullable_int24s - nullable_int32s - nullable_int40s - nullable_int48s - nullable_int56s - nullable_int64s - nullable_enum8 - nullable_enum16 + nullable_int8u + nullable_int16u + nullable_int24u + nullable_int32u + nullable_int40u + nullable_int48u + nullable_int56u + nullable_int64u + nullable_int8s + nullable_int16s + nullable_int24s + nullable_int32s + nullable_int40s + nullable_int48s + nullable_int56s + nullable_int64s + nullable_enum8 + nullable_enum16 nullable_float_single nullable_float_double - nullable_octet_string - nullable_char_string + nullable_octet_string + nullable_char_string nullable_enum_attr nullable_struct nullable_range_restricted_int8u @@ -232,10 +232,10 @@ limitations under the License. nullable_range_restricted_int16u nullable_range_restricted_int16s - write_only_int8u + write_only_int8u - unsupported + unsupported @@ -266,15 +266,15 @@ limitations under the License. Command that takes two arguments and returns their sum. - - + + Command that takes an argument which is bool - + @@ -284,9 +284,9 @@ limitations under the License. - + - + - + @@ -350,7 +350,7 @@ limitations under the License. Command that takes an argument which is a list of INT8U and expects a response that reverses the list. - + @@ -370,7 +370,7 @@ limitations under the License. if that's true a boolean indicating whether the argument was null, and if that' false the argument it received. - + - - - + + - - - + + @@ -419,7 +419,7 @@ limitations under the License. Command that takes an optional argument which is bool. It responds with a success value if the optional is set to any value. - + Command that takes identical arguments to the fields of the TestEvent and logs the TestEvent to the buffer. Command returns an event ID as the response. - + - + Command that takes identical arguments to the fields of the TestFabricScopedEvent and logs the TestFabricScopedEvent to the buffer. Command returns an event ID as the response. - + Simple response for TestWithResponse with a simple return value - + Response for TestAddArguments that returns the sum. - + Simple response for TestSimpleArgumentRequest with a simple return value - + @@ -468,16 +468,16 @@ limitations under the License. - + - + Response that delivers the reversed list of uint8. - + @@ -493,45 +493,45 @@ limitations under the License. Delivers information about the argument TestNullableOptionalRequest had, and the original value if there was one. - - - - + + + + Delivers information about the arguments TestComplexNullableOptionalRequest had. - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - + - - + + - + - + - - + + @@ -541,7 +541,7 @@ limitations under the License. Delivers a single boolean argument. What the argument means depends on what we're responding to. - + @@ -556,21 +556,21 @@ limitations under the License. Delivers the ID of an event in response to test command emitting fabric scoped events. - + Delivers the ID of an event in response to test command emitting fabric scope events. - + Example test event - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml index e918a0706df92b..81215f04874555 100644 --- a/src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -28,7 +28,7 @@ limitations under the License. - + @@ -40,13 +40,13 @@ limitations under the License. - + - + @@ -59,14 +59,14 @@ limitations under the License. - + - + @@ -76,7 +76,7 @@ limitations under the License. - + @@ -86,12 +86,12 @@ limitations under the License. - + - + @@ -100,10 +100,10 @@ limitations under the License. - + - - + + @@ -115,56 +115,56 @@ limitations under the License. true true - LocalTemperature - OutdoorTemperature - Occupancy + LocalTemperature + OutdoorTemperature + Occupancy - AbsMinHeatSetpointLimit - AbsMaxHeatSetpointLimit - AbsMinCoolSetpointLimit - AbsMaxCoolSetpointLimit - PICoolingDemand - PIHeatingDemand - + AbsMinHeatSetpointLimit + AbsMaxHeatSetpointLimit + AbsMinCoolSetpointLimit + AbsMaxCoolSetpointLimit + PICoolingDemand + PIHeatingDemand + HVACSystemTypeConfiguration - + LocalTemperatureCalibration - OccupiedCoolingSetpoint - OccupiedHeatingSetpoint - UnoccupiedCoolingSetpoint - UnoccupiedHeatingSetpoint - + OccupiedCoolingSetpoint + OccupiedHeatingSetpoint + UnoccupiedCoolingSetpoint + UnoccupiedHeatingSetpoint + MinHeatSetpointLimit - + MaxHeatSetpointLimit - + MinCoolSetpointLimit - + MaxCoolSetpointLimit - + MinSetpointDeadBand - + RemoteSensing @@ -174,33 +174,33 @@ limitations under the License. - + SystemMode - ThermostatRunningMode - StartOfWeek - NumberOfWeeklyTransitions - NumberOfDailyTransitions - + ThermostatRunningMode + StartOfWeek + NumberOfWeeklyTransitions + NumberOfDailyTransitions + TemperatureSetpointHold - + TemperatureSetpointHoldDuration - + ThermostatProgrammingOperationMode - ThermostatRunningState - SetpointChangeSource - SetpointChangeAmount + ThermostatRunningState + SetpointChangeSource + SetpointChangeAmount SetpointChangeSourceTimestamp OccupiedSetback @@ -221,38 +221,38 @@ limitations under the License. - + ACType - + ACCapacity - + ACRefrigerantType - + ACCompressorType - + ACErrorCode - + ACLouverPosition - ACCoilTemperature - + ACCoilTemperature + ACCapacityformat @@ -262,13 +262,13 @@ limitations under the License. Command description for SetpointRaiseLower - + Command description for SetWeeklySchedule - + @@ -291,7 +291,7 @@ limitations under the License. The Current Weekly Schedule Command is sent from the server in response to the Get Weekly Schedule Command. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml index c3c054d7462ed9..fdf670540fa11d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/thermostat-user-interface-configuration-cluster.xml @@ -29,15 +29,15 @@ limitations under the License. - TemperatureDisplayMode + TemperatureDisplayMode - + KeypadLockout - + ScheduleProgrammingVisibility diff --git a/src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml index bfd9197647cb93..3f6d5eb81bdf2d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml @@ -13,14 +13,14 @@ limitations under the License. --> - + - + @@ -30,60 +30,60 @@ limitations under the License. - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - + + - - - - - - - - - - - - + + + + + + + + + + + + General @@ -91,67 +91,67 @@ limitations under the License. 0x0035 THREAD_NETWORK_DIAGNOSTICS_CLUSTER The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems - Channel + Channel RoutingRole - NetworkName - PanId - ExtendedPanId - MeshLocalPrefix - OverrunCount + NetworkName + PanId + ExtendedPanId + MeshLocalPrefix + OverrunCount NeighborTable RouteTable - PartitionId - Weighting - DataVersion - StableDataVersion - LeaderRouterId - DetachedRoleCount - ChildRoleCount - RouterRoleCount - LeaderRoleCount - AttachAttemptCount - PartitionIdChangeCount - BetterPartitionAttachAttemptCount - ParentChangeCount - TxTotalCount - TxUnicastCount - TxBroadcastCount - TxAckRequestedCount - TxAckedCount - TxNoAckRequestedCount - TxDataCount - TxDataPollCount - TxBeaconCount - TxBeaconRequestCount - TxOtherCount - TxRetryCount - TxDirectMaxRetryExpiryCount - TxIndirectMaxRetryExpiryCount - TxErrCcaCount - TxErrAbortCount - TxErrBusyChannelCount - RxTotalCount - RxUnicastCount - RxBroadcastCount - RxDataCount - RxDataPollCount - RxBeaconCount - RxBeaconRequestCount - RxOtherCount - RxAddressFilteredCount - RxDestAddrFilteredCount - RxDuplicatedCount - RxErrNoFrameCount - RxErrUnknownNeighborCount - RxErrInvalidSrcAddrCount - RxErrSecCount - RxErrFcsCount - RxErrOtherCount - ActiveTimestamp - PendingTimestamp - Delay + PartitionId + Weighting + DataVersion + StableDataVersion + LeaderRouterId + DetachedRoleCount + ChildRoleCount + RouterRoleCount + LeaderRoleCount + AttachAttemptCount + PartitionIdChangeCount + BetterPartitionAttachAttemptCount + ParentChangeCount + TxTotalCount + TxUnicastCount + TxBroadcastCount + TxAckRequestedCount + TxAckedCount + TxNoAckRequestedCount + TxDataCount + TxDataPollCount + TxBeaconCount + TxBeaconRequestCount + TxOtherCount + TxRetryCount + TxDirectMaxRetryExpiryCount + TxIndirectMaxRetryExpiryCount + TxErrCcaCount + TxErrAbortCount + TxErrBusyChannelCount + RxTotalCount + RxUnicastCount + RxBroadcastCount + RxDataCount + RxDataPollCount + RxBeaconCount + RxBeaconRequestCount + RxOtherCount + RxAddressFilteredCount + RxDestAddrFilteredCount + RxDuplicatedCount + RxErrNoFrameCount + RxErrUnknownNeighborCount + RxErrInvalidSrcAddrCount + RxErrSecCount + RxErrFcsCount + RxErrOtherCount + ActiveTimestamp + PendingTimestamp + Delay SecurityPolicy - ChannelPage0Mask + ChannelPage0Mask OperationalDatasetComponents ActiveNetworkFaultsList @@ -167,7 +167,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml index ee4468cde1d362..e9c48e985b0216 100644 --- a/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml @@ -16,18 +16,18 @@ limitations under the License. --> - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/chip/time-synchronization-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/time-synchronization-cluster.xml index 29ed6a0d1f2048..7ac3ca0711c4a1 100644 --- a/src/app/zap-templates/zcl/data-model/chip/time-synchronization-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/time-synchronization-cluster.xml @@ -17,7 +17,7 @@ limitations under the License. - + @@ -27,12 +27,12 @@ limitations under the License. - + - + @@ -41,7 +41,7 @@ limitations under the License. - + @@ -62,7 +62,7 @@ limitations under the License. - + @@ -84,14 +84,14 @@ limitations under the License. - + - + - + @@ -110,14 +110,14 @@ limitations under the License. Granularity TimeSource TrustedTimeSource - DefaultNTP + DefaultNTP TimeZone DSTOffset LocalTime TimeZoneDatabase NTPServerAvailable - TimeZoneListMaxSize - DSTOffsetListMaxSize + TimeZoneListMaxSize + DSTOffsetListMaxSize SupportsDNSResolve @@ -153,7 +153,7 @@ limitations under the License. This command is used to set DefaultNTP. - + @@ -168,8 +168,8 @@ limitations under the License. This event SHALL be generated when the server changes its time zone offset or name. - - + + diff --git a/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml index 9c9f1ba1dfffd3..22dfff577636f7 100644 --- a/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/unit-localization-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -37,7 +37,7 @@ limitations under the License. TemperatureUnit - + diff --git a/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml index 5b64207e92effd..e9ad2ea7d5ec5b 100644 --- a/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/wake-on-lan-cluster.xml @@ -24,6 +24,6 @@ limitations under the License. true true This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. - MACAddress + MACAddress \ No newline at end of file diff --git a/src/app/zap-templates/zcl/data-model/chip/washer-controls-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/washer-controls-cluster.xml index 0a11025bad1000..0f1640b2944d73 100644 --- a/src/app/zap-templates/zcl/data-model/chip/washer-controls-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/washer-controls-cluster.xml @@ -17,13 +17,13 @@ limitations under the License. - + - + @@ -42,8 +42,8 @@ limitations under the License. - SpinSpeeds - SpinSpeedCurrent + SpinSpeeds + SpinSpeedCurrent NumberOfRinses SupportedRinses diff --git a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml index 3c81539c55aef5..65e177285a3978 100644 --- a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml @@ -16,7 +16,7 @@ limitations under the License. --> - + @@ -25,7 +25,7 @@ limitations under the License. - + @@ -35,19 +35,19 @@ limitations under the License. - + - + - + @@ -58,30 +58,30 @@ limitations under the License. 0x0036 WIFI_NETWORK_DIAGNOSTICS_CLUSTER The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. - BSSID + BSSID SecurityType WiFiVersion - ChannelNumber - RSSI - BeaconLostCount - BeaconRxCount - PacketMulticastRxCount - PacketMulticastTxCount - PacketUnicastRxCount - PacketUnicastTxCount - CurrentMaxRate - OverrunCount + ChannelNumber + RSSI + BeaconLostCount + BeaconRxCount + PacketMulticastRxCount + PacketMulticastTxCount + PacketUnicastRxCount + PacketUnicastTxCount + CurrentMaxRate + OverrunCount Reception of this command SHALL reset the Breacon and Packet related count attributes to 0 Indicate that a Node’s Wi-Fi connection has been disconnected as a result of de-authenticated or dis-association and indicates the reason. - + Indicate that a Node has failed to connect, or reconnect, to a Wi-Fi access point. - + Indicate that a Node’s connection status to a Wi-Fi network has changed. diff --git a/src/app/zap-templates/zcl/data-model/chip/window-covering.xml b/src/app/zap-templates/zcl/data-model/chip/window-covering.xml index 1af4eeb21aa438..e98329a72812a0 100644 --- a/src/app/zap-templates/zcl/data-model/chip/window-covering.xml +++ b/src/app/zap-templates/zcl/data-model/chip/window-covering.xml @@ -37,47 +37,47 @@ limitations under the License. Type - PhysicalClosedLimitLift + PhysicalClosedLimitLift - PhysicalClosedLimitTilt + PhysicalClosedLimitTilt - CurrentPositionLift + CurrentPositionLift - CurrentPositionTilt + CurrentPositionTilt - NumberOfActuationsLift + NumberOfActuationsLift - NumberOfActuationsTilt + NumberOfActuationsTilt ConfigStatus - CurrentPositionLiftPercentage + CurrentPositionLiftPercentage - CurrentPositionTiltPercentage + CurrentPositionTiltPercentage OperationalStatus - TargetPositionLiftPercent100ths + TargetPositionLiftPercent100ths - TargetPositionTiltPercent100ths + TargetPositionTiltPercent100ths EndProductType - CurrentPositionLiftPercent100ths + CurrentPositionLiftPercent100ths - CurrentPositionTiltPercent100ths + CurrentPositionTiltPercent100ths - InstalledOpenLimitLift - InstalledClosedLimitLift + InstalledOpenLimitLift + InstalledClosedLimitLift - InstalledOpenLimitTilt - InstalledClosedLimitTilt + InstalledOpenLimitTilt + InstalledClosedLimitTilt - - - + + + Mode @@ -85,8 +85,8 @@ limitations under the License. - - + + SafetyStatus @@ -104,27 +104,27 @@ limitations under the License. Go to lift value specified - + Go to lift percentage specified - + Go to tilt value specified - + Go to tilt percentage specified - + - + @@ -139,7 +139,7 @@ limitations under the License. - + @@ -169,7 +169,7 @@ limitations under the License. - + @@ -177,14 +177,14 @@ limitations under the License. - + - + @@ -195,7 +195,7 @@ limitations under the License. - + @@ -211,7 +211,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/draft/EN50523-appliance-identification.xml b/src/app/zap-templates/zcl/data-model/draft/EN50523-appliance-identification.xml index 746b435e7b6c85..3e18ec7343171b 100644 --- a/src/app/zap-templates/zcl/data-model/draft/EN50523-appliance-identification.xml +++ b/src/app/zap-templates/zcl/data-model/draft/EN50523-appliance-identification.xml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + @@ -27,7 +27,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml b/src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml index d807b23d1f2528..af51f6a53aba27 100644 --- a/src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/draft/barrier-control-cluster.xml @@ -17,12 +17,12 @@ limitations under the License. - + - + @@ -30,13 +30,13 @@ limitations under the License. - + - + @@ -52,22 +52,22 @@ limitations under the License. true true - barrier moving state - barrier safety status - barrier capabilities - barrier open events - barrier close events - barrier command open events - barrier command close events - barrier open period - barrier close period - barrier position + barrier moving state + barrier safety status + barrier capabilities + barrier open events + barrier close events + barrier command open events + barrier command close events + barrier open period + barrier close period + barrier position Command to instruct a barrier to go to a percent open state. - + diff --git a/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml b/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml index b1e8b72f0b2d13..3fca4504c4fcbe 100644 --- a/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/draft/electrical-measurement-cluster.xml @@ -29,155 +29,155 @@ limitations under the License. - measurement type - dc voltage - dc voltage min - dc voltage max - dc current - dc current min - dc current max - dc power - dc power min - dc power max - dc voltage multiplier - dc voltage divisor - dc current multiplier - dc current divisor - dc power multiplier - dc power divisor - ac frequency - ac frequency min - ac frequency max - neutral current - total active power - total reactive power - total apparent power - measured 1st harmonic current - measured 3rd harmonic current - measured 5th harmonic current - measured 7th harmonic current - measured 9th harmonic current - measured 11th harmonic current - measured phase 1st harmonic current - measured phase 3rd harmonic current - measured phase 5th harmonic current - measured phase 7th harmonic current - measured phase 9th harmonic current - measured phase 11th harmonic current - ac frequency multiplier - ac frequency divisor - power multiplier - power divisor - harmonic current multiplier - phase harmonic current multiplier - instantaneous voltage - instantaneous line current - instantaneous active current - instantaneous reactive current - instantaneous power - rms voltage - rms voltage min - rms voltage max - rms current - rms current min - rms current max - active power - active power min - active power max - reactive power - apparent power - power factor - average rms voltage measurement period - average rms under voltage counter - rms extreme over voltage period - rms extreme under voltage period - rms voltage sag period - rms voltage swell period - ac voltage multiplier - ac voltage divisor - ac current multiplier - ac current divisor - ac power multiplier - ac power divisor - overload alarms mask - voltage overload - current overload - ac overload alarms mask - ac voltage overload - ac current overload - ac active power overload - ac reactive power overload - average rms over voltage - average rms under voltage - rms extreme over voltage - rms extreme under voltage - rms voltage sag - rms voltage swell - line current phase b - active current phase b - reactive current phase b - rms voltage phase b - rms voltage min phase b - rms voltage max phase b - rms current phase b - rms current min phase b - rms current max phase b - active power phase b - active power min phase b - active power max phase b - reactive power phase b - apparent power phase b - power factor phase b - average rms voltage measurement period phase b - average rms over voltage counter phase b - average rms under voltage counter phase b - rms extreme over voltage period phase b - rms extreme under voltage period phase b - rms voltage sag period phase b - rms voltage swell period phase b - line current phase c - active current phase c - reactive current phase c - rms voltage phase c - rms voltage min phase c - rms voltage max phase c - rms current phase c - rms current min phase c - rms current max phase c - active power phase c - active power min phase c - active power max phase c - reactive power phase c - apparent power phase c - power factor phase c - average rms voltage measurement period phase c - average rms over voltage counter phase c - average rms under voltage counter phase c - rms extreme over voltage period phase c - rms extreme under voltage period phase c - rms voltage sag period phase c - rms voltage swell period phase c + measurement type + dc voltage + dc voltage min + dc voltage max + dc current + dc current min + dc current max + dc power + dc power min + dc power max + dc voltage multiplier + dc voltage divisor + dc current multiplier + dc current divisor + dc power multiplier + dc power divisor + ac frequency + ac frequency min + ac frequency max + neutral current + total active power + total reactive power + total apparent power + measured 1st harmonic current + measured 3rd harmonic current + measured 5th harmonic current + measured 7th harmonic current + measured 9th harmonic current + measured 11th harmonic current + measured phase 1st harmonic current + measured phase 3rd harmonic current + measured phase 5th harmonic current + measured phase 7th harmonic current + measured phase 9th harmonic current + measured phase 11th harmonic current + ac frequency multiplier + ac frequency divisor + power multiplier + power divisor + harmonic current multiplier + phase harmonic current multiplier + instantaneous voltage + instantaneous line current + instantaneous active current + instantaneous reactive current + instantaneous power + rms voltage + rms voltage min + rms voltage max + rms current + rms current min + rms current max + active power + active power min + active power max + reactive power + apparent power + power factor + average rms voltage measurement period + average rms under voltage counter + rms extreme over voltage period + rms extreme under voltage period + rms voltage sag period + rms voltage swell period + ac voltage multiplier + ac voltage divisor + ac current multiplier + ac current divisor + ac power multiplier + ac power divisor + overload alarms mask + voltage overload + current overload + ac overload alarms mask + ac voltage overload + ac current overload + ac active power overload + ac reactive power overload + average rms over voltage + average rms under voltage + rms extreme over voltage + rms extreme under voltage + rms voltage sag + rms voltage swell + line current phase b + active current phase b + reactive current phase b + rms voltage phase b + rms voltage min phase b + rms voltage max phase b + rms current phase b + rms current min phase b + rms current max phase b + active power phase b + active power min phase b + active power max phase b + reactive power phase b + apparent power phase b + power factor phase b + average rms voltage measurement period phase b + average rms over voltage counter phase b + average rms under voltage counter phase b + rms extreme over voltage period phase b + rms extreme under voltage period phase b + rms voltage sag period phase b + rms voltage swell period phase b + line current phase c + active current phase c + reactive current phase c + rms voltage phase c + rms voltage min phase c + rms voltage max phase c + rms current phase c + rms current min phase c + rms current max phase c + active power phase c + active power min phase c + active power max phase c + reactive power phase c + apparent power phase c + power factor phase c + average rms voltage measurement period phase c + average rms over voltage counter phase c + average rms under voltage counter phase c + rms extreme over voltage period phase c + rms extreme under voltage period phase c + rms voltage sag period phase c + rms voltage swell period phase c A function which returns the power profiling information requested in the GetProfileInfo command. The power profiling information consists of a list of attributes which are profiled along with the period used to profile them. - - - - + + + + A function which returns the electricity measurement profile. The electricity measurement profile includes information regarding the amount of time used to capture data related to the flow of electricity as well as the intervals thes - - - - - - + + + + + + @@ -190,9 +190,9 @@ limitations under the License. A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id requested. - - - + + + diff --git a/src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml b/src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml index fec28d443a9d02..dc52fd7c90532a 100644 --- a/src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml +++ b/src/app/zap-templates/zcl/data-model/draft/input-output-value-clusters.xml @@ -27,14 +27,14 @@ limitations under the License. true true - active text - description - inactive text - out of service - polarity - present value - reliability - status flags - application type + active text + description + inactive text + out of service + polarity + present value + reliability + status flags + application type diff --git a/src/app/zap-templates/zcl/data-model/draft/meter-identification.xml b/src/app/zap-templates/zcl/data-model/draft/meter-identification.xml index c1fdaf03b0bbf5..7cd304194793e0 100644 --- a/src/app/zap-templates/zcl/data-model/draft/meter-identification.xml +++ b/src/app/zap-templates/zcl/data-model/draft/meter-identification.xml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + @@ -24,7 +24,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml b/src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml index 5f6fd93b311b99..1662b2b442cf01 100644 --- a/src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/draft/onoff-switch-configuration-cluster.xml @@ -27,7 +27,7 @@ limitations under the License. true true - switch type - switch actions + switch type + switch actions diff --git a/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml b/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml index bf9a38ab833517..c31350d60223e9 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/ballast-configuration.xml @@ -14,12 +14,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/color-control.xml b/src/app/zap-templates/zcl/data-model/draft/types/color-control.xml index 5f42386d635c64..9e3523063eb7c3 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/color-control.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/color-control.xml @@ -15,11 +15,11 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/dehumidification-control.xml b/src/app/zap-templates/zcl/data-model/draft/types/dehumidification-control.xml index f6923851a0aa92..2f5d6b5d960963 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/dehumidification-control.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/dehumidification-control.xml @@ -14,17 +14,17 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/door-lock.xml b/src/app/zap-templates/zcl/data-model/draft/types/door-lock.xml index c9037f350e1ca8..f54aa998c937e0 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/door-lock.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/door-lock.xml @@ -15,19 +15,19 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + - + @@ -40,7 +40,7 @@ limitations under the License. - + @@ -48,7 +48,7 @@ limitations under the License. - + @@ -57,18 +57,18 @@ limitations under the License. - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/illuminance-level-sensing.xml b/src/app/zap-templates/zcl/data-model/draft/types/illuminance-level-sensing.xml index 5b578ecd0d35a3..04eedca71a1038 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/illuminance-level-sensing.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/illuminance-level-sensing.xml @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --> - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/onoff-switch-configuration.xml b/src/app/zap-templates/zcl/data-model/draft/types/onoff-switch-configuration.xml index 7d45f79392cc61..6e696a6bfb5bc2 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/onoff-switch-configuration.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/onoff-switch-configuration.xml @@ -14,13 +14,13 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/power-profile.xml b/src/app/zap-templates/zcl/data-model/draft/types/power-profile.xml index 58f0de68d018ff..5e68d974fa182e 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/power-profile.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/power-profile.xml @@ -14,8 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --> - - + + @@ -27,7 +27,7 @@ limitations under the License. - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml b/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml index cedbdcc1585094..060490580fb268 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/thermostat-user-interface-configuration.xml @@ -15,12 +15,12 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + diff --git a/src/app/zap-templates/zcl/data-model/draft/types/thermostat.xml b/src/app/zap-templates/zcl/data-model/draft/types/thermostat.xml index a1b7e71cc1fdfa..9264e13176db0d 100644 --- a/src/app/zap-templates/zcl/data-model/draft/types/thermostat.xml +++ b/src/app/zap-templates/zcl/data-model/draft/types/thermostat.xml @@ -15,23 +15,23 @@ See the License for the specific language governing permissions and limitations under the License. --> - + - + - + - + diff --git a/src/app/zap-templates/zcl/data-model/test/mode-select-extensions.xml b/src/app/zap-templates/zcl/data-model/test/mode-select-extensions.xml index c10c691c357481..795a0cec3da36c 100644 --- a/src/app/zap-templates/zcl/data-model/test/mode-select-extensions.xml +++ b/src/app/zap-templates/zcl/data-model/test/mode-select-extensions.xml @@ -23,7 +23,7 @@ limitations under the License. - Prefix: 0xFFF1 - Test vendor MC - Suffix: 0x0001 - Non-global attribute id --> - ManufacturerExtension + ManufacturerExtension