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
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 8a0ec1f..868cdff 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 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -264,39 +264,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1099,25 +1099,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 d9d252c..f4d14a4 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -878,39 +878,39 @@
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 @@
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 @@
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 @@
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 @@
/** 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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
}
request struct SetDefaultNTPRequest {
- nullable CHAR_STRING<128> defaultNTP = 0;
+ nullable char_string<128> defaultNTP = 0;
}
response struct SetTimeZoneResponse = 3 {
@@ -2127,33 +2127,33 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -2265,25 +2265,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2471,18 +2471,18 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
@@ -2564,12 +2564,12 @@
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 @@
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 @@
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 @@
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 @@
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 @@
request struct SetTemperatureRequest {
optional temperature targetTemperature = 0;
- optional INT8U targetTemperatureLevel = 1;
+ optional int8u targetTemperatureLevel = 1;
}
command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0;
@@ -2836,12 +2836,12 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct BarrierControlGoToPercentRequest {
- INT8U percentOpen = 0;
+ int8u percentOpen = 0;
}
command BarrierControlGoToPercent(BarrierControlGoToPercentRequest): DefaultSuccess = 0;
@@ -4179,7 +4179,7 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
@@ -4238,8 +4238,8 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
}
request struct TestListInt8UArgumentRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestNestedStructListArgumentRequestRequest {
@@ -6026,7 +6026,7 @@
}
request struct TestListInt8UReverseRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestEnumsRequestRequest {
@@ -6035,7 +6035,7 @@
}
request struct TestNullableOptionalRequestRequest {
- optional nullable INT8U arg1 = 0;
+ optional nullable int8u arg1 = 0;
}
request struct SimpleStructEchoRequestRequest {
@@ -6043,29 +6043,29 @@
}
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 @@
}
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 @@
}
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 @@
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 af300bb..7a30362 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -720,39 +720,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1874,25 +1874,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2082,7 +2082,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
@@ -2107,7 +2107,7 @@
request struct SetTemperatureRequest {
optional temperature targetTemperature = 0;
- optional INT8U targetTemperatureLevel = 1;
+ optional int8u targetTemperatureLevel = 1;
}
command SetTemperature(SetTemperatureRequest): DefaultSuccess = 0;
@@ -2466,9 +2466,9 @@
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 @@
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 @@
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 @@
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 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
@@ -2871,8 +2871,8 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct SelectInputRequest {
- INT8U index = 0;
+ int8u index = 0;
}
command SelectInput(SelectInputRequest): DefaultSuccess = 0;
@@ -3541,7 +3541,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct SelectOutputRequest {
- INT8U index = 0;
+ int8u index = 0;
}
command SelectOutput(SelectOutputRequest): DefaultSuccess = 0;
@@ -3578,7 +3578,7 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -3591,7 +3591,7 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
}
request struct TestListInt8UArgumentRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestNestedStructListArgumentRequestRequest {
@@ -3888,7 +3888,7 @@
}
request struct TestListInt8UReverseRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestEnumsRequestRequest {
@@ -3897,7 +3897,7 @@
}
request struct TestNullableOptionalRequestRequest {
- optional nullable INT8U arg1 = 0;
+ optional nullable int8u arg1 = 0;
}
request struct SimpleStructEchoRequestRequest {
@@ -3905,29 +3905,29 @@
}
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 @@
}
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 @@
}
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 13ffa6e..2d8b2da 100644
--- a/examples/bridge-app/bridge-common/bridge-app.matter
+++ b/examples/bridge-app/bridge-common/bridge-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -137,23 +137,23 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -582,7 +582,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1456,25 +1456,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 35d8476..051605e 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -502,39 +502,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1289,25 +1289,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 d71d756..145a518 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -342,29 +342,29 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -752,25 +752,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1081,7 +1081,7 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
@@ -1140,8 +1140,8 @@
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 c525274..68b9a4c 100644
--- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
+++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter
@@ -35,7 +35,7 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -264,39 +264,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -915,25 +915,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 5ca5ae1..2c1f5e1 100644
--- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
+++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter
@@ -65,9 +65,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -269,39 +269,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -920,25 +920,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1121,21 +1121,21 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct SelectInputRequest {
- INT8U index = 0;
+ int8u index = 0;
}
command SelectInput(SelectInputRequest): DefaultSuccess = 0;
@@ -1432,7 +1432,7 @@
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 0f5f1c6..673fb8f 100644
--- a/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
+++ b/examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -501,39 +501,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1097,25 +1097,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1337,151 +1337,151 @@
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 33dd125..f7ccb48 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -352,39 +352,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1003,25 +1003,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 d655ceb..d7ffee4 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -502,39 +502,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1153,25 +1153,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 8fd8fb8..42006a8 100644
--- a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
+++ b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -246,7 +246,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -798,25 +798,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -961,12 +961,12 @@
}
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 b0bfe61..c52950e 100644
--- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
+++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -352,39 +352,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1003,25 +1003,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1504,9 +1504,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 1a235b2..e65db2a 100644
--- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
+++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -502,39 +502,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1153,25 +1153,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1401,151 +1401,151 @@
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 c01afa1..c59c11c 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -990,25 +990,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1191,8 +1191,8 @@
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 dcbb53e..f43ae4e 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 f4f80b4..b14649d 100644
--- a/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter
+++ b/examples/chef/devices/rootnode_genericswitch_9866e35d0b.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -273,29 +273,29 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -735,25 +735,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 9ab8134..7cd4761 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -496,39 +496,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1147,25 +1147,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1420,18 +1420,18 @@
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 @@
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 0cc9ff3..6b6cd4d 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 7d4609e..709a247 100644
--- a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
+++ b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -246,7 +246,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -798,25 +798,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -961,12 +961,12 @@
}
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 fb22208..5658f3c 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 9f12ca8..053d5de 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 cbf1c1a..01c95b1 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -502,39 +502,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1153,25 +1153,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 4bd06b6..c21bb9b 100644
--- a/examples/chef/devices/rootnode_onofflight_samplemei.matter
+++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -502,39 +502,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1153,25 +1153,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1312,12 +1312,12 @@
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 8eb2ee2..1be815b 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -466,39 +466,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1117,25 +1117,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 8887868..cecfc40 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -401,39 +401,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1052,25 +1052,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 ecbf881..1f93a62 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 97d132e..7ff08e6 100644
--- a/examples/chef/devices/rootnode_pump_5f904818cc.matter
+++ b/examples/chef/devices/rootnode_pump_5f904818cc.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -111,9 +111,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -283,7 +283,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -754,25 +754,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 a42d58e..4676a68 100644
--- a/examples/chef/devices/rootnode_pump_a811bb33a0.matter
+++ b/examples/chef/devices/rootnode_pump_a811bb33a0.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -111,9 +111,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -283,7 +283,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -754,25 +754,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 74a8754..1e0218b 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -246,7 +246,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -798,25 +798,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -948,7 +948,7 @@
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 fc74abb..268f80b 100644
--- a/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
+++ b/examples/chef/devices/rootnode_roboticvacuumcleaner_1807ff0c49.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -464,29 +464,29 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -874,25 +874,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1050,12 +1050,12 @@
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 @@
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 @@
}
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 1f885b2..72b3fba 100644
--- a/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
+++ b/examples/chef/devices/rootnode_roomairconditioner_9cf3607804.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -387,29 +387,29 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -797,25 +797,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1012,7 +1012,7 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
@@ -1071,8 +1071,8 @@
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 617249b..802b180 100644
--- a/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
+++ b/examples/chef/devices/rootnode_smokecoalarm_686fe0dcb8.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -574,29 +574,29 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -984,25 +984,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 120dd0f..c54d2ca 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -427,39 +427,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1078,25 +1078,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 53f7be4..9dc219d 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -93,13 +93,13 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -358,39 +358,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1009,25 +1009,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 727981e..3cc5dd3 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -352,39 +352,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1003,25 +1003,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1254,7 +1254,7 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
command SetpointRaiseLower(SetpointRaiseLowerRequest): DefaultSuccess = 0;
@@ -1313,8 +1313,8 @@
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 c32b69e..81f133f 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -35,7 +35,7 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -352,39 +352,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1003,25 +1003,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1249,14 +1249,14 @@
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 @@
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 aced44b..8178fad 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1266,25 +1266,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 cdbaa90..3f618f8 100644
--- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
+++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -334,7 +334,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -886,25 +886,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1049,12 +1049,12 @@
}
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 724272f..f36a170 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -83,7 +83,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -115,7 +115,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -132,27 +132,27 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -653,39 +653,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
}
request struct SetDefaultNTPRequest {
- nullable CHAR_STRING<128> defaultNTP = 0;
+ nullable char_string<128> defaultNTP = 0;
}
response struct SetTimeZoneResponse = 3 {
@@ -1635,33 +1635,33 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1772,25 +1772,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2090,151 +2090,151 @@
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 a3d3f7d..eb98a46 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -510,39 +510,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1199,25 +1199,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1481,151 +1481,151 @@
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 ae9cde4..6431b6c 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -510,39 +510,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1322,25 +1322,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1604,151 +1604,151 @@
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 db6ed6f..d22cea2 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -510,39 +510,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1232,25 +1232,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1514,151 +1514,151 @@
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 6337af8..f1f35df 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -657,39 +657,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1636,25 +1636,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1900,151 +1900,151 @@
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 5ff4f84..8b04ef0 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -495,39 +495,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1196,25 +1196,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 f3a620f..3173f48 100644
--- a/examples/lighting-app/qpg/zap/light.matter
+++ b/examples/lighting-app/qpg/zap/light.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -506,39 +506,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1262,25 +1262,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1544,151 +1544,151 @@
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 225d18e..c4c00d6 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -678,39 +678,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1728,25 +1728,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1992,151 +1992,151 @@
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 f79422e..9b84a36 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -657,39 +657,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1618,25 +1618,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1882,151 +1882,151 @@
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 d7b36ef..269e650 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -115,9 +115,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -319,39 +319,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1503,25 +1503,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2043,9 +2043,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 fb319db..0c8af6c 100644
--- a/examples/lock-app/nxp/zap/lock-app.matter
+++ b/examples/lock-app/nxp/zap/lock-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -265,29 +265,29 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -814,25 +814,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1298,9 +1298,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 bc37e5c..26f1c57 100644
--- a/examples/lock-app/qpg/zap/lock.matter
+++ b/examples/lock-app/qpg/zap/lock.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1095,25 +1095,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1612,9 +1612,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 5db3db1..4f9cbf9 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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -367,20 +367,20 @@
}
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 @@
}
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 daca4e3..086e30e 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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -297,39 +297,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -799,25 +799,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 62416d9..e7383b1 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -402,39 +402,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -982,25 +982,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 e336d58..b4b3300 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -83,7 +83,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -115,7 +115,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -132,27 +132,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
request struct MoveToClosestFrequencyRequest {
- INT16U frequency = 0;
+ int16u frequency = 0;
}
/** Command description for MoveToLevel */
@@ -584,23 +584,23 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -931,7 +931,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -2244,33 +2244,33 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCACertificate = 0;
+ octet_string rootCACertificate = 0;
}
/** Sender is requesting attestation information from the receiver. */
@@ -2541,7 +2541,7 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -2559,25 +2559,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2786,7 +2786,7 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
@@ -3182,9 +3182,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -6330,7 +6330,7 @@
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 @@
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 @@
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 @@
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 b8d5564..67e07d6 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -83,7 +83,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -115,7 +115,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -132,27 +132,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
request struct MoveToClosestFrequencyRequest {
- INT16U frequency = 0;
+ int16u frequency = 0;
}
/** Command description for MoveToLevel */
@@ -582,23 +582,23 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -929,7 +929,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -2203,33 +2203,33 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCACertificate = 0;
+ octet_string rootCACertificate = 0;
}
/** Sender is requesting attestation information from the receiver. */
@@ -2500,7 +2500,7 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -2518,25 +2518,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2745,7 +2745,7 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
command ChangeToMode(ChangeToModeRequest): DefaultSuccess = 0;
@@ -3141,9 +3141,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -6289,7 +6289,7 @@
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 @@
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 @@
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 @@
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 66d3559..666d365 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -35,7 +35,7 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -425,39 +425,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1054,25 +1054,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 3ec8a42..75fc56b 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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -425,39 +425,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1054,25 +1054,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 3ec8a42..75fc56b 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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -425,39 +425,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1054,25 +1054,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 31823ff..78db93e 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 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -350,39 +350,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -979,25 +979,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 c336160..e346694 100644
--- a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
+++ b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter
@@ -20,9 +20,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -201,7 +201,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -753,25 +753,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -903,7 +903,7 @@
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 4a540d7..c15f9fd 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1318,25 +1318,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1631,8 +1631,8 @@
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 02ef63a..c79ebaa 100644
--- a/examples/rvc-app/rvc-common/rvc-app.matter
+++ b/examples/rvc-app/rvc-common/rvc-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -66,9 +66,9 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -273,29 +273,29 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -683,25 +683,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -857,12 +857,12 @@
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 @@
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 @@
}
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 fe2bb2d..b9bbbc3 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1385,25 +1385,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1576,18 +1576,18 @@
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 1e9fa71..f2ff6b3 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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -199,7 +199,7 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -850,25 +850,25 @@
}
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 @@
}
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 @@
}
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 @@
}
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 bf75671..18cb448 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -83,7 +83,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -115,7 +115,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -132,27 +132,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -406,39 +406,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1353,25 +1353,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1607,7 +1607,7 @@
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 0be3a04..a0fd73d 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -91,23 +91,23 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -415,39 +415,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCACertificate = 0;
+ octet_string rootCACertificate = 0;
}
/** Sender is requesting attestation information from the receiver. */
@@ -1601,7 +1601,7 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1619,25 +1619,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1850,21 +1850,21 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -2359,7 +2359,7 @@
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 @@
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 7e7be6f..675669b 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 @@
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 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -78,27 +78,27 @@
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 @@
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 @@
}
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 @@
}
request struct MoveToClosestFrequencyRequest {
- INT16U frequency = 0;
+ int16u frequency = 0;
}
/** Command description for MoveToLevel */
@@ -334,9 +334,9 @@
}
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -563,7 +563,7 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1186,25 +1186,25 @@
}
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -1914,7 +1914,7 @@
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 @@
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 d09a421..3bedf50 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 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -544,39 +544,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1641,25 +1641,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -2158,9 +2158,9 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
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 a16aa05..6b6116c 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -67,7 +67,7 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
request struct ViewGroupRequest {
@@ -84,27 +84,27 @@
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 @@
}
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 @@
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 @@
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 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -339,39 +339,39 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
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 @@
}
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 @@
}
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 @@
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 @@
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 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
request struct CertificateChainRequestRequest {
@@ -1485,25 +1485,25 @@
}
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 @@
}
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 @@
}
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 @@
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
fabric command access(invoke: administer) KeySetWrite(KeySetWriteRequest): DefaultSuccess = 0;
@@ -1747,14 +1747,14 @@
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 @@
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 aba880c..9da2713 100644
--- a/src/app/tests/suites/TestEqualities.yaml
+++ b/src/app/tests/suites/TestEqualities.yaml
@@ -19,10 +19,10 @@
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 51207c3..3db36a7 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 @@
attribute: "PercentSetting"
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 100
@@ -67,6 +67,6 @@
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 6c273f2..cf66e20 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 @@
PICS: WNCV.S.A000b
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 10000
@@ -121,7 +121,7 @@
PICS: WNCV.S.A000c
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 10000
@@ -134,7 +134,7 @@
PICS: WNCV.S.A000e
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 10000
@@ -147,7 +147,7 @@
PICS: WNCV.S.A000f
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 10000
@@ -328,7 +328,7 @@
PICS: WNCV.S.A0008
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 100
@@ -341,7 +341,7 @@
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 e05c065..2941b72 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 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 1
maxValue: 10000
@@ -91,7 +91,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: Percent
+ type: percent
minValue: 1
maxValue: 100
@@ -104,7 +104,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 1
maxValue: 10000
@@ -117,7 +117,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: Percent
+ type: percent
minValue: 1
maxValue: 100
@@ -260,7 +260,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 9999
@@ -273,7 +273,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 99
@@ -286,7 +286,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 9999
@@ -299,7 +299,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 99
@@ -349,7 +349,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 9999
@@ -362,6 +362,6 @@
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 4b292d8..ec3a1bd 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 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 9999
@@ -91,7 +91,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 99
@@ -104,7 +104,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 0
maxValue: 9999
@@ -117,7 +117,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: Percent
+ type: percent
minValue: 0
maxValue: 99
@@ -260,7 +260,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 1
maxValue: 10000
@@ -273,7 +273,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: Percent
+ type: percent
minValue: 1
maxValue: 100
@@ -286,7 +286,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 1
maxValue: 10000
@@ -299,7 +299,7 @@
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: Percent
+ type: percent
minValue: 1
maxValue: 100
@@ -349,7 +349,7 @@
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b
response:
constraints:
- type: Percent100ths
+ type: percent100ths
minValue: 1
maxValue: 10000
@@ -362,6 +362,6 @@
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 3bcad39..3e3e6a1 100644
--- a/src/app/tests/suites/examples/Config_Example.yaml
+++ b/src/app/tests/suites/examples/Config_Example.yaml
@@ -3,5 +3,5 @@
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 9484ad9..1583e29 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 2306854..fcd897f 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 @@
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 cc987ca..182c82d 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 @@
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 f2ca0a0..9a793af 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 @@
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 9dfca25..070a1b1 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="AccessControlEntryPrivilegeEnum" type="ENUM8">
+ <enum name="AccessControlEntryPrivilegeEnum" type="enum8">
<cluster code="0x001F"/>
<item name="View" value="0x01"/>
<item name="Proxy View" value="0x02"/>
@@ -26,14 +26,14 @@
<item name="Administer" value="0x05"/>
</enum>
- <enum name="AccessControlEntryAuthModeEnum" type="ENUM8">
+ <enum name="AccessControlEntryAuthModeEnum" type="enum8">
<cluster code="0x001F"/>
<item name="PASE" value="0x01"/>
<item name="CASE" value="0x02"/>
<item name="Group" value="0x03"/>
</enum>
- <enum name="ChangeTypeEnum" type="ENUM8">
+ <enum name="ChangeTypeEnum" type="enum8">
<cluster code="0x001F"/>
<item name="Changed" value="0x00"/>
<item name="Added" value="0x01"/>
@@ -51,13 +51,13 @@
<cluster code="0x001F"/>
<item fieldId="1" name="Privilege" type="AccessControlEntryPrivilegeEnum" isFabricSensitive="true"/>
<item fieldId="2" name="AuthMode" type="AccessControlEntryAuthModeEnum" isFabricSensitive="true"/>
- <item fieldId="3" name="Subjects" type="INT64U" isNullable="true" array="true" isFabricSensitive="true"/>
+ <item fieldId="3" name="Subjects" type="int64u" isNullable="true" array="true" isFabricSensitive="true"/>
<item fieldId="4" name="Targets" type="AccessControlTargetStruct" isNullable="true" array="true" isFabricSensitive="true"/>
</struct>
<struct name="AccessControlExtensionStruct" isFabricScoped="true">
<cluster code="0x001F"/>
- <item fieldId="1" name="Data" type="OCTET_STRING" length="128" isFabricSensitive="true"/>
+ <item fieldId="1" name="Data" type="octet_string" length="128" isFabricSensitive="true"/>
</struct>
<cluster>
@@ -102,7 +102,7 @@
<event side="server" code="0x0000" name="AccessControlEntryChanged" priority="info" isFabricSensitive="true" optional="false">
<description>The cluster SHALL send AccessControlEntryChanged events whenever its ACL attribute data is changed by an Administrator.</description>
<field id="1" name="AdminNodeID" type="node_id" isNullable="true"/>
- <field id="2" name="AdminPasscodeID" type="INT16U" isNullable="true"/>
+ <field id="2" name="AdminPasscodeID" type="int16u" isNullable="true"/>
<field id="3" name="ChangeType" type="ChangeTypeEnum"/>
<field id="4" name="LatestValue" type="AccessControlEntryStruct" isNullable="true"/>
<access op="read" privilege="administer"/>
@@ -110,7 +110,7 @@
<event side="server" code="0x0001" name="AccessControlExtensionChanged" priority="info" isFabricSensitive="true" optional="false">
<description>The cluster SHALL send AccessControlExtensionChanged events whenever its extension attribute data is changed by an Administrator.</description>
<field id="1" name="AdminNodeID" type="node_id" isNullable="true"/>
- <field id="2" name="AdminPasscodeID" type="INT16U" isNullable="true"/>
+ <field id="2" name="AdminPasscodeID" type="int16u" isNullable="true"/>
<field id="3" name="ChangeType" type="ChangeTypeEnum"/>
<field id="4" name="LatestValue" type="AccessControlExtensionStruct" isNullable="true"/>
<access op="read" privilege="administer"/>
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 4ed035e..7e49682 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 @@
<command source="client" code="0x00" name="GetSetupPIN" response="GetSetupPINResponse" mustUseTimedInvoke="true" optional="false">
<description>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.</description>
- <arg name="TempAccountIdentifier" minLength="16" length="100" type="CHAR_STRING"/>
+ <arg name="TempAccountIdentifier" minLength="16" length="100" type="char_string"/>
</command>
<command source="client" code="0x02" name="Login" mustUseTimedInvoke="true" optional="false">
<description>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.</description>
- <arg name="TempAccountIdentifier" minLength="16" length="100" type="CHAR_STRING"/>
- <arg name="SetupPIN" minLength="11" type="CHAR_STRING"/>
+ <arg name="TempAccountIdentifier" minLength="16" length="100" type="char_string"/>
+ <arg name="SetupPIN" minLength="11" type="char_string"/>
</command>
<command source="client" code="0x03" name="Logout" mustUseTimedInvoke="true" optional="false">
@@ -42,7 +42,7 @@
<command source="server" code="0x01" name="GetSetupPINResponse" optional="false" disableDefaultResponse="true">
<description>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.</description>
- <arg name="SetupPIN" type="CHAR_STRING"/>
+ <arg name="SetupPIN" type="char_string"/>
</command>
</cluster>
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 afadef5..c19bca0 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 @@
<configurator>
<domain name="CHIP"/>
- <bitmap name="CommandBits" type="BITMAP16">
+ <bitmap name="CommandBits" type="bitmap16">
<cluster code="0x0025"/>
<field mask="0x0001" name="InstantAction"/>
<field mask="0x0002" name="InstantActionWithTransition"/>
@@ -33,13 +33,13 @@
<field mask="0x0800" name="DisableActionWithDuration"/>
</bitmap>
- <enum name="ActionErrorEnum" type="ENUM8">
+ <enum name="ActionErrorEnum" type="enum8">
<cluster code="0x0025"/>
<item value="0" name="Unknown"/>
<item value="1" name="Interrupted"/>
</enum>
- <enum name="ActionStateEnum" type="ENUM8">
+ <enum name="ActionStateEnum" type="enum8">
<cluster code="0x0025"/>
<item value="0" name="Inactive"/>
<item value="1" name="Active"/>
@@ -47,7 +47,7 @@
<item value="3" name="Disabled"/>
</enum>
- <enum name="ActionTypeEnum" type="ENUM8">
+ <enum name="ActionTypeEnum" type="enum8">
<cluster code="0x0025"/>
<item value="0" name="Other"/>
<item value="1" name="Scene"/>
@@ -58,7 +58,7 @@
<item value="6" name="Alarm"/>
</enum>
- <enum name="EndpointListTypeEnum" type="ENUM8">
+ <enum name="EndpointListTypeEnum" type="enum8">
<cluster code="0x0025"/>
<item value="0" name="Other"/>
<item value="1" name="Room"/>
@@ -67,20 +67,20 @@
<struct name="ActionStruct">
<cluster code="0x0025"/>
- <item name="ActionID" type="INT16U"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
+ <item name="ActionID" type="int16u"/>
+ <item name="Name" type="char_string" length="32"/>
<item name="Type" type="ActionTypeEnum"/>
- <item name="EndpointListID" type="INT16U"/>
+ <item name="EndpointListID" type="int16u"/>
<item name="SupportedCommands" type="CommandBits"/>
<item name="State" type="ActionStateEnum"/>
</struct>
<struct name="EndpointListStruct">
<cluster code="0x0025"/>
- <item name="EndpointListID" type="INT16U"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
+ <item name="EndpointListID" type="int16u"/>
+ <item name="Name" type="char_string" length="32"/>
<item name="Type" type="EndpointListTypeEnum"/>
- <item name="Endpoints" type="ENDPOINT_NO" array="true" length="256"/>
+ <item name="Endpoints" type="endpoint_no" array="true" length="256"/>
</struct>
<cluster>
@@ -96,92 +96,92 @@
<command source="client" code="0x00" name="InstantAction" optional="true">
<description>This command triggers an action (state change) on the involved endpoints.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x01" name="InstantActionWithTransition" optional="true">
<description>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.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
- <arg name="TransitionTime" type="INT16U"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
+ <arg name="TransitionTime" type="int16u"/>
</command>
<command source="client" code="0x02" name="StartAction" optional="true">
<description>This command triggers the commencement of an action on the involved endpoints.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x03" name="StartActionWithDuration" optional="true">
<description>This command triggers the commencement of an action (with a duration) on the involved endpoints.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
- <arg name="Duration" type="INT32U"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
+ <arg name="Duration" type="int32u"/>
</command>
<command source="client" code="0x04" name="StopAction" optional="true">
<description>This command stops the ongoing action on the involved endpoints.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x05" name="PauseAction" optional="true">
<description>This command pauses an ongoing action.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x06" name="PauseActionWithDuration" optional="true">
<description>This command pauses an ongoing action with a duration.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
- <arg name="Duration" type="INT32U"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
+ <arg name="Duration" type="int32u"/>
</command>
<command source="client" code="0x07" name="ResumeAction" optional="true">
<description>This command resumes a previously paused action.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x08" name="EnableAction" optional="true">
<description>This command enables a certain action or automation.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x09" name="EnableActionWithDuration" optional="true">
<description>This command enables a certain action or automation with a duration.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
- <arg name="Duration" type="INT32U"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
+ <arg name="Duration" type="int32u"/>
</command>
<command source="client" code="0x0A" name="DisableAction" optional="true">
<description>This command disables a certain action or automation.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
</command>
<command source="client" code="0x0B" name="DisableActionWithDuration" optional="true">
<description>This command disables a certain action or automation with a duration.</description>
- <arg name="ActionID" type="INT16U"/>
- <arg name="InvokeID" type="INT32U" optional="true"/>
- <arg name="Duration" type="INT32U"/>
+ <arg name="ActionID" type="int16u"/>
+ <arg name="InvokeID" type="int32u" optional="true"/>
+ <arg name="Duration" type="int32u"/>
</command>
<event side="server" code="0x00" priority="info" name="StateChanged" optional="false">
<description>This event SHALL be generated when there is a change in the Status of an ActionID.</description>
- <field id="0" name="ActionID" type="INT16U" />
- <field id="1" name="InvokeID" type="INT32U" />
+ <field id="0" name="ActionID" type="int16u" />
+ <field id="1" name="InvokeID" type="int32u" />
<field id="2" name="NewState" type="ActionStateEnum" />
</event>
<event side="server" code="0x01" priority="info" name="ActionFailed" optional="false">
<description>This event SHALL be generated when there is some error which prevents the action from its normal planned execution.</description>
- <field id="0" name="ActionID" type="INT16U" />
- <field id="1" name="InvokeID" type="INT32U" />
+ <field id="0" name="ActionID" type="int16u" />
+ <field id="1" name="InvokeID" type="int32u" />
<field id="2" name="NewState" type="ActionStateEnum" />
<field id="3" name="Error" type="ActionErrorEnum" />
</event>
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 aa34ca9..eda59d9 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 @@
<configurator>
<domain name="General"/>
- <enum name="StatusCode" type="ENUM8">
+ <enum name="StatusCode" type="enum8">
<cluster code="0x003c"/>
<item name="Busy" value="0x02"/>
<item name="PAKEParameterError" value="0x03"/>
<item name="WindowNotOpen" value="0x04"/>
</enum>
- <enum name="CommissioningWindowStatusEnum" type="ENUM8">
+ <enum name="CommissioningWindowStatusEnum" type="enum8">
<cluster code="0x003c"/>
<item name="WindowNotOpen" value="0x00"/>
<item name="EnhancedWindowOpen" value="0x01"/>
@@ -40,21 +40,21 @@
<attribute side="server" code="0x0000" define="WINDOW_STATUS" type="CommissioningWindowStatusEnum" writable="false" optional="false">WindowStatus</attribute>
<attribute side="server" code="0x0001" define="ADMIN_FABRIC_INDEX" type="fabric_idx" writable="false" isNullable="true" optional="false">AdminFabricIndex</attribute>
- <attribute side="server" code="0x0002" define="ADMIN_VENDOR_ID" type="INT16U" writable="false" isNullable="true" optional="false">AdminVendorId</attribute>
+ <attribute side="server" code="0x0002" define="ADMIN_VENDOR_ID" type="int16u" writable="false" isNullable="true" optional="false">AdminVendorId</attribute>
<command source="client" code="0x00" name="OpenCommissioningWindow" mustUseTimedInvoke="true" optional="false">
<description>This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method.</description>
- <arg name="CommissioningTimeout" type="INT16U"/>
- <arg name="PAKEPasscodeVerifier" type="OCTET_STRING"/>
- <arg name="Discriminator" type="INT16U"/>
- <arg name="Iterations" type="INT32U"/>
- <arg name="Salt" type="OCTET_STRING"/>
+ <arg name="CommissioningTimeout" type="int16u"/>
+ <arg name="PAKEPasscodeVerifier" type="octet_string"/>
+ <arg name="Discriminator" type="int16u"/>
+ <arg name="Iterations" type="int32u"/>
+ <arg name="Salt" type="octet_string"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="client" code="0x01" name="OpenBasicCommissioningWindow" mustUseTimedInvoke="true" optional="true">
<description>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.</description>
- <arg name="CommissioningTimeout" type="INT16U"/>
+ <arg name="CommissioningTimeout" type="int16u"/>
<access op="invoke" privilege="administer"/>
</command>
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 2496130..f2ce941 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 @@
</cluster>
<!-- Feature Map -->
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x005B" />
<field name="Fair" mask="0x01" />
<field name="Moderate" mask="0x02" />
@@ -39,7 +39,7 @@
</bitmap>
<!-- Cluster Data Types -->
- <enum name="AirQualityEnum" type="ENUM8">
+ <enum name="AirQualityEnum" type="enum8">
<cluster code="0x005B" />
<item value="0" name="Unknown" />
<item value="1" name="Good" />
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 c8f9f21..c9e9005 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 @@
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>This cluster provides information about an application running on a TV or media player device which is represented as an endpoint.</description>
- <attribute side="server" code="0x0000" define="APPLICATION_VENDOR_NAME" type="CHAR_STRING" default="" length="32" writable="false" optional="true">VendorName</attribute>
- <attribute side="server" code="0x0001" define="APPLICATION_VENDOR_ID" type="VENDOR_ID" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">VendorID</attribute>
- <attribute side="server" code="0x0002" define="APPLICATION_NAME" type="CHAR_STRING" length="32" writable="false" optional="false">ApplicationName</attribute>
- <attribute side="server" code="0x0003" define="APPLICATION_PRODUCT_ID" type="INT16U" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">ProductID</attribute>
+ <attribute side="server" code="0x0000" define="APPLICATION_VENDOR_NAME" type="char_string" default="" length="32" writable="false" optional="true">VendorName</attribute>
+ <attribute side="server" code="0x0001" define="APPLICATION_VENDOR_ID" type="vendor_id" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">VendorID</attribute>
+ <attribute side="server" code="0x0002" define="APPLICATION_NAME" type="char_string" length="32" writable="false" optional="false">ApplicationName</attribute>
+ <attribute side="server" code="0x0003" define="APPLICATION_PRODUCT_ID" type="int16u" default="0x0" min="0x0000" max="0xFFFF" writable="false" optional="true">ProductID</attribute>
<attribute side="server" code="0x0004" define="APPLICATION_APP" type="ApplicationStruct" writable="false" optional="false">Application</attribute>
<attribute side="server" code="0x0005" define="APPLICATION_STATUS" type="ApplicationStatusEnum" default="0x01" min="0x00" max="0xFF" writable="false" optional="false">Status</attribute>
- <attribute side="server" code="0x0006" define="APPLICATION_VERSION" type="CHAR_STRING" length="32" writable="false" optional="false">ApplicationVersion</attribute>
+ <attribute side="server" code="0x0006" define="APPLICATION_VERSION" type="char_string" length="32" writable="false" optional="false">ApplicationVersion</attribute>
<attribute side="server" code="0x0007" define="APPLICATION_ALLOWED_VENDOR_LIST" type="ARRAY" entryType="vendor_id" length="32" writable="false" optional="false">AllowedVendorList</attribute>
</cluster>
@@ -38,11 +38,11 @@
<!-- ZAP does not support two identically-named structs in different clusters yet, so we just reuse the struct definition in Application Launcher
<struct name="ApplicationStruct">
<cluster code="0x050d"/>
- <item name="CatalogVendorID" type="INT16U"/>
- <item name="ApplicationID" type="CHAR_STRING"/>
+ <item name="CatalogVendorID" type="int16u"/>
+ <item name="ApplicationID" type="char_string"/>
</struct> -->
- <enum name="ApplicationStatusEnum" type="ENUM8">
+ <enum name="ApplicationStatusEnum" type="enum8">
<cluster code="0x050d"/>
<item name="Stopped" value="0x00"/>
<item name="ActiveVisibleFocus" value="0x01"/>
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 901de42..2cea9bf 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 @@
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for launching content on a media player device such as a TV or Speaker.</description>
- <attribute side="server" code="0x0000" define="APPLICATION_LAUNCHER_LIST" type="ARRAY" entryType="INT16U" length="254" reportable="true" writable="false" optional="true">CatalogList</attribute>
+ <attribute side="server" code="0x0000" define="APPLICATION_LAUNCHER_LIST" type="ARRAY" entryType="int16u" length="254" reportable="true" writable="false" optional="true">CatalogList</attribute>
<attribute side="server" code="0x0001" define="APPLICATION_LAUNCHER_CURRENT_APP" type="ApplicationEPStruct" default="0x0" isNullable="true" writable="true" optional="true">CurrentApp</attribute>
<command source="client" code="0x00" name="LaunchApp" response="LauncherResponse" optional="false">
<description>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.</description>
<arg name="Application" type="ApplicationStruct" optional="true"/>
- <arg name="Data" type="OCTET_STRING" optional="true"/>
+ <arg name="Data" type="octet_string" optional="true"/>
</command>
<command source="client" code="0x01" name="StopApp" response="LauncherResponse" optional="false">
@@ -47,7 +47,7 @@
<command source="server" code="0x03" name="LauncherResponse" optional="false">
<description>This command SHALL be generated in response to LaunchApp commands.</description>
<arg name="Status" type="ApplicationLauncherStatusEnum"/>
- <arg name="Data" type="OCTET_STRING" optional="true"/>
+ <arg name="Data" type="octet_string" optional="true"/>
</command>
</cluster>
@@ -55,7 +55,7 @@
<struct name="ApplicationEPStruct">
<cluster code="0x050c"/>
<item name="Application" type="ApplicationStruct"/>
- <item name="Endpoint" type="ENDPOINT_NO" optional="true"/>
+ <item name="Endpoint" type="endpoint_no" optional="true"/>
</struct>
<struct name="ApplicationStruct">
@@ -65,18 +65,18 @@
definitions are identical, but if that ever stops being the case, we
will need to stop using a single definition with two cluster codes -->
<cluster code="0x050d"/>
- <item name="CatalogVendorID" type="INT16U"/>
- <item name="ApplicationID" type="CHAR_STRING"/>
+ <item name="CatalogVendorID" type="int16u"/>
+ <item name="ApplicationID" type="char_string"/>
</struct>
- <enum name="ApplicationLauncherStatusEnum" type="ENUM8">
+ <enum name="ApplicationLauncherStatusEnum" type="enum8">
<cluster code="0x050c"/>
<item name="Success" value="0x00"/>
<item name="AppNotAvailable" value="0x01"/>
<item name="SystemBusy" value="0x02"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x050c"/>
<field name="ApplicationPlatform" mask="0x1"/>
</bitmap>
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 b3ba1b9..d58dfca 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 @@
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for controlling the Output on a media device such as a TV.</description>
<attribute side="server" code="0x0000" define="AUDIO_OUTPUT_LIST" type="ARRAY" entryType="OutputInfoStruct" length="254" writable="false" optional="false">OutputList</attribute>
- <attribute side="server" code="0x0001" define="AUDIO_OUTPUT_CURRENT_OUTPUT" type="INT8U" default="0x00" min="0x00" max="0xFF" writable="false" optional="true">CurrentOutput</attribute>
+ <attribute side="server" code="0x0001" define="AUDIO_OUTPUT_CURRENT_OUTPUT" type="int8u" default="0x00" min="0x00" max="0xFF" writable="false" optional="true">CurrentOutput</attribute>
<command source="client" code="0x00" name="SelectOutput" optional="false">
<description>Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List.</description>
- <arg name="Index" type="INT8U"/>
+ <arg name="Index" type="int8u"/>
</command>
<command source="client" code="0x01" name="RenameOutput" optional="true">
<description>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.</description>
- <arg name="Index" type="INT8U"/>
- <arg name="Name" type="CHAR_STRING"/>
+ <arg name="Index" type="int8u"/>
+ <arg name="Name" type="char_string"/>
</command>
</cluster>
<struct name="OutputInfoStruct">
<cluster code="0x050b"/>
- <item name="Index" type="INT8U"/>
+ <item name="Index" type="int8u"/>
<item name="OutputType" type="OutputTypeEnum"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
+ <item name="Name" type="char_string" length="32"/>
</struct>
- <enum name="OutputTypeEnum" type="ENUM8">
+ <enum name="OutputTypeEnum" type="enum8">
<cluster code="0x050b"/>
<item name="HDMI" value="0x00"/>
<item name="BT" value="0x01"/>
@@ -57,7 +57,7 @@
<item name="Other" value="0x05"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x050b"/>
<field name="NameUpdates" mask="0x1"/>
</bitmap>
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 c555247..1b3a2d5 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 @@
<globalAttribute side="either" code="0xFFFD" value="4"/>
<!-- Ballast Configuration Attribute Set -->
- <attribute side="server" code="0x0000" define="PHYSICAL_MIN_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="false" default="0x01" optional="false">PhysicalMinLevel</attribute>
- <attribute side="server" code="0x0001" define="PHYSICAL_MAX_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="false" default="0xFE" optional="false">PhysicalMaxLevel</attribute>
+ <attribute side="server" code="0x0000" define="PHYSICAL_MIN_LEVEL" type="int8u" min="0x01" max="0xFE" writable="false" default="0x01" optional="false">PhysicalMinLevel</attribute>
+ <attribute side="server" code="0x0001" define="PHYSICAL_MAX_LEVEL" type="int8u" min="0x01" max="0xFE" writable="false" default="0xFE" optional="false">PhysicalMaxLevel</attribute>
<attribute side="server" code="0x0002" define="BALLAST_STATUS" type="BallastStatusBitmap" min="0x00" max="0x03" writable="false" default="0x00" optional="true">BallastStatus</attribute>
<!-- Ballast Settings Attribute Set -->
- <attribute side="server" code="0x0010" define="MIN_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="false">MinLevel</attribute>
- <attribute side="server" code="0x0011" define="MAX_LEVEL" type="INT8U" min="0x01" max="0xFE" writable="true" default="0xFE" optional="false">MaxLevel</attribute>
+ <attribute side="server" code="0x0010" define="MIN_LEVEL" type="int8u" min="0x01" max="0xFE" writable="true" default="0x01" optional="false">MinLevel</attribute>
+ <attribute side="server" code="0x0011" define="MAX_LEVEL" type="int8u" min="0x01" max="0xFE" writable="true" default="0xFE" optional="false">MaxLevel</attribute>
<!-- PowerOnLevel and PowerOnFadeTime are deprecated -->
- <attribute side="server" code="0x0014" define="INTRINSIC_BALLAST_FACTOR" type="INT8U" writable="true" isNullable="true" optional="true">IntrinsicBallastFactor</attribute>
- <attribute side="server" code="0x0015" define="BALLAST_FACTOR_ADJUSTMENT" type="INT8U" min="0x64" writable="true" default="0xFF" isNullable="true" optional="true">BallastFactorAdjustment</attribute>
+ <attribute side="server" code="0x0014" define="INTRINSIC_BALLAST_FACTOR" type="int8u" writable="true" isNullable="true" optional="true">IntrinsicBallastFactor</attribute>
+ <attribute side="server" code="0x0015" define="BALLAST_FACTOR_ADJUSTMENT" type="int8u" min="0x64" writable="true" default="0xFF" isNullable="true" optional="true">BallastFactorAdjustment</attribute>
<!-- Lamp Information Attribute Set -->
- <attribute side="server" code="0x0020" define="LAMP_QUANTITY" type="INT8U" writable="false" optional="false">LampQuantity</attribute>
+ <attribute side="server" code="0x0020" define="LAMP_QUANTITY" type="int8u" writable="false" optional="false">LampQuantity</attribute>
<!-- Lamp Settings Attribute Set -->
- <attribute side="server" code="0x0030" define="LAMP_TYPE" type="CHAR_STRING" length="16" writable="true" optional="true">LampType</attribute>
- <attribute side="server" code="0x0031" define="LAMP_MANUFACTURER" type="CHAR_STRING" length="16" writable="true" optional="true">LampManufacturer</attribute>
- <attribute side="server" code="0x0032" define="LAMP_RATED_HOURS" type="INT24U" writable="true" default="0xFFFFFF" isNullable="true" optional="true">LampRatedHours</attribute>
- <attribute side="server" code="0x0033" define="LAMP_BURN_HOURS" type="INT24U" writable="true" default="0x000000" isNullable="true" optional="true">LampBurnHours</attribute>
+ <attribute side="server" code="0x0030" define="LAMP_TYPE" type="char_string" length="16" writable="true" optional="true">LampType</attribute>
+ <attribute side="server" code="0x0031" define="LAMP_MANUFACTURER" type="char_string" length="16" writable="true" optional="true">LampManufacturer</attribute>
+ <attribute side="server" code="0x0032" define="LAMP_RATED_HOURS" type="int24u" writable="true" default="0xFFFFFF" isNullable="true" optional="true">LampRatedHours</attribute>
+ <attribute side="server" code="0x0033" define="LAMP_BURN_HOURS" type="int24u" writable="true" default="0x000000" isNullable="true" optional="true">LampBurnHours</attribute>
<attribute side="server" code="0x0034" define="LAMP_ALARM_MODE" type="LampAlarmModeBitmap" min="0x00" max="0x01" writable="true" default="0x00" optional="true">LampAlarmMode</attribute>
- <attribute side="server" code="0x0035" define="LAMP_BURN_HOURS_TRIP_POINT" type="INT24U" writable="true" default="0xFFFFFF" isNullable="true" optional="true">LampBurnHoursTripPoint</attribute>
+ <attribute side="server" code="0x0035" define="LAMP_BURN_HOURS_TRIP_POINT" type="int24u" writable="true" default="0xFFFFFF" isNullable="true" optional="true">LampBurnHoursTripPoint</attribute>
</cluster>
</configurator>
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 4c9cd6c..a37d30c 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 @@
<item fieldId="1" name="SubscriptionsPerFabric" type="int16u" isNullable="false" writable="false"/>
</struct>
- <enum name="ProductFinishEnum" type="ENUM8">
+ <enum name="ProductFinishEnum" type="enum8">
<cluster code="0x0028"/>
<item name="Other" value="0"/>
<item name="Matte" value="1"/>
@@ -33,7 +33,7 @@
<item name="Fabric" value="5"/>
</enum>
- <enum name="ColorEnum" type="ENUM8">
+ <enum name="ColorEnum" type="enum8">
<cluster code="0x0028"/>
<item name="Black" value="0"/>
<item name="Navy" value="1"/>
@@ -110,7 +110,7 @@
<event side="server" code="0x00" name="StartUp" priority="critical" optional="false">
<description>The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process.</description>
- <field id="0" name="SoftwareVersion" type="INT32U"/>
+ <field id="0" name="SoftwareVersion" type="int32u"/>
</event>
<event side="server" code="0x01" name="ShutDown" priority="critical" optional="true">
<description>The ShutDown event SHOULD be emitted by a Node prior to any orderly shutdown sequence on a best-effort basis.</description>
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 61db59a..09ea471 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 @@
<struct name="TargetStruct" isFabricScoped="true">
<cluster code="0x001e"/>
- <item fieldId="1" name="Node" type="NODE_ID" optional="true"/>
- <item fieldId="2" name="Group" type="GROUP_ID" optional="true"/>
- <item fieldId="3" name="Endpoint" type="ENDPOINT_NO" optional="true"/>
- <item fieldId="4" name="Cluster" type="CLUSTER_ID" optional="true"/>
+ <item fieldId="1" name="Node" type="node_id" optional="true"/>
+ <item fieldId="2" name="Group" type="group_id" optional="true"/>
+ <item fieldId="3" name="Endpoint" type="endpoint_no" optional="true"/>
+ <item fieldId="4" name="Cluster" type="cluster_id" optional="true"/>
</struct>
<cluster>
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 fa0ca62..649c45f 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="ProductFinishEnum" type="ENUM8">
+ <enum name="ProductFinishEnum" type="enum8">
<cluster code="0x0039"/>
<item name="Other" value="0"/>
<item name="Matte" value="1"/>
@@ -27,7 +27,7 @@
<item name="Fabric" value="5"/>
</enum>
- <enum name="ColorEnum" type="ENUM8">
+ <enum name="ColorEnum" type="enum8">
<cluster code="0x0039"/>
<item name="Black" value="0"/>
<item name="Navy" value="1"/>
@@ -90,7 +90,7 @@
<event side="server" code="0x00" name="StartUp" priority="critical" optional="true">
<description>The StartUp event SHALL be emitted by a Node as soon as reasonable after completing a boot or reboot process.</description>
- <field id="0" name="SoftwareVersion" type="INT32U"/>
+ <field id="0" name="SoftwareVersion" type="int32u"/>
</event>
<event side="server" code="0x01" name="ShutDown" priority="critical" optional="true">
<description>The ShutDown event SHOULD be emitted by a Node prior to any orderly shutdown sequence on a best-effort basis.</description>
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 ab70f9c..80c2118 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 @@
<command source="client" code="0x00" name="ChangeChannel" response="ChangeChannelResponse" optional="true">
<description>Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. </description>
- <arg name="Match" type="CHAR_STRING"/>
+ <arg name="Match" type="char_string"/>
</command>
<command source="client" code="0x02" name="ChangeChannelByNumber" optional="false">
<description>Change the channel on the media plaeyer to the channel with the given Number in the ChannelList attribute.</description>
- <arg name="MajorNumber" type="INT16U"/>
- <arg name="MinorNumber" type="INT16U"/>
+ <arg name="MajorNumber" type="int16u"/>
+ <arg name="MinorNumber" type="int16u"/>
</command>
<command source="client" code="0x03" name="SkipChannel" optional="false">
<description>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.</description>
- <arg name="Count" type="INT16S"/>
+ <arg name="Count" type="int16s"/>
</command>
<command source="server" code="0x01" name="ChangeChannelResponse" optional="true">
<description>Upon receipt, this SHALL display the active status of the input list on screen.</description>
<arg name="Status" type="ChannelStatusEnum"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
</cluster>
<struct name="ChannelInfoStruct">
<cluster code="0x0504"/>
- <item name="MajorNumber" type="INT16U"/>
- <item name="MinorNumber" type="INT16U"/>
- <item name="Name" type="CHAR_STRING" optional="true"/>
- <item name="CallSign" type="CHAR_STRING" optional="true"/>
- <item name="AffiliateCallSign" type="CHAR_STRING" optional="true"/>
+ <item name="MajorNumber" type="int16u"/>
+ <item name="MinorNumber" type="int16u"/>
+ <item name="Name" type="char_string" optional="true"/>
+ <item name="CallSign" type="char_string" optional="true"/>
+ <item name="AffiliateCallSign" type="char_string" optional="true"/>
</struct>
<struct name="LineupInfoStruct">
<cluster code="0x0504"/>
- <item name="OperatorName" type="CHAR_STRING"/>
- <item name="LineupName" type="CHAR_STRING" default="" optional="true"/>
- <item name="PostalCode" type="CHAR_STRING" default="" optional="true"/>
+ <item name="OperatorName" type="char_string"/>
+ <item name="LineupName" type="char_string" default="" optional="true"/>
+ <item name="PostalCode" type="char_string" default="" optional="true"/>
<item name="LineupInfoType" type="LineupInfoTypeEnum"/>
</struct>
- <enum name="LineupInfoTypeEnum" type="ENUM8">
+ <enum name="LineupInfoTypeEnum" type="enum8">
<cluster code="0x0504"/>
<item name="MSO" value="0x00"/>
</enum>
- <enum name="ChannelStatusEnum" type="ENUM8">
+ <enum name="ChannelStatusEnum" type="enum8">
<cluster code="0x0504"/>
<item name="Success" value="0x00"/>
<item name="MultipleMatches" value="0x01"/>
<item name="NoMatches" value="0x02"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0504"/>
<field name="ChannelList" mask="0x1"/>
<field name="LineupInfo" mask="0x2"/>
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 ad9cfb3..8ea8bc0 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 @@
-->
<configurator>
<domain name="CHIP" spec="chip-0.7" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
- <enum name="StatusEnum" type="ENUM8">
+ <enum name="StatusEnum" type="enum8">
<cluster code="0x0029"/>
<item name="UpdateAvailable" value="0x0"/>
<item name="Busy" value="0x1"/>
<item name="NotAvailable" value="0x2"/>
<item name="DownloadProtocolNotSupported" value="0x3"/>
</enum>
- <enum name="ApplyUpdateActionEnum" type="ENUM8">
+ <enum name="ApplyUpdateActionEnum" type="enum8">
<cluster code="0x0029"/>
<item name="Proceed" value="0x0"/>
<item name="AwaitNextAction" value="0x1"/>
<item name="Discontinue" value="0x2"/>
</enum>
- <enum name="DownloadProtocolEnum" type="ENUM8">
+ <enum name="DownloadProtocolEnum" type="enum8">
<cluster code="0x0029"/>
<item name="BDXSynchronous" value="0x0"/>
<item name="BDXAsynchronous" value="0x1"/>
@@ -47,48 +47,48 @@
<command source="client" code="0x00" name="QueryImage" response="QueryImageResponse" optional="false" cli="chip ota queryimage">
<description>Determine availability of a new Software Image</description>
<arg name="VendorID" type="vendor_id"/>
- <arg name="ProductID" type="INT16U"/>
- <arg name="SoftwareVersion" type="INT32U"/>
+ <arg name="ProductID" type="int16u"/>
+ <arg name="SoftwareVersion" type="int32u"/>
<arg name="ProtocolsSupported" type="DownloadProtocolEnum" array="true"/>
- <arg name="HardwareVersion" type="INT16U" optional="true"/>
- <arg name="Location" type="CHAR_STRING" length="2" optional="true"/>
- <arg name="RequestorCanConsent" type="BOOLEAN" default="false" optional="true"/>
- <arg name="MetadataForProvider" type="OCTET_STRING" length="512" optional="true"/>
+ <arg name="HardwareVersion" type="int16u" optional="true"/>
+ <arg name="Location" type="char_string" length="2" optional="true"/>
+ <arg name="RequestorCanConsent" type="boolean" default="false" optional="true"/>
+ <arg name="MetadataForProvider" type="octet_string" length="512" optional="true"/>
</command>
<command source="server" code="0x01" name="QueryImageResponse" optional="false" cli="chip ota queryimageresponse">
<description>Response to QueryImage command</description>
<arg name="Status" type="StatusEnum"/>
- <arg name="DelayedActionTime" type="INT32U" optional="true"/>
- <arg name="ImageURI" type="CHAR_STRING" length="256" optional="true"/>
- <arg name="SoftwareVersion" type="INT32U" optional="true"/>
- <arg name="SoftwareVersionString" type="CHAR_STRING" length="64" optional="true"/>
- <arg name="UpdateToken" type="OCTET_STRING" length="32" optional="true"/>
- <arg name="UserConsentNeeded" type="BOOLEAN" default="false" optional="true"/>
- <arg name="MetadataForRequestor" type="OCTET_STRING" length="512" optional="true"/>
+ <arg name="DelayedActionTime" type="int32u" optional="true"/>
+ <arg name="ImageURI" type="char_string" length="256" optional="true"/>
+ <arg name="SoftwareVersion" type="int32u" optional="true"/>
+ <arg name="SoftwareVersionString" type="char_string" length="64" optional="true"/>
+ <arg name="UpdateToken" type="octet_string" length="32" optional="true"/>
+ <arg name="UserConsentNeeded" type="boolean" default="false" optional="true"/>
+ <arg name="MetadataForRequestor" type="octet_string" length="512" optional="true"/>
</command>
<command source="client" code="0x02" name="ApplyUpdateRequest" response="ApplyUpdateResponse" optional="false" cli="chip ota applyupdaterequest">
<description>Determine next action to take for a downloaded Software Image</description>
- <arg name="UpdateToken" type="OCTET_STRING" length="32"/>
- <arg name="NewVersion" type="INT32U"/>
+ <arg name="UpdateToken" type="octet_string" length="32"/>
+ <arg name="NewVersion" type="int32u"/>
</command>
<command source="server" code="0x03" name="ApplyUpdateResponse" optional="false" cli="chip ota applyupdateresponse">
<description>Reponse to ApplyUpdateRequest command</description>
<arg name="Action" type="ApplyUpdateActionEnum"/>
- <arg name="DelayedActionTime" type="INT32U"/>
+ <arg name="DelayedActionTime" type="int32u"/>
</command>
<command source="client" code="0x04" name="NotifyUpdateApplied" optional="false" cli="chip ota notifyupdateapplied">
<description>Notify OTA Provider that an update was applied</description>
- <arg name="UpdateToken" type="OCTET_STRING" length="32"/>
- <arg name="SoftwareVersion" type="INT32U"/>
+ <arg name="UpdateToken" type="octet_string" length="32"/>
+ <arg name="SoftwareVersion" type="int32u"/>
</command>
</cluster>
- <enum name="AnnouncementReasonEnum" type="ENUM8">
+ <enum name="AnnouncementReasonEnum" type="enum8">
<cluster code="0x002a"/>
<item name="SimpleAnnouncement" value="0x0"/>
<item name="UpdateAvailable" value="0x1"/>
<item name="UrgentUpdateAvailable" value="0x2"/>
</enum>
- <enum name="UpdateStateEnum" type="ENUM8">
+ <enum name="UpdateStateEnum" type="enum8">
<cluster code="0x002a"/>
<item name="Unknown" value="0x0"/>
<item name="Idle" value="0x1"/>
@@ -100,7 +100,7 @@
<item name="RollingBack" value="0x7"/>
<item name="DelayedOnUserConsent" value="0x8"/>
</enum>
- <enum name="ChangeReasonEnum" type="ENUM8">
+ <enum name="ChangeReasonEnum" type="enum8">
<cluster code="0x002a"/>
<item name="Unknown" value="0x0"/>
<item name="Success" value="0x1"/>
@@ -122,15 +122,15 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<attribute side="server" code="0x0000" define="DEFAULT_OTA_PROVIDERS" type="ARRAY" entryType="ProviderLocation" writable="true" optional="false">DefaultOTAProviders</attribute>
- <attribute side="server" code="0x0001" define="UPDATE_POSSIBLE" type="BOOLEAN" default="true" writable="false" optional="false">UpdatePossible</attribute>
+ <attribute side="server" code="0x0001" define="UPDATE_POSSIBLE" type="boolean" default="true" writable="false" optional="false">UpdatePossible</attribute>
<attribute side="server" code="0x0002" define="UPDATE_STATE" type="UpdateStateEnum" default="Unknown" writable="false" optional="false">UpdateState</attribute>
- <attribute side="server" code="0x0003" define="UPDATE_STATE_PROGRESS" type="INT8U" min="0" max="100" writable="false" isNullable="true" optional="false">UpdateStateProgress</attribute>
+ <attribute side="server" code="0x0003" define="UPDATE_STATE_PROGRESS" type="int8u" min="0" max="100" writable="false" isNullable="true" optional="false">UpdateStateProgress</attribute>
<command source="client" code="0x00" name="AnnounceOTAProvider" optional="true" cli="chip ota announceotaprovider">
<description>Announce the presence of an OTA Provider</description>
<arg name="ProviderNodeID" type="node_id"/>
<arg name="VendorID" type="vendor_id"/>
<arg name="AnnouncementReason" type="AnnouncementReasonEnum"/>
- <arg name="MetadataForNode" type="OCTET_STRING" length="512" optional="true"/>
+ <arg name="MetadataForNode" type="octet_string" length="512" optional="true"/>
<arg name="Endpoint" type="endpoint_no"/>
</command>
<event side="server" code="0x00" name="StateTransition" priority="info" optional="false">
@@ -138,19 +138,19 @@
<field id="0" name="PreviousState" type="UpdateStateEnum"/>
<field id="1" name="NewState" type="UpdateStateEnum"/>
<field id="2" name="Reason" type="ChangeReasonEnum"/>
- <field id="3" name="TargetSoftwareVersion" type="INT32U" isNullable="true"/>
+ <field id="3" name="TargetSoftwareVersion" type="int32u" isNullable="true"/>
</event>
<event side="server" code="0x01" name="VersionApplied" priority="critical" optional="false">
<description>This event SHALL be generated whenever a new version starts executing after being applied due to a software update.</description>
- <field id="0" name="SoftwareVersion" type="INT32U"/>
- <field id="1" name="ProductID" type="INT16U"/>
+ <field id="0" name="SoftwareVersion" type="int32u"/>
+ <field id="1" name="ProductID" type="int16u"/>
</event>
<event side="server" code="0x02" name="DownloadError" priority="info" optional="false">
<description>This event SHALL be generated whenever an error occurs during OTA Requestor download operation.</description>
- <field id="0" name="SoftwareVersion" type="INT32U"/>
- <field id="1" name="BytesDownloaded" type="INT64U"/>
- <field id="2" name="ProgressPercent" type="INT8U" min="0" max="100" isNullable="true"/>
- <field id="3" name="PlatformCode" type="INT64S" isNullable="true"/>
+ <field id="0" name="SoftwareVersion" type="int32u"/>
+ <field id="1" name="BytesDownloaded" type="int64u"/>
+ <field id="2" name="ProgressPercent" type="int8u" min="0" max="100" isNullable="true"/>
+ <field id="3" name="PlatformCode" type="int64s" isNullable="true"/>
</event>
</cluster>
</configurator>
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 a51b684..0dcb76a 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 @@
limitations under the License.
-->
<configurator>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0300" />
<field name="HueAndSaturation" mask="0x01" />
<field name="EnhancedHue" mask="0x02" />
@@ -24,7 +24,7 @@
<field name="ColorTemperature" mask="0x10" />
</bitmap>
- <enum name="HueDirection" type="ENUM8">
+ <enum name="HueDirection" type="enum8">
<cluster code="0x0300"/>
<item name="ShortestDistance" value="0x0"/>
<item name="LongestDistance" value="0x1"/>
@@ -32,40 +32,40 @@
<item name="Down" value="0x3"/>
</enum>
- <enum name="HueMoveMode" type="ENUM8">
+ <enum name="HueMoveMode" type="enum8">
<cluster code="0x0300"/>
<item name="Stop" value="0x0"/>
<item name="Up" value="0x1"/>
<item name="Down" value="0x3"/>
</enum>
- <enum name="HueStepMode" type="ENUM8">
+ <enum name="HueStepMode" type="enum8">
<cluster code="0x0300"/>
<item name="Up" value="0x1"/>
<item name="Down" value="0x3"/>
</enum>
- <enum name="SaturationMoveMode" type="ENUM8">
+ <enum name="SaturationMoveMode" type="enum8">
<cluster code="0x0300"/>
<item name="Stop" value="0x0"/>
<item name="Up" value="0x1"/>
<item name="Down" value="0x3"/>
</enum>
- <enum name="SaturationStepMode" type="ENUM8">
+ <enum name="SaturationStepMode" type="enum8">
<cluster code="0x0300"/>
<item name="Up" value="0x1"/>
<item name="Down" value="0x3"/>
</enum>
- <enum name="ColorMode" type="ENUM8">
+ <enum name="ColorMode" type="enum8">
<cluster code="0x0300"/>
<item name="CurrentHueAndCurrentSaturation" value="0x00"/>
<item name="CurrentXAndCurrentY" value="0x01"/>
<item name="ColorTemperature" value="0x02"/>
</enum>
- <bitmap name="ColorCapabilities" type="BITMAP16">
+ <bitmap name="ColorCapabilities" type="bitmap16">
<cluster code="0x0300"/>
<field name="HueSaturationSupported" mask="0x0001"/>
<field name="EnhancedHueSupported" mask="0x0002"/>
@@ -74,7 +74,7 @@
<field name="ColorTemperatureSupported" mask="0x0010"/>
</bitmap>
- <bitmap name="ColorLoopUpdateFlags" type="BITMAP8">
+ <bitmap name="ColorLoopUpdateFlags" type="bitmap8">
<cluster code="0x0300"/>
<field name="UpdateAction" mask="0x01"/>
<field name="UpdateDirection" mask="0x02"/>
@@ -82,14 +82,14 @@
<field name="UpdateStartHue" mask="0x08"/>
</bitmap>
- <enum name="ColorLoopAction" type="ENUM8">
+ <enum name="ColorLoopAction" type="enum8">
<cluster code="0x0300"/>
<item name="Deactivate" value="0x00"/>
<item name="ActivateFromColorLoopStartEnhancedHue" value="0x01"/>
<item name="ActivateFromEnhancedCurrentHue" value="0x02"/>
</enum>
- <enum name="ColorLoopDirection" type="ENUM8">
+ <enum name="ColorLoopDirection" type="enum8">
<cluster code="0x0300"/>
<item name="DecrementHue" value="0x00"/>
<item name="IncrementHue" value="0x01"/>
@@ -107,132 +107,132 @@
<globalAttribute side="either" code="0xFFFD" value="6"/>
- <attribute side="server" code="0x0000" define="COLOR_CONTROL_CURRENT_HUE" type="INT8U" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">CurrentHue</attribute>
+ <attribute side="server" code="0x0000" define="COLOR_CONTROL_CURRENT_HUE" type="int8u" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">CurrentHue</attribute>
<!-- CURRENT_HUE -->
- <attribute side="server" code="0x0001" define="COLOR_CONTROL_CURRENT_SATURATION" type="INT8U" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">CurrentSaturation</attribute>
+ <attribute side="server" code="0x0001" define="COLOR_CONTROL_CURRENT_SATURATION" type="int8u" min="0x00" max="0xFE" writable="false" reportable="true" default="0x00" optional="true">CurrentSaturation</attribute>
<!-- CURRENT_SATURATION -->
- <attribute side="server" code="0x0002" define="COLOR_CONTROL_REMAINING_TIME" type="INT16U" min="0x0000" max="0xFFFE" writable="false" default="0x0000" optional="true">RemainingTime</attribute>
+ <attribute side="server" code="0x0002" define="COLOR_CONTROL_REMAINING_TIME" type="int16u" min="0x0000" max="0xFFFE" writable="false" default="0x0000" optional="true">RemainingTime</attribute>
<!-- REMAINING_TIME -->
- <attribute side="server" code="0x0003" define="COLOR_CONTROL_CURRENT_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x616B" optional="true">CurrentX</attribute>
+ <attribute side="server" code="0x0003" define="COLOR_CONTROL_CURRENT_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x616B" optional="true">CurrentX</attribute>
<!-- CURRENT_X -->
- <attribute side="server" code="0x0004" define="COLOR_CONTROL_CURRENT_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x607D" optional="true">CurrentY</attribute>
+ <attribute side="server" code="0x0004" define="COLOR_CONTROL_CURRENT_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x607D" optional="true">CurrentY</attribute>
<!-- CURRENT_Y -->
- <attribute side="server" code="0x0005" define="COLOR_CONTROL_DRIFT_COMPENSATION" type="ENUM8" min="0x00" max="0x04" writable="false" optional="true">DriftCompensation</attribute>
+ <attribute side="server" code="0x0005" define="COLOR_CONTROL_DRIFT_COMPENSATION" type="enum8" min="0x00" max="0x04" writable="false" optional="true">DriftCompensation</attribute>
<!-- DRIFT_COMPENSATION -->
- <attribute side="server" code="0x0006" define="COLOR_CONTROL_COMPENSATION_TEXT" type="CHAR_STRING" length="254" writable="false" optional="true">CompensationText</attribute>
+ <attribute side="server" code="0x0006" define="COLOR_CONTROL_COMPENSATION_TEXT" type="char_string" length="254" writable="false" optional="true">CompensationText</attribute>
<!-- COMPENSATION_TEXT -->
- <attribute side="server" code="0x0007" define="COLOR_CONTROL_COLOR_TEMPERATURE" type="INT16U" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x00FA" optional="true">ColorTemperatureMireds</attribute>
+ <attribute side="server" code="0x0007" define="COLOR_CONTROL_COLOR_TEMPERATURE" type="int16u" min="0x0000" max="0xFEFF" writable="false" reportable="true" default="0x00FA" optional="true">ColorTemperatureMireds</attribute>
<!-- COLOR_TEMPERATURE -->
- <attribute side="server" code="0x0008" define="COLOR_CONTROL_COLOR_MODE" type="ENUM8" min="0x00" max="0x02" writable="false" default="0x01">ColorMode</attribute>
+ <attribute side="server" code="0x0008" define="COLOR_CONTROL_COLOR_MODE" type="enum8" min="0x00" max="0x02" writable="false" default="0x01">ColorMode</attribute>
<!-- COLOR_MODE -->
- <attribute side="server" code="0x000F" define="COLOR_CONTROL_OPTIONS" type="BITMAP8" writable="true" default="0x00">Options</attribute>
+ <attribute side="server" code="0x000F" define="COLOR_CONTROL_OPTIONS" type="bitmap8" writable="true" default="0x00">Options</attribute>
<!-- COLOR_CONTROL_OPTIONS -->
- <attribute side="server" code="0x0010" define="COLOR_CONTROL_NUMBER_OF_PRIMARIES" type="INT8U" min="0x00" max="0x06" isNullable="true" writable="false">NumberOfPrimaries</attribute>
+ <attribute side="server" code="0x0010" define="COLOR_CONTROL_NUMBER_OF_PRIMARIES" type="int8u" min="0x00" max="0x06" isNullable="true" writable="false">NumberOfPrimaries</attribute>
<!-- NUMBER_OF_PRIMARIES -->
- <attribute side="server" code="0x0011" define="COLOR_CONTROL_PRIMARY_1_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary1X</attribute>
+ <attribute side="server" code="0x0011" define="COLOR_CONTROL_PRIMARY_1_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary1X</attribute>
<!-- PRIMARY_1_X -->
- <attribute side="server" code="0x0012" define="COLOR_CONTROL_PRIMARY_1_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary1Y</attribute>
+ <attribute side="server" code="0x0012" define="COLOR_CONTROL_PRIMARY_1_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary1Y</attribute>
<!-- PRIMARY_1_Y -->
- <attribute side="server" code="0x0013" define="COLOR_CONTROL_PRIMARY_1_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary1Intensity</attribute>
+ <attribute side="server" code="0x0013" define="COLOR_CONTROL_PRIMARY_1_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary1Intensity</attribute>
<!-- PRIMARY_1_INTENSITY -->
- <attribute side="server" code="0x0015" define="COLOR_CONTROL_PRIMARY_2_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary2X</attribute>
+ <attribute side="server" code="0x0015" define="COLOR_CONTROL_PRIMARY_2_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary2X</attribute>
<!-- PRIMARY_2_X -->
- <attribute side="server" code="0x0016" define="COLOR_CONTROL_PRIMARY_2_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary2Y</attribute>
+ <attribute side="server" code="0x0016" define="COLOR_CONTROL_PRIMARY_2_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary2Y</attribute>
<!-- PRIMARY_2_Y -->
- <attribute side="server" code="0x0017" define="COLOR_CONTROL_PRIMARY_2_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary2Intensity</attribute>
+ <attribute side="server" code="0x0017" define="COLOR_CONTROL_PRIMARY_2_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary2Intensity</attribute>
<!-- PRIMARY_2_INTENSITY -->
- <attribute side="server" code="0x0019" define="COLOR_CONTROL_PRIMARY_3_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary3X</attribute>
+ <attribute side="server" code="0x0019" define="COLOR_CONTROL_PRIMARY_3_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary3X</attribute>
<!-- PRIMARY_3_X -->
- <attribute side="server" code="0x001A" define="COLOR_CONTROL_PRIMARY_3_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary3Y</attribute>
+ <attribute side="server" code="0x001A" define="COLOR_CONTROL_PRIMARY_3_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary3Y</attribute>
<!-- PRIMARY_3_Y -->
- <attribute side="server" code="0x001B" define="COLOR_CONTROL_PRIMARY_3_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary3Intensity</attribute>
+ <attribute side="server" code="0x001B" define="COLOR_CONTROL_PRIMARY_3_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary3Intensity</attribute>
<!-- PRIMARY_3_INTENSITY -->
- <attribute side="server" code="0x0020" define="COLOR_CONTROL_PRIMARY_4_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary4X</attribute>
+ <attribute side="server" code="0x0020" define="COLOR_CONTROL_PRIMARY_4_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary4X</attribute>
<!-- PRIMARY_4_X -->
- <attribute side="server" code="0x0021" define="COLOR_CONTROL_PRIMARY_4_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary4Y</attribute>
+ <attribute side="server" code="0x0021" define="COLOR_CONTROL_PRIMARY_4_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary4Y</attribute>
<!-- PRIMARY_4_Y -->
- <attribute side="server" code="0x0022" define="COLOR_CONTROL_PRIMARY_4_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary4Intensity</attribute>
+ <attribute side="server" code="0x0022" define="COLOR_CONTROL_PRIMARY_4_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary4Intensity</attribute>
<!-- PRIMARY_4_INTENSITY -->
- <attribute side="server" code="0x0024" define="COLOR_CONTROL_PRIMARY_5_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary5X</attribute>
+ <attribute side="server" code="0x0024" define="COLOR_CONTROL_PRIMARY_5_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary5X</attribute>
<!-- PRIMARY_5_X -->
- <attribute side="server" code="0x0025" define="COLOR_CONTROL_PRIMARY_5_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary5Y</attribute>
+ <attribute side="server" code="0x0025" define="COLOR_CONTROL_PRIMARY_5_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary5Y</attribute>
<!-- PRIMARY_5_Y -->
- <attribute side="server" code="0x0026" define="COLOR_CONTROL_PRIMARY_5_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary5Intensity</attribute>
+ <attribute side="server" code="0x0026" define="COLOR_CONTROL_PRIMARY_5_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary5Intensity</attribute>
<!-- PRIMARY_5_INTENSITY -->
- <attribute side="server" code="0x0028" define="COLOR_CONTROL_PRIMARY_6_X" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary6X</attribute>
+ <attribute side="server" code="0x0028" define="COLOR_CONTROL_PRIMARY_6_X" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary6X</attribute>
<!-- PRIMARY_6_X -->
- <attribute side="server" code="0x0029" define="COLOR_CONTROL_PRIMARY_6_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary6Y</attribute>
+ <attribute side="server" code="0x0029" define="COLOR_CONTROL_PRIMARY_6_Y" type="int16u" min="0x0000" max="0xFEFF" writable="false" optional="true">Primary6Y</attribute>
<!-- PRIMARY_6_Y -->
- <attribute side="server" code="0x002A" define="COLOR_CONTROL_PRIMARY_6_INTENSITY" type="INT8U" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary6Intensity</attribute>
+ <attribute side="server" code="0x002A" define="COLOR_CONTROL_PRIMARY_6_INTENSITY" type="int8u" min="0x00" max="0xFF" isNullable="true" writable="false" optional="true">Primary6Intensity</attribute>
<!-- PRIMARY_6_INTENSITY -->
- <attribute side="server" code="0x0030" define="COLOR_CONTROL_WHITE_POINT_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0030" define="COLOR_CONTROL_WHITE_POINT_X" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>WhitePointX</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- WHITE_POINT_X -->
- <attribute side="server" code="0x0031" define="COLOR_CONTROL_WHITE_POINT_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0031" define="COLOR_CONTROL_WHITE_POINT_Y" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>WhitePointY</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- WHITE_POINT_Y -->
- <attribute side="server" code="0x0032" define="COLOR_CONTROL_COLOR_POINT_R_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0032" define="COLOR_CONTROL_COLOR_POINT_R_X" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointRX</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_R_X -->
- <attribute side="server" code="0x0033" define="COLOR_CONTROL_COLOR_POINT_R_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0033" define="COLOR_CONTROL_COLOR_POINT_R_Y" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointRY</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_R_Y -->
- <attribute side="server" code="0x0034" define="COLOR_CONTROL_COLOR_POINT_R_INTENSITY" type="INT8U" isNullable="true" writable="true" optional="true">
+ <attribute side="server" code="0x0034" define="COLOR_CONTROL_COLOR_POINT_R_INTENSITY" type="int8u" isNullable="true" writable="true" optional="true">
<description>ColorPointRIntensity</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_R_INTENSITY -->
- <attribute side="server" code="0x0036" define="COLOR_CONTROL_COLOR_POINT_G_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0036" define="COLOR_CONTROL_COLOR_POINT_G_X" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointGX</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_G_X -->
- <attribute side="server" code="0x0037" define="COLOR_CONTROL_COLOR_POINT_G_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x0037" define="COLOR_CONTROL_COLOR_POINT_G_Y" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointGY</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_G_Y -->
- <attribute side="server" code="0x0038" define="COLOR_CONTROL_COLOR_POINT_G_INTENSITY" type="INT8U" isNullable="true" writable="true" optional="true">
+ <attribute side="server" code="0x0038" define="COLOR_CONTROL_COLOR_POINT_G_INTENSITY" type="int8u" isNullable="true" writable="true" optional="true">
<description>ColorPointGIntensity</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_G_INTENSITY -->
- <attribute side="server" code="0x003A" define="COLOR_CONTROL_COLOR_POINT_B_X" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x003A" define="COLOR_CONTROL_COLOR_POINT_B_X" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointBX</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_B_X -->
- <attribute side="server" code="0x003B" define="COLOR_CONTROL_COLOR_POINT_B_Y" type="INT16U" min="0x0000" max="0xFEFF" writable="true" optional="true">
+ <attribute side="server" code="0x003B" define="COLOR_CONTROL_COLOR_POINT_B_Y" type="int16u" min="0x0000" max="0xFEFF" writable="true" optional="true">
<description>ColorPointBY</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_B_Y -->
- <attribute side="server" code="0x003C" define="COLOR_CONTROL_COLOR_POINT_B_INTENSITY" type="INT8U" isNullable="true" writable="true" optional="true">
+ <attribute side="server" code="0x003C" define="COLOR_CONTROL_COLOR_POINT_B_INTENSITY" type="int8u" isNullable="true" writable="true" optional="true">
<description>ColorPointBIntensity</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
<!-- COLOR_POINT_B_INTENSITY -->
- <attribute side="server" code="0x400D" define="COLOR_CONTROL_TEMPERATURE_LEVEL_MIN_MIREDS" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">CoupleColorTempToLevelMinMireds</attribute>
- <attribute side="server" code="0x4010" define="START_UP_COLOR_TEMPERATURE_MIREDS" type="INT16U" min="0x0000" max="0xFEFF" writable="true" isNullable="true" optional="true">
+ <attribute side="server" code="0x400D" define="COLOR_CONTROL_TEMPERATURE_LEVEL_MIN_MIREDS" type="int16u" min="0x0000" max="0xFFFF" writable="false" optional="true">CoupleColorTempToLevelMinMireds</attribute>
+ <attribute side="server" code="0x4010" define="START_UP_COLOR_TEMPERATURE_MIREDS" type="int16u" min="0x0000" max="0xFEFF" writable="true" isNullable="true" optional="true">
<description>StartUpColorTemperatureMireds</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
@@ -242,11 +242,11 @@
<description>
Move to specified hue.
</description>
- <arg name="Hue" type="INT8U"/>
+ <arg name="Hue" type="int8u"/>
<arg name="Direction" type="HueDirection"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x01" name="MoveHue" optional="true" cli="zcl color-control movehue">
@@ -254,9 +254,9 @@
Move hue up or down at specified rate.
</description>
<arg name="MoveMode" type="HueMoveMode"/>
- <arg name="Rate" type="INT8U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Rate" type="int8u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x02" name="StepHue" optional="true" cli="zcl color-control stephue">
@@ -264,20 +264,20 @@
Step hue up or down by specified size at specified rate.
</description>
<arg name="StepMode" type="HueStepMode"/>
- <arg name="StepSize" type="INT8U"/>
- <arg name="TransitionTime" type="INT8U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="StepSize" type="int8u"/>
+ <arg name="TransitionTime" type="int8u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x03" name="MoveToSaturation" optional="true" cli="zcl color-control movetosat">
<description>
Move to specified saturation.
</description>
- <arg name="Saturation" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Saturation" type="int8u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x04" name="MoveSaturation" optional="true" cli="zcl color-control movesat">
@@ -285,9 +285,9 @@
Move saturation up or down at specified rate.
</description>
<arg name="MoveMode" type="SaturationMoveMode"/>
- <arg name="Rate" type="INT8U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Rate" type="int8u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x05" name="StepSaturation" optional="true" cli="zcl color-control stepsat">
@@ -295,87 +295,87 @@
Step saturation up or down by specified size at specified rate.
</description>
<arg name="StepMode" type="SaturationStepMode"/>
- <arg name="StepSize" type="INT8U"/>
- <arg name="TransitionTime" type="INT8U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="StepSize" type="int8u"/>
+ <arg name="TransitionTime" type="int8u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x06" name="MoveToHueAndSaturation" optional="true" cli="zcl color-control movetohueandsat">
<description>
Move to hue and saturation.
</description>
- <arg name="Hue" type="INT8U"/>
- <arg name="Saturation" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Hue" type="int8u"/>
+ <arg name="Saturation" type="int8u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x07" name="MoveToColor" optional="true" cli="zcl color-control movetocolor">
<description>
Move to specified color.
</description>
- <arg name="ColorX" type="INT16U"/>
- <arg name="ColorY" type="INT16U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="ColorX" type="int16u"/>
+ <arg name="ColorY" type="int16u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x08" name="MoveColor" optional="true" cli="zcl color-control movecolor">
<description>
Moves the color.
</description>
- <arg name="RateX" type="INT16S"/>
- <arg name="RateY" type="INT16S"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="RateX" type="int16s"/>
+ <arg name="RateY" type="int16s"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x09" name="StepColor" optional="true" cli="zcl color-control stepcolor">
<description>
Steps the lighting to a specific color.
</description>
- <arg name="StepX" type="INT16S"/>
- <arg name="StepY" type="INT16S"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="StepX" type="int16s"/>
+ <arg name="StepY" type="int16s"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x0A" name="MoveToColorTemperature" optional="true" cli="zcl color-control movetocolortemp">
<description>
Move to a specific color temperature.
</description>
- <arg name="ColorTemperatureMireds" type="INT16U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="ColorTemperatureMireds" type="int16u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
</cluster>
<clusterExtension code="0x0300">
- <attribute side="server" code="0x4000" define="COLOR_CONTROL_ENHANCED_CURRENT_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">EnhancedCurrentHue</attribute>
- <attribute side="server" code="0x4001" define="COLOR_CONTROL_ENHANCED_COLOR_MODE" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0x01">EnhancedColorMode</attribute>
- <attribute side="server" code="0x4002" define="COLOR_CONTROL_COLOR_LOOP_ACTIVE" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopActive</attribute>
- <attribute side="server" code="0x4003" define="COLOR_CONTROL_COLOR_LOOP_DIRECTION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopDirection</attribute>
- <attribute side="server" code="0x4004" define="COLOR_CONTROL_COLOR_LOOP_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0019" optional="true">ColorLoopTime</attribute>
- <attribute side="server" code="0x4005" define="COLOR_CONTROL_COLOR_LOOP_START_ENHANCED_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x2300" optional="true">ColorLoopStartEnhancedHue</attribute>
- <attribute side="server" code="0x4006" define="COLOR_CONTROL_COLOR_LOOP_STORED_ENHANCED_HUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ColorLoopStoredEnhancedHue</attribute>
- <attribute side="server" code="0x400A" define="COLOR_CONTROL_COLOR_CAPABILITIES" type="BITMAP16" min="0x0000" max="0x001F" writable="false" default="0x0000">ColorCapabilities</attribute>
- <attribute side="server" code="0x400B" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIN" type="INT16U" min="0x0000" max="0xFEFF" writable="false" default="0x0000" optional="true">ColorTempPhysicalMinMireds</attribute>
- <attribute side="server" code="0x400C" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MAX" type="INT16U" min="0x0000" max="0xFEFF" writable="false" default="0xFEFF" optional="true">ColorTempPhysicalMaxMireds</attribute>
+ <attribute side="server" code="0x4000" define="COLOR_CONTROL_ENHANCED_CURRENT_HUE" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">EnhancedCurrentHue</attribute>
+ <attribute side="server" code="0x4001" define="COLOR_CONTROL_ENHANCED_COLOR_MODE" type="enum8" min="0x00" max="0xFF" writable="false" default="0x01">EnhancedColorMode</attribute>
+ <attribute side="server" code="0x4002" define="COLOR_CONTROL_COLOR_LOOP_ACTIVE" type="int8u" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopActive</attribute>
+ <attribute side="server" code="0x4003" define="COLOR_CONTROL_COLOR_LOOP_DIRECTION" type="int8u" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">ColorLoopDirection</attribute>
+ <attribute side="server" code="0x4004" define="COLOR_CONTROL_COLOR_LOOP_TIME" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0019" optional="true">ColorLoopTime</attribute>
+ <attribute side="server" code="0x4005" define="COLOR_CONTROL_COLOR_LOOP_START_ENHANCED_HUE" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x2300" optional="true">ColorLoopStartEnhancedHue</attribute>
+ <attribute side="server" code="0x4006" define="COLOR_CONTROL_COLOR_LOOP_STORED_ENHANCED_HUE" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ColorLoopStoredEnhancedHue</attribute>
+ <attribute side="server" code="0x400A" define="COLOR_CONTROL_COLOR_CAPABILITIES" type="bitmap16" min="0x0000" max="0x001F" writable="false" default="0x0000">ColorCapabilities</attribute>
+ <attribute side="server" code="0x400B" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MIN" type="int16u" min="0x0000" max="0xFEFF" writable="false" default="0x0000" optional="true">ColorTempPhysicalMinMireds</attribute>
+ <attribute side="server" code="0x400C" define="COLOR_CONTROL_COLOR_TEMP_PHYSICAL_MAX" type="int16u" min="0x0000" max="0xFEFF" writable="false" default="0xFEFF" optional="true">ColorTempPhysicalMaxMireds</attribute>
<command source="client" code="0x40" name="EnhancedMoveToHue" optional="true" noDefaultImplementation="true" cli="zcl color-control emovetohue">
<description>
Command description for EnhancedMoveToHue
</description>
- <arg name="EnhancedHue" type="INT16U"/>
+ <arg name="EnhancedHue" type="int16u"/>
<arg name="Direction" type="HueDirection"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x41" name="EnhancedMoveHue" optional="true" noDefaultImplementation="true" cli="zcl color-control emovehue">
@@ -383,9 +383,9 @@
Command description for EnhancedMoveHue
</description>
<arg name="MoveMode" type="HueMoveMode"/>
- <arg name="Rate" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Rate" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x42" name="EnhancedStepHue" optional="true" noDefaultImplementation="true" cli="zcl color-control estephue">
@@ -393,21 +393,21 @@
Command description for EnhancedStepHue
</description>
<arg name="StepMode" type="HueStepMode"/>
- <arg name="StepSize" type="INT16U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="StepSize" type="int16u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x43" name="EnhancedMoveToHueAndSaturation" optional="true" noDefaultImplementation="true" cli="zcl color-control emovetohueandsat">
<description>
Command description for EnhancedMoveToHueAndSaturation
</description>
- <arg name="EnhancedHue" type="INT16U"/>
- <arg name="Saturation" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="EnhancedHue" type="int16u"/>
+ <arg name="Saturation" type="int8u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x44" name="ColorLoopSet" optional="true" noDefaultImplementation="true" cli="zcl color-control loop">
@@ -417,18 +417,18 @@
<arg name="UpdateFlags" type="ColorLoopUpdateFlags"/>
<arg name="Action" type="ColorLoopAction"/>
<arg name="Direction" type="ColorLoopDirection"/>
- <arg name="Time" type="INT16U"/>
- <arg name="StartHue" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Time" type="int16u"/>
+ <arg name="StartHue" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x47" name="StopMoveStep" optional="true" noDefaultImplementation="true" cli="zcl color-control stopmovestep">
<description>
Command description for StopMoveStep
</description>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x4B" name="MoveColorTemperature" optional="true" noDefaultImplementation="true" cli="zcl color-control movecolortemp">
@@ -436,11 +436,11 @@
Command description for MoveColorTemperature
</description>
<arg name="MoveMode" type="HueMoveMode"/>
- <arg name="Rate" type="INT16U"/>
- <arg name="ColorTemperatureMinimumMireds" type="INT16U"/>
- <arg name="ColorTemperatureMaximumMireds" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="Rate" type="int16u"/>
+ <arg name="ColorTemperatureMinimumMireds" type="int16u"/>
+ <arg name="ColorTemperatureMaximumMireds" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
<command source="client" code="0x4C" name="StepColorTemperature" optional="true" noDefaultImplementation="true" cli="zcl color-control stepcolortemp">
@@ -448,12 +448,12 @@
Command description for StepColorTemperature
</description>
<arg name="StepMode" type="HueStepMode"/>
- <arg name="StepSize" type="INT16U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="ColorTemperatureMinimumMireds" type="INT16U"/>
- <arg name="ColorTemperatureMaximumMireds" type="INT16U"/>
- <arg name="OptionsMask" type="BITMAP8"/>
- <arg name="OptionsOverride" type="BITMAP8"/>
+ <arg name="StepSize" type="int16u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="ColorTemperatureMinimumMireds" type="int16u"/>
+ <arg name="ColorTemperatureMaximumMireds" type="int16u"/>
+ <arg name="OptionsMask" type="bitmap8"/>
+ <arg name="OptionsOverride" type="bitmap8"/>
</command>
</clusterExtension>
</configurator>
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 5e6be64..a53d6f4 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 @@
</cluster>
<!-- Feature Map -->
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x040c"/>
<cluster code="0x040d" />
<cluster code="0x0413" />
@@ -287,7 +287,7 @@
</bitmap>
<!-- Cluster Data Types -->
- <enum name="LevelValueEnum" type="ENUM8">
+ <enum name="LevelValueEnum" type="enum8">
<cluster code="0x040c"/>
<cluster code="0x040d" />
<cluster code="0x0413" />
@@ -305,7 +305,7 @@
<item name="Critical" value="0x04"/>
</enum>
- <enum name="MeasurementUnitEnum" type="ENUM8">
+ <enum name="MeasurementUnitEnum" type="enum8">
<cluster code="0x040c"/>
<cluster code="0x040d" />
<cluster code="0x0413" />
@@ -326,7 +326,7 @@
<item name="BQM3" value="0x07"/>
</enum>
- <enum name="MeasurementMediumEnum" type="ENUM8">
+ <enum name="MeasurementMediumEnum" type="enum8">
<cluster code="0x040c"/>
<cluster code="0x040d" />
<cluster code="0x0413" />
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 738c885..92cfef6 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 @@
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for launching content on a media player device such as a TV or Speaker.</description>
- <attribute side="server" code="0x0000" define="CONTENT_LAUNCHER_ACCEPT_HEADER" type="ARRAY" entryType="CHAR_STRING" length="254" writable="false" optional="true">AcceptHeader</attribute>
- <attribute side="server" code="0x0001" define="CONTENT_LAUNCHER_SUPPORTED_STREAMING_PROTOCOLS" type="BITMAP32" default="0" writable="true" optional="true">SupportedStreamingProtocols</attribute>
+ <attribute side="server" code="0x0000" define="CONTENT_LAUNCHER_ACCEPT_HEADER" type="ARRAY" entryType="char_string" length="254" writable="false" optional="true">AcceptHeader</attribute>
+ <attribute side="server" code="0x0001" define="CONTENT_LAUNCHER_SUPPORTED_STREAMING_PROTOCOLS" type="bitmap32" default="0" writable="true" optional="true">SupportedStreamingProtocols</attribute>
<command source="client" code="0x00" name="LaunchContent" response="LauncherResponse" optional="true">
<description>Upon receipt, this SHALL launch the specified content with optional search criteria.</description>
<arg name="Search" type="ContentSearchStruct"/>
- <arg name="AutoPlay" type="BOOLEAN"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="AutoPlay" type="boolean"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
<command source="client" code="0x01" name="LaunchURL" response="LauncherResponse" optional="true">
<description>Upon receipt, this SHALL launch content from the specified URL.</description>
- <arg name="ContentURL" type="CHAR_STRING"/>
- <arg name="DisplayString" type="CHAR_STRING" optional="true"/>
+ <arg name="ContentURL" type="char_string"/>
+ <arg name="DisplayString" type="char_string" optional="true"/>
<arg name="BrandingInformation" type="BrandingInformationStruct" optional="true"/>
</command>
<command source="server" code="0x02" name="LauncherResponse" optional="true" disableDefaultResponse="true">
<description>This command SHALL be generated in response to LaunchContent command.</description>
<arg name="Status" type="ContentLaunchStatusEnum"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
</cluster>
@@ -57,11 +57,11 @@
<struct name="AdditionalInfoStruct">
<cluster code="0x050a"/>
- <item name="Name" type="CHAR_STRING"/>
- <item name="Value" type="CHAR_STRING"/>
+ <item name="Name" type="char_string"/>
+ <item name="Value" type="char_string"/>
</struct>
- <enum name="MetricTypeEnum" type="ENUM8">
+ <enum name="MetricTypeEnum" type="enum8">
<cluster code="0x050a"/>
<item name="Pixels" value="0x00"/>
<item name="Percentage" value="0x01"/>
@@ -76,14 +76,14 @@
<struct name="StyleInformationStruct">
<cluster code="0x050a"/>
- <item name="ImageURL" type="CHAR_STRING" optional="true"/>
- <item name="Color" type="CHAR_STRING" optional="true"/>
+ <item name="ImageURL" type="char_string" optional="true"/>
+ <item name="Color" type="char_string" optional="true"/>
<item name="Size" type="DimensionStruct" optional="true"/>
</struct>
<struct name="BrandingInformationStruct">
<cluster code="0x050a"/>
- <item name="ProviderName" type="CHAR_STRING"/>
+ <item name="ProviderName" type="char_string"/>
<item name="Background" type="StyleInformationStruct" optional="true"/>
<item name="Logo" type="StyleInformationStruct" optional="true"/>
<item name="ProgressBar" type="StyleInformationStruct" optional="true"/>
@@ -92,7 +92,7 @@
</struct>
- <enum name="ParameterEnum" type="ENUM8">
+ <enum name="ParameterEnum" type="enum8">
<cluster code="0x050a"/>
<item name="Actor" value="0x00"/>
<item name="Channel" value="0x01"/>
@@ -110,7 +110,7 @@
<item name="Video" value="0x0D"/>
</enum>
- <enum name="ContentLaunchStatusEnum" type="ENUM8">
+ <enum name="ContentLaunchStatusEnum" type="enum8">
<cluster code="0x050a"/>
<item name="success" value="0x00"/>
<item name="urlNotAvailable" value="0x01"/>
@@ -120,17 +120,17 @@
<struct name="ParameterStruct">
<cluster code="0x050a"/>
<item name="Type" type="ParameterEnum"/>
- <item name="Value" type="CHAR_STRING"/>
+ <item name="Value" type="char_string"/>
<item name="ExternalIDList" type="AdditionalInfoStruct" array="true" optional="true"/>
</struct>
- <bitmap name="SupportedStreamingProtocol" type="BITMAP32">
+ <bitmap name="SupportedStreamingProtocol" type="bitmap32">
<cluster code="0x050a"/>
<field name="DASH" mask="0x1"/>
<field name="HLS" mask="0x2"/>
</bitmap>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x050a"/>
<field name="ContentSearch" mask="0x1"/>
<field name="URLPlayback" mask="0x2"/>
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 3d41b09..f0670e2 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 @@
<struct name="DeviceTypeStruct">
<cluster code="0x001d"/>
- <item name="DeviceType" type="DEVTYPE_ID"/>
- <item name="Revision" type="INT16U"/>
+ <item name="DeviceType" type="devtype_id"/>
+ <item name="Revision" type="int16u"/>
</struct>
<struct name="SemanticTagStruct">
<cluster code="0x001d"/>
- <item name="MfgCode" type="VENDOR_ID" isNullable="true"/>
- <item name="NamespaceID" type="ENUM8"/>
- <item name="Tag" type="ENUM8"/>
- <item name="Label" type="CHAR_STRING" isNullable="true" optional="true"/>
+ <item name="MfgCode" type="vendor_id" isNullable="true"/>
+ <item name="NamespaceID" type="enum8"/>
+ <item name="Tag" type="enum8"/>
+ <item name="Label" type="char_string" isNullable="true" optional="true"/>
</struct>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x001d" />
<field name="TagList" mask="0x01" />
</bitmap>
@@ -46,9 +46,9 @@
<globalAttribute side="either" code="0xFFFD" value="2"/>
<attribute side="server" code="0x0000" define="DEVICE_LIST" type="ARRAY" entryType="DeviceTypeStruct" writable="false" optional="false">DeviceTypeList</attribute>
- <attribute side="server" code="0x0001" define="SERVER_LIST" type="ARRAY" entryType="CLUSTER_ID" writable="false" optional="false">ServerList</attribute>
- <attribute side="server" code="0x0002" define="CLIENT_LIST" type="ARRAY" entryType="CLUSTER_ID" writable="false" optional="false">ClientList</attribute>
- <attribute side="server" code="0x0003" define="PARTS_LIST" type="ARRAY" entryType="ENDPOINT_NO" writable="false" optional="false">PartsList</attribute>
+ <attribute side="server" code="0x0001" define="SERVER_LIST" type="ARRAY" entryType="cluster_id" writable="false" optional="false">ServerList</attribute>
+ <attribute side="server" code="0x0002" define="CLIENT_LIST" type="ARRAY" entryType="cluster_id" writable="false" optional="false">ClientList</attribute>
+ <attribute side="server" code="0x0003" define="PARTS_LIST" type="ARRAY" entryType="endpoint_no" writable="false" optional="false">PartsList</attribute>
<attribute side="server" code="0x0004" define="TAG_LIST" type="ARRAY" entryType="SemanticTagStruct" writable="false" optional="true" length="6">TagList</attribute>
</cluster>
</configurator>
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 f81ddc7..c55edf5 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 @@
-->
<configurator>
<domain name="CHIP" spec="chip-0.7" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
- <enum name="IntentEnum" type="ENUM8">
+ <enum name="IntentEnum" type="enum8">
<cluster code="0x0032"/>
<item name="EndUserSupport" value="0x0"/>
<item name="NetworkDiag" value="0x1"/>
<item name="CrashLogs" value="0x2"/>
</enum>
- <enum name="StatusEnum" type="ENUM8">
+ <enum name="StatusEnum" type="enum8">
<cluster code="0x0032"/>
<item name="Success" value="0x0"/>
<item name="Exhausted" value="0x1"/>
@@ -30,7 +30,7 @@
<item name="Busy" value="0x3"/>
<item name="Denied" value="0x4"/>
</enum>
- <enum name="TransferProtocolEnum" type="ENUM8">
+ <enum name="TransferProtocolEnum" type="enum8">
<cluster code="0x0032"/>
<item name="ResponsePayload" value="0x0"/>
<item name="BDX" value="0x1"/>
@@ -47,7 +47,7 @@
<description>Retrieving diagnostic logs from a Node</description>
<arg name="Intent" type="IntentEnum"/>
<arg name="RequestedProtocol" type="TransferProtocolEnum"/>
- <arg name="TransferFileDesignator" type="CHAR_STRING" length="32" optional="true"/>
+ <arg name="TransferFileDesignator" type="char_string" length="32" optional="true"/>
</command>
<command source="server" code="0x01" name="RetrieveLogsResponse" optional="false" cli="chip logs response">
<description>Response to the RetrieveLogsRequest</description>
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 13fed1e..598bf54 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 @@
<configurator>
<domain name="CHIP"/>
- <bitmap name="AlarmMap" type="BITMAP32">
+ <bitmap name="AlarmMap" type="bitmap32">
<cluster code="0x005D" />
<field name="InflowError" mask="0x01"/>
<field name="DrainError" mask="0x02"/>
@@ -61,7 +61,7 @@
</event>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x005D" />
<field name="Reset" mask="0x01" />
</bitmap>
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 49e4d4c..686deb6 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="ModeTag" type="ENUM16">
+ <enum name="ModeTag" type="enum16">
<cluster code="0x0059"/>
<item value="0x4000" name="Normal"/>
<item value="0x4001" name="Heavy"/>
@@ -35,9 +35,9 @@
<globalAttribute side="either" code="0xFFFD" value="2"/>
<!-- Base data types -->
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Commands -->
<command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">
@@ -45,15 +45,15 @@
This command is used to change device modes.
On receipt of this command the device SHALL respond with a ChangeToModeResponse command.
</description>
- <arg name="NewMode" type="INT8U" optional="false"/>
+ <arg name="NewMode" type="int8u" optional="false"/>
</command>
<command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">
<description>
This command is sent by the device on receipt of the ChangeToModeWithStatus command.
</description>
- <arg name="Status" type="ENUM8" optional="false"/>
- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>
+ <arg name="Status" type="enum8" optional="false"/>
+ <arg name="StatusText" type="char_string" lenght="64" optional="true"/>
</command>
</cluster>
</configurator>
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 3b65e55..b7c7782 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 @@
<!-- Conformance feature DPS - for now optional -->
<attribute side="server" code="3" define="DOOR_STATE" type="DoorStateEnum" min="0" max="5" isNullable="true" reportable="true" optional="true">DoorState</attribute>
<!-- Conformance feature [DPS] - for now optional -->
- <attribute side="server" code="4" define="DOOR_OPEN_EVENTS" type="INT32U" writable="true" optional="true">
+ <attribute side="server" code="4" define="DOOR_OPEN_EVENTS" type="int32u" writable="true" optional="true">
<description>DoorOpenEvents</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
<!-- Conformance feature [DPS] - for now optional -->
- <attribute side="server" code="5" define="DOOR_CLOSED_EVENTS" type="INT32U" writable="true" optional="true">
+ <attribute side="server" code="5" define="DOOR_CLOSED_EVENTS" type="int32u" writable="true" optional="true">
<description>DoorClosedEvents</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
<!-- Conformance feature [DPS] - for now optional -->
- <attribute side="server" code="6" define="OPEN_PERIOD" type="INT16U" writable="true" optional="true">
+ <attribute side="server" code="6" define="OPEN_PERIOD" type="int16u" writable="true" optional="true">
<description>OpenPeriod</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
<!-- Conformance feature USR - for now optional -->
- <attribute side="server" code="17" define="NUM_TOTAL_USERS_SUPPORTED" type="INT16U" default="0" writable="false" optional="true">NumberOfTotalUsersSupported</attribute>
+ <attribute side="server" code="17" define="NUM_TOTAL_USERS_SUPPORTED" type="int16u" default="0" writable="false" optional="true">NumberOfTotalUsersSupported</attribute>
<!-- Conformance feature PIN - for now optional -->
- <attribute side="server" code="18" define="NUM_PIN_USERS_SUPPORTED" type="INT16U" default="0" writable="false" optional="true">NumberOfPINUsersSupported</attribute>
+ <attribute side="server" code="18" define="NUM_PIN_USERS_SUPPORTED" type="int16u" default="0" writable="false" optional="true">NumberOfPINUsersSupported</attribute>
<!-- Conformance feature RFID - for now optional -->
- <attribute side="server" code="19" define="NUM_RFID_USERS_SUPPORTED" type="INT16U" default="0" writable="false" optional="true">NumberOfRFIDUsersSupported</attribute>
+ <attribute side="server" code="19" define="NUM_RFID_USERS_SUPPORTED" type="int16u" default="0" writable="false" optional="true">NumberOfRFIDUsersSupported</attribute>
<!-- Conformance feature WDSCH - for now optional -->
- <attribute side="server" code="20" define="NUM_WEEKDAY_SCHEDULES_SUPPORTED_PER_USER" type="INT8U" default="0" writable="false" optional="true">NumberOfWeekDaySchedulesSupportedPerUser</attribute>
+ <attribute side="server" code="20" define="NUM_WEEKDAY_SCHEDULES_SUPPORTED_PER_USER" type="int8u" default="0" writable="false" optional="true">NumberOfWeekDaySchedulesSupportedPerUser</attribute>
<!-- Conformance feature YDSCH - for now optional -->
- <attribute side="server" code="21" define="NUM_YEARDAY_SCHEDULES_SUPPORTED_PER_USER" type="INT8U" default="0" writable="false" optional="true">NumberOfYearDaySchedulesSupportedPerUser</attribute>
+ <attribute side="server" code="21" define="NUM_YEARDAY_SCHEDULES_SUPPORTED_PER_USER" type="int8u" default="0" writable="false" optional="true">NumberOfYearDaySchedulesSupportedPerUser</attribute>
<!-- Conformance feature HDSCH - for now optional -->
- <attribute side="server" code="22" define="NUM_HOLIDAY_SCHEDULES_SUPPORTED" type="INT8U" default="0" writable="false" optional="true">NumberOfHolidaySchedulesSupported</attribute>
+ <attribute side="server" code="22" define="NUM_HOLIDAY_SCHEDULES_SUPPORTED" type="int8u" default="0" writable="false" optional="true">NumberOfHolidaySchedulesSupported</attribute>
<!-- Conformance feature PIN - for now optional -->
- <attribute side="server" code="23" define="MAX_PIN_LENGTH" type="INT8U" writable="false" optional="true">MaxPINCodeLength</attribute>
+ <attribute side="server" code="23" define="MAX_PIN_LENGTH" type="int8u" writable="false" optional="true">MaxPINCodeLength</attribute>
<!-- Conformance feature PIN - for now optional -->
- <attribute side="server" code="24" define="MIN_PIN_LENGTH" type="INT8U" writable="false" optional="true">MinPINCodeLength</attribute>
+ <attribute side="server" code="24" define="MIN_PIN_LENGTH" type="int8u" writable="false" optional="true">MinPINCodeLength</attribute>
<!-- Conformance feature RID - for now optional -->
- <attribute side="server" code="25" define="MAX_RFID_CODE_LENGTH" type="INT8U" writable="false" optional="true">MaxRFIDCodeLength</attribute>
+ <attribute side="server" code="25" define="MAX_RFID_CODE_LENGTH" type="int8u" writable="false" optional="true">MaxRFIDCodeLength</attribute>
<!-- Conformance feature RID - for now optional -->
- <attribute side="server" code="26" define="MIN_RFID_CODE_LENGTH" type="INT8U" writable="false" optional="true">MinRFIDCodeLength</attribute>
+ <attribute side="server" code="26" define="MIN_RFID_CODE_LENGTH" type="int8u" writable="false" optional="true">MinRFIDCodeLength</attribute>
<!-- Conformance feature USR - for now optional -->
<attribute side="server" code="27" define="CREDENTIAL_RULES_SUPPORT" type="DlCredentialRuleMask" min="0x00" max="0xFF" default="1" writable="false" optional="true">CredentialRulesSupport</attribute>
<!-- Conformance feature USR - for now optional -->
- <attribute side="server" code="28" define="NUM_CREDENTIALS_SUPPORTED_PER_USER" type="INT8U" default="0" writable="false" optional="true">NumberOfCredentialsSupportedPerUser</attribute>
- <attribute side="server" code="33" define="LANGUAGE" type="CHAR_STRING" length="3" reportable="true" writable="true" optional="true">
+ <attribute side="server" code="28" define="NUM_CREDENTIALS_SUPPORTED_PER_USER" type="int8u" default="0" writable="false" optional="true">NumberOfCredentialsSupportedPerUser</attribute>
+ <attribute side="server" code="33" define="LANGUAGE" type="char_string" length="3" reportable="true" writable="true" optional="true">
<description>Language</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
- <attribute side="server" code="34" define="LED_SETTINGS" type="INT8U" min="0" max="2" reportable="true" default="0" writable="true" optional="true">
+ <attribute side="server" code="34" define="LED_SETTINGS" type="int8u" min="0" max="2" reportable="true" default="0" writable="true" optional="true">
<description>LEDSettings</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
- <attribute side="server" code="35" define="AUTO_RELOCK_TIME" type="INT32U" reportable="true" writable="true">
+ <attribute side="server" code="35" define="AUTO_RELOCK_TIME" type="int32u" reportable="true" writable="true">
<description>AutoRelockTime</description>
<access op="read" role="view" />
<access op="write" role="manage" />
</attribute>
- <attribute side="server" code="36" define="SOUND_VOLUME" type="INT8U" min="0" max="3" reportable="true" default="0" writable="true" optional="true">
+ <attribute side="server" code="36" define="SOUND_VOLUME" type="int8u" min="0" max="3" reportable="true" default="0" writable="true" optional="true">
<description>SoundVolume</description>
<access op="read" role="view" />
<access op="write" role="manage" />
@@ -169,13 +169,13 @@
<access op="write" role="administer" />
</attribute>
<!-- Conformance feature PIN | RID - for now optional -->
- <attribute side="server" code="48" define="WRONG_CODE_ENTRY_LIMIT" type="INT8U" min="1" max="255" reportable="true" writable="true" optional="true">
+ <attribute side="server" code="48" define="WRONG_CODE_ENTRY_LIMIT" type="int8u" min="1" max="255" reportable="true" writable="true" optional="true">
<description>WrongCodeEntryLimit</description>
<access op="read" role="view" />
<access op="write" role="administer" />
</attribute>
<!-- Conformance feature PIN | RID - for now optional -->
- <attribute side="server" code="49" define="USER_CODE_TEMPORARY_DISABLE_TIME" type="INT8U" min="1" max="255" reportable="true" writable="true" optional="true">
+ <attribute side="server" code="49" define="USER_CODE_TEMPORARY_DISABLE_TIME" type="int8u" min="1" max="255" reportable="true" writable="true" optional="true">
<description>UserCodeTemporaryDisableTime</description>
<access op="read" role="view" />
<access op="write" role="administer" />
@@ -194,7 +194,7 @@
</attribute>
<!-- Attribute SecurityLevel with code 52 is deprecated -->
<!-- Conformance feature [USR] - for now optional -->
- <attribute side="server" code="53" define="EXPIRING_USER_TIMEOUT" type="INT16U" min="1" max="2880" reportable="true" writable="true" optional="true">
+ <attribute side="server" code="53" define="EXPIRING_USER_TIMEOUT" type="int16u" min="1" max="2880" reportable="true" writable="true" optional="true">
<description>ExpiringUserTimeout</description>
<access op="read" role="view" />
<access op="write" role="administer" />
@@ -204,64 +204,64 @@
<command source="client" code="0" name="LockDoor" mustUseTimedInvoke="true">
<description>This command causes the lock device to lock the door.</description>
<!-- Conformance feature [COTA & PIN] - for now optional -->
- <arg name="PINCode" type="OCTET_STRING" optional="true" />
+ <arg name="PINCode" type="octet_string" optional="true" />
</command>
<command source="client" code="1" name="UnlockDoor" mustUseTimedInvoke="true">
<description>This command causes the lock device to unlock the door.</description>
<!-- Conformance feature [COTA & PIN] - for now optional -->
- <arg name="PINCode" type="OCTET_STRING" optional="true" />
+ <arg name="PINCode" type="octet_string" optional="true" />
</command>
<!-- Command Toggle with ID 2 is deprecated/disallowed -->
<command source="client" code="3" name="UnlockWithTimeout" mustUseTimedInvoke="true" optional="true">
<description>This command causes the lock device to unlock the door with a timeout parameter.</description>
- <arg name="Timeout" type="INT16U" />
+ <arg name="Timeout" type="int16u" />
<!-- Conformance feature [COTA & PIN] - for now optional -->
- <arg name="PINCode" type="OCTET_STRING" optional="true" />
+ <arg name="PINCode" type="octet_string" optional="true" />
</command>
<!-- Conformance feature WDSCH - for now optional -->
<command source="client" code="11" name="SetWeekDaySchedule" optional="true">
<description>Set a weekly repeating schedule for a specified user.</description>
<access op="invoke" role="administer" />
- <arg name="WeekDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="WeekDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
<arg name="DaysMask" type="DaysMaskMap" />
- <arg name="StartHour" type="INT8U" />
- <arg name="StartMinute" type="INT8U" />
- <arg name="EndHour" type="INT8U" />
- <arg name="EndMinute" type="INT8U" />
+ <arg name="StartHour" type="int8u" />
+ <arg name="StartMinute" type="int8u" />
+ <arg name="EndHour" type="int8u" />
+ <arg name="EndMinute" type="int8u" />
</command>
<!-- Conformance feature WDSCH - for now optional -->
<command source="client" code="12" name="GetWeekDaySchedule" response="GetWeekDayScheduleResponse" optional="true">
<description>Retrieve the specific weekly schedule for the specific user.</description>
<access op="invoke" role="administer" />
- <arg name="WeekDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="WeekDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature WDSCH - for now optional -->
<command source="server" code="12" name="GetWeekDayScheduleResponse" disableDefaultResponse="true" optional="true">
<description>Returns the weekly repeating schedule data for the specified schedule index.</description>
- <arg name="WeekDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="WeekDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
<arg name="Status" type="DlStatus" />
<arg name="DaysMask" type="DaysMaskMap" optional="true" />
- <arg name="StartHour" type="INT8U" optional="true" />
- <arg name="StartMinute" type="INT8U" optional="true" />
- <arg name="EndHour" type="INT8U" optional="true" />
- <arg name="EndMinute" type="INT8U" optional="true" />
+ <arg name="StartHour" type="int8u" optional="true" />
+ <arg name="StartMinute" type="int8u" optional="true" />
+ <arg name="EndHour" type="int8u" optional="true" />
+ <arg name="EndMinute" type="int8u" optional="true" />
</command>
<!-- Conformance feature WDSCH - for now optional -->
<command source="client" code="13" name="ClearWeekDaySchedule" optional="true">
<description>Clear the specific weekly schedule or all weekly schedules for the specific user.</description>
<access op="invoke" role="administer" />
- <arg name="WeekDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="WeekDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature YDSCH - for now optional -->
<command source="client" code="14" name="SetYearDaySchedule" optional="true">
<description>Set a time-specific schedule ID for a specified user.</description>
<access op="invoke" role="administer" />
- <arg name="YearDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="YearDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
<arg name="LocalStartTime" type="epoch_s" />
<arg name="LocalEndTime" type="epoch_s" />
</command>
@@ -269,14 +269,14 @@
<command source="client" code="15" name="GetYearDaySchedule" response="GetYearDayScheduleResponse" optional="true">
<description>Returns the year day schedule data for the specified schedule and user indexes.</description>
<access op="invoke" role="administer" />
- <arg name="YearDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="YearDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature YDSCH - for now optional -->
<command source="server" code="15" name="GetYearDayScheduleResponse" disableDefaultResponse="true" optional="true">
<description>Returns the year day schedule data for the specified schedule and user indexes.</description>
- <arg name="YearDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="YearDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
<arg name="Status" type="DlStatus" />
<arg name="LocalStartTime" type="epoch_s" optional="true" />
<arg name="LocalEndTime" type="epoch_s" optional="true" />
@@ -285,14 +285,14 @@
<command source="client" code="16" name="ClearYearDaySchedule" optional="true">
<description>Clears the specific year day schedule or all year day schedules for the specific user.</description>
<access op="invoke" role="administer" />
- <arg name="YearDayIndex" type="INT8U" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="YearDayIndex" type="int8u" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature HDSCH - for now optional -->
<command source="client" code="17" name="SetHolidaySchedule" optional="true">
<description>Set the holiday Schedule by specifying local start time and local end time with respect to any Lock Operating Mode.</description>
<access op="invoke" role="administer" />
- <arg name="HolidayIndex" type="INT8U" />
+ <arg name="HolidayIndex" type="int8u" />
<arg name="LocalStartTime" type="epoch_s" />
<arg name="LocalEndTime" type="epoch_s" />
<arg name="OperatingMode" type="OperatingModeEnum" />
@@ -301,12 +301,12 @@
<command source="client" code="18" name="GetHolidaySchedule" response="GetHolidayScheduleResponse" optional="true">
<description>Get the holiday schedule for the specified index.</description>
<access op="invoke" role="administer" />
- <arg name="HolidayIndex" type="INT8U" />
+ <arg name="HolidayIndex" type="int8u" />
</command>
<!-- Conformance feature HDSCH - for now optional -->
<command source="server" code="18" name="GetHolidayScheduleResponse" disableDefaultResponse="true" optional="true">
<description>Returns the Holiday Schedule Entry for the specified Holiday ID.</description>
- <arg name="HolidayIndex" type="INT8U" />
+ <arg name="HolidayIndex" type="int8u" />
<arg name="Status" type="DlStatus" />
<arg name="LocalStartTime" type="epoch_s" optional="true" />
<arg name="LocalEndTime" type="epoch_s" optional="true" />
@@ -316,16 +316,16 @@
<command source="client" code="19" name="ClearHolidaySchedule" optional="true">
<description>Clears the holiday schedule or all holiday schedules.</description>
<access op="invoke" role="administer" />
- <arg name="HolidayIndex" type="INT8U" />
+ <arg name="HolidayIndex" type="int8u" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="client" code="26" name="SetUser" mustUseTimedInvoke="true" optional="true">
<description>Set User into the lock.</description>
<access op="invoke" role="administer" />
<arg name="OperationType" type="DataOperationTypeEnum" />
- <arg name="UserIndex" type="INT16U" />
- <arg name="UserName" type="CHAR_STRING" isNullable="true" />
- <arg name="UserUniqueID" type="INT32U" isNullable="true" />
+ <arg name="UserIndex" type="int16u" />
+ <arg name="UserName" type="char_string" isNullable="true" />
+ <arg name="UserUniqueID" type="int32u" isNullable="true" />
<arg name="UserStatus" type="UserStatusEnum" isNullable="true" />
<arg name="UserType" type="UserTypeEnum" isNullable="true" />
<arg name="CredentialRule" type="CredentialRuleEnum" isNullable="true" />
@@ -334,27 +334,27 @@
<command source="client" code="27" name="GetUser" response="GetUserResponse" optional="true">
<description>Retrieve User.</description>
<access op="invoke" role="administer" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="server" code="28" name="GetUserResponse" disableDefaultResponse="true" optional="true">
<description>Returns the User for the specified UserIndex.</description>
- <arg name="UserIndex" type="INT16U" />
- <arg name="UserName" type="CHAR_STRING" isNullable="true" />
- <arg name="UserUniqueID" type="INT32U" isNullable="true" />
+ <arg name="UserIndex" type="int16u" />
+ <arg name="UserName" type="char_string" isNullable="true" />
+ <arg name="UserUniqueID" type="int32u" isNullable="true" />
<arg name="UserStatus" type="UserStatusEnum" isNullable="true" />
<arg name="UserType" type="UserTypeEnum" isNullable="true" />
<arg name="CredentialRule" type="CredentialRuleEnum" isNullable="true" />
<arg name="Credentials" type="CredentialStruct" array="true" isNullable="true" />
<arg name="CreatorFabricIndex" type="fabric_idx" isNullable="true" />
<arg name="LastModifiedFabricIndex" type="fabric_idx" isNullable="true" />
- <arg name="NextUserIndex" type="INT16U" isNullable="true" />
+ <arg name="NextUserIndex" type="int16u" isNullable="true" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="client" code="29" name="ClearUser" mustUseTimedInvoke="true" optional="true">
<description>Clears a User or all Users.</description>
<access op="invoke" role="administer" />
- <arg name="UserIndex" type="INT16U" />
+ <arg name="UserIndex" type="int16u" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="client" code="34" name="SetCredential" response="SetCredentialResponse" mustUseTimedInvoke="true" optional="true">
@@ -363,7 +363,7 @@
<arg name="OperationType" type="DataOperationTypeEnum" />
<arg name="Credential" type="CredentialStruct" />
<arg name="CredentialData" type="LONG_OCTET_STRING" />
- <arg name="UserIndex" type="INT16U" isNullable="true" />
+ <arg name="UserIndex" type="int16u" isNullable="true" />
<arg name="UserStatus" type="UserStatusEnum" isNullable="true" />
<arg name="UserType" type="UserTypeEnum" isNullable="true" />
</command>
@@ -371,8 +371,8 @@
<command source="server" code="35" name="SetCredentialResponse" disableDefaultResponse="true" optional="true">
<description>Returns the status for setting the specified credential.</description>
<arg name="Status" type="DlStatus" />
- <arg name="UserIndex" type="INT16U" isNullable="true" />
- <arg name="NextCredentialIndex" type="INT16U" isNullable="true" />
+ <arg name="UserIndex" type="int16u" isNullable="true" />
+ <arg name="NextCredentialIndex" type="int16u" isNullable="true" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="client" code="36" name="GetCredentialStatus" response="GetCredentialStatusResponse" optional="true">
@@ -384,10 +384,10 @@
<command source="server" code="37" name="GetCredentialStatusResponse" disableDefaultResponse="true" optional="true">
<description>Returns the status for the specified credential.</description>
<arg name="CredentialExists" type="boolean" />
- <arg name="UserIndex" type="INT16U" isNullable="true" />
+ <arg name="UserIndex" type="int16u" isNullable="true" />
<arg name="CreatorFabricIndex" type="fabric_idx" isNullable="true" />
<arg name="LastModifiedFabricIndex" type="fabric_idx" isNullable="true" />
- <arg name="NextCredentialIndex" type="INT16U" isNullable="true" />
+ <arg name="NextCredentialIndex" type="int16u" isNullable="true" />
</command>
<!-- Conformance feature USR - for now optional -->
<command source="client" code="38" name="ClearCredential" mustUseTimedInvoke="true" optional="true">
@@ -398,7 +398,7 @@
<command source="client" code="39" name="UnboltDoor" mustUseTimedInvoke="true" optional="true">
<description>This command causes the lock device to unlock the door without pulling the latch.</description>
<!-- Conformance feature [COTA & PIN] - for now optional -->
- <arg name="PINCode" type="OCTET_STRING" optional="true" />
+ <arg name="PINCode" type="octet_string" optional="true" />
</command>
@@ -416,9 +416,9 @@
<description>The door lock server sends out a LockOperation event when the event is triggered by the various lock operation sources.</description>
<field id="0" name="LockOperationType" type="LockOperationTypeEnum" />
<field id="1" name="OperationSource" type="OperationSourceEnum" />
- <field id="2" name="UserIndex" type="INT16U" isNullable="true" />
+ <field id="2" name="UserIndex" type="int16u" isNullable="true" />
<field id="3" name="FabricIndex" type="fabric_idx" isNullable="true" />
- <field id="4" name="SourceNode" type="NODE_ID" isNullable="true" />
+ <field id="4" name="SourceNode" type="node_id" isNullable="true" />
<!-- Conformance feature [USR] - for now optional -->
<field id="5" name="Credentials" type="CredentialStruct" array="true" isNullable="true" optional="true" />
</event>
@@ -427,9 +427,9 @@
<field id="0" name="LockOperationType" type="LockOperationTypeEnum" />
<field id="1" name="OperationSource" type="OperationSourceEnum" />
<field id="2" name="OperationError" type="OperationErrorEnum" />
- <field id="3" name="UserIndex" type="INT16U" isNullable="true" />
+ <field id="3" name="UserIndex" type="int16u" isNullable="true" />
<field id="4" name="FabricIndex" type="fabric_idx" isNullable="true" />
- <field id="5" name="SourceNode" type="NODE_ID" isNullable="true" />
+ <field id="5" name="SourceNode" type="node_id" isNullable="true" />
<!-- Conformance feature [USR] - for now optional -->
<field id="6" name="Credentials" type="CredentialStruct" array="true" isNullable="true" optional="true" />
</event>
@@ -438,16 +438,16 @@
<field id="0" name="LockDataType" type="LockDataTypeEnum" />
<field id="1" name="DataOperationType" type="DataOperationTypeEnum" />
<field id="2" name="OperationSource" type="OperationSourceEnum" />
- <field id="3" name="UserIndex" type="INT16U" isNullable="true" />
+ <field id="3" name="UserIndex" type="int16u" isNullable="true" />
<field id="4" name="FabricIndex" type="fabric_idx" isNullable="true" />
- <field id="5" name="SourceNode" type="NODE_ID" isNullable="true" />
- <field id="6" name="DataIndex" type="INT16U" isNullable="true" />
+ <field id="5" name="SourceNode" type="node_id" isNullable="true" />
+ <field id="6" name="DataIndex" type="int16u" isNullable="true" />
</event>
</cluster>
<!-- Cluster data types -->
- <enum name="AlarmCodeEnum" type="ENUM8">
+ <enum name="AlarmCodeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="LockJammed" />
<item value="1" name="LockFactoryReset" />
@@ -459,14 +459,14 @@
<item value="8" name="ForcedUser" />
</enum>
- <enum name="CredentialRuleEnum" type="ENUM8">
+ <enum name="CredentialRuleEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Single" />
<item value="1" name="Dual" />
<item value="2" name="Tri" />
</enum>
- <bitmap name="DlCredentialRuleMask" type="BITMAP8">
+ <bitmap name="DlCredentialRuleMask" type="bitmap8">
<cluster code="0x0101" />
<field mask="0x01" name="Single" />
<field mask="0x02" name="Dual" />
@@ -476,10 +476,10 @@
<struct name="CredentialStruct">
<cluster code="0x0101" />
<item name="CredentialType" type="CredentialTypeEnum" />
- <item name="CredentialIndex" type="INT16U" />
+ <item name="CredentialIndex" type="int16u" />
</struct>
- <enum name="CredentialTypeEnum" type="ENUM8">
+ <enum name="CredentialTypeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="ProgrammingPIN" />
<item value="1" name="PIN" />
@@ -489,14 +489,14 @@
<item value="5" name="Face" />
</enum>
- <enum name="DataOperationTypeEnum" type="ENUM8">
+ <enum name="DataOperationTypeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Add" />
<item value="1" name="Clear" />
<item value="2" name="Modify" />
</enum>
- <bitmap name="DaysMaskMap" type="BITMAP8">
+ <bitmap name="DaysMaskMap" type="bitmap8">
<cluster code="0x0101" />
<field mask="0x01" name="Sunday" />
<field mask="0x02" name="Monday" />
@@ -507,7 +507,7 @@
<field mask="0x40" name="Saturday" />
</bitmap>
- <enum name="DoorStateEnum" type="ENUM8">
+ <enum name="DoorStateEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="DoorOpen" />
<item value="1" name="DoorClosed" />
@@ -517,7 +517,7 @@
<item value="5" name="DoorAjar" />
</enum>
- <enum name="LockDataTypeEnum" type="ENUM8">
+ <enum name="LockDataTypeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Unspecified" />
<item value="1" name="ProgrammingCode" />
@@ -532,7 +532,7 @@
<item value="10" name="Face" />
</enum>
- <enum name="LockOperationTypeEnum" type="ENUM8">
+ <enum name="LockOperationTypeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Lock" />
<item value="1" name="Unlock" />
@@ -541,7 +541,7 @@
<item value="4" name="Unlatch" />
</enum>
- <enum name="OperationErrorEnum" type="ENUM8">
+ <enum name="OperationErrorEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Unspecified" />
<item value="1" name="InvalidCredential" />
@@ -550,7 +550,7 @@
<item value="4" name="InsufficientBattery" />
</enum>
- <enum name="OperatingModeEnum" type="ENUM8">
+ <enum name="OperatingModeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Normal" />
<item value="1" name="Vacation" />
@@ -559,7 +559,7 @@
<item value="4" name="Passage" />
</enum>
- <enum name="OperationSourceEnum" type="ENUM8">
+ <enum name="OperationSourceEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Unspecified" />
<item value="1" name="Manual" />
@@ -573,14 +573,14 @@
<item value="9" name="Biometric" />
</enum>
- <enum name="UserStatusEnum" type="ENUM8">
+ <enum name="UserStatusEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Available" />
<item value="1" name="OccupiedEnabled" />
<item value="3" name="OccupiedDisabled" />
</enum>
- <enum name="UserTypeEnum" type="ENUM8">
+ <enum name="UserTypeEnum" type="enum8">
<cluster code="0x0101" />
<item value="0" name="UnrestrictedUser" />
<item value="1" name="YearDayScheduleUser" />
@@ -597,7 +597,7 @@
<!-- Auxiliary data types -->
<!-- LockState Attribute Values -->
- <enum name="DlLockState" type="ENUM8">
+ <enum name="DlLockState" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Not Fully Locked" />
<item value="1" name="Locked" />
@@ -606,7 +606,7 @@
</enum>
<!-- LockType Attribute Values -->
- <enum name="DlLockType" type="ENUM8">
+ <enum name="DlLockType" type="enum8">
<cluster code="0x0101" />
<item value="0" name="Dead bolt" />
<item value="1" name="Magnetic" />
@@ -623,7 +623,7 @@
</enum>
<!-- CredentialRulesSupport attribute bit meaning set -->
- <bitmap name="DlCredentialRulesSupport" type="BITMAP8">
+ <bitmap name="DlCredentialRulesSupport" type="bitmap8">
<cluster code="0x0101" />
<field mask="0x01" name="Single" />
<field mask="0x02" name="Dual" />
@@ -631,7 +631,7 @@
</bitmap>
<!-- SupportedOperatingModes attribute bit meaning set -->
- <bitmap name="DlSupportedOperatingModes" type="BITMAP16">
+ <bitmap name="DlSupportedOperatingModes" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Normal" />
<field mask="0x02" name="Vacation" /> <!-- Could be optional -->
@@ -641,7 +641,7 @@
</bitmap>
<!-- DefaultConfigurationRegister attribute bit meaning set -->
- <bitmap name="DlDefaultConfigurationRegister" type="BITMAP16">
+ <bitmap name="DlDefaultConfigurationRegister" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="EnableLocalProgrammingEnabled" />
<field mask="0x02" name="KeypadInterfaceDefaultAccessEnabled" />
@@ -652,7 +652,7 @@
</bitmap>
<!-- LocalProgrammingFeatures attribute bit meaning set -->
- <bitmap name="DlLocalProgrammingFeatures" type="BITMAP8">
+ <bitmap name="DlLocalProgrammingFeatures" type="bitmap8">
<cluster code="0x0101" />
<field mask="0x01" name="AddUsersCredentialsSchedulesLocally" />
<field mask="0x02" name="ModifyUsersCredentialsSchedulesLocally" />
@@ -661,7 +661,7 @@
</bitmap>
<!-- KeypadOperationEventMask attribute bit meaning set -->
- <bitmap name="DlKeypadOperationEventMask" type="BITMAP16">
+ <bitmap name="DlKeypadOperationEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x02" name="Lock" />
@@ -674,7 +674,7 @@
</bitmap>
<!-- RemoteOperationEventMask attribute bit meaning set -->
- <bitmap name="DlRemoteOperationEventMask" type="BITMAP16">
+ <bitmap name="DlRemoteOperationEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x02" name="Lock" />
@@ -686,7 +686,7 @@
</bitmap>
<!-- ManualOperationEventMask attribute bit meaning set -->
- <bitmap name="DlManualOperationEventMask" type="BITMAP16">
+ <bitmap name="DlManualOperationEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x001" name="Unknown" />
<field mask="0x002" name="ThumbturnLock" />
@@ -702,7 +702,7 @@
</bitmap>
<!-- RFIDOperationEventMask attribute bit meaning set -->
- <bitmap name="DlRFIDOperationEventMask" type="BITMAP16">
+ <bitmap name="DlRFIDOperationEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x02" name="Lock" />
@@ -714,7 +714,7 @@
</bitmap>
<!-- KeypadProgrammingEventMask attribute bit meaning set -->
- <bitmap name="DlKeypadProgrammingEventMask" type="BITMAP16">
+ <bitmap name="DlKeypadProgrammingEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x02" name="ProgrammingPINChanged" />
@@ -724,7 +724,7 @@
</bitmap>
<!-- RemoteProgrammingEventMask attribute bit meaning set -->
- <bitmap name="DlRemoteProgrammingEventMask" type="BITMAP16">
+ <bitmap name="DlRemoteProgrammingEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x02" name="ProgrammingPINChanged" />
@@ -736,14 +736,14 @@
</bitmap>
<!-- RFIDProgrammingEventMask attribute bit meaning set -->
- <bitmap name="DlRFIDProgrammingEventMask" type="BITMAP16">
+ <bitmap name="DlRFIDProgrammingEventMask" type="bitmap16">
<cluster code="0x0101" />
<field mask="0x01" name="Unknown" />
<field mask="0x20" name="RFIDCodeAdded" />
<field mask="0x40" name="RFIDCodeCleared" />
</bitmap>
- <enum name="DlStatus" type="ENUM8">
+ <enum name="DlStatus" type="enum8">
<cluster code="0x0101" />
<item value="0x00" name="Success" />
<item value="0x01" name="Failure" />
@@ -754,7 +754,7 @@
<item value="0x8B" name="NotFound" />
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0101" />
<field name="PIN Credential" mask="0x01" />
<field name="RFID Credential" mask="0x02" />
@@ -771,7 +771,7 @@
<field name="Unbolt" mask="0x1000" />
</bitmap>
- <enum name="DoorLockSetPinOrIdStatus" type="ENUM8">
+ <enum name="DoorLockSetPinOrIdStatus" type="enum8">
<cluster code="0x0101"/>
<item name="Success" value="0x00"/>
<item name="GeneralFailure" value="0x01"/>
@@ -779,7 +779,7 @@
<item name="DuplicateCodeError" value="0x03"/>
</enum>
- <enum name="DoorLockOperationEventCode" type="ENUM8">
+ <enum name="DoorLockOperationEventCode" type="enum8">
<cluster code="0x0101"/>
<item name="UnknownOrMfgSpecific" value="0x00"/>
<item name="Lock" value="0x01"/>
@@ -798,7 +798,7 @@
<item name="ManualUnlock" value="0x0E"/>
</enum>
- <enum name="DoorLockProgrammingEventCode" type="ENUM8">
+ <enum name="DoorLockProgrammingEventCode" type="enum8">
<cluster code="0x0101"/>
<item name="UnknownOrMfgSpecific" value="0x00"/>
<item name="MasterCodeChanged" value="0x01"/>
@@ -809,7 +809,7 @@
<item name="IdDeleted" value="0x06"/>
</enum>
- <enum name="DoorLockUserStatus" type="ENUM8">
+ <enum name="DoorLockUserStatus" type="enum8">
<cluster code="0x0101"/>
<item name="Available" value="0x00"/>
<item name="OccupiedEnabled" value="0x01"/>
@@ -817,7 +817,7 @@
<item name="NotSupported" value="0xFF"/>
</enum>
- <enum name="DoorLockUserType" type="ENUM8">
+ <enum name="DoorLockUserType" type="enum8">
<cluster code="0x0101"/>
<item name="Unrestricted" value="0x00"/>
<item name="YearDayScheduleUser" value="0x01"/>
@@ -827,7 +827,7 @@
<item name="NotSupported" value="0xFF"/>
</enum>
- <bitmap name="DoorLockDayOfWeek" type="BITMAP8">
+ <bitmap name="DoorLockDayOfWeek" type="bitmap8">
<cluster code="0x0101"/>
<field name="Sunday" mask="0x01"/>
<field name="Monday" mask="0x02"/>
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 54c590e..f3b6192 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="PHYRateEnum" type="ENUM8">
+ <enum name="PHYRateEnum" type="enum8">
<cluster code="0x0037"/>
<item name="Rate10M" value="0x00"/>
<item name="Rate100M" value="0x01"/>
@@ -29,7 +29,7 @@
<item name="Rate200G" value="0x08"/>
<item name="Rate400G" value="0x09"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0037"/>
<field name="PacketCounts" mask="0x1"/>
<field name="ErrorCounts" mask="0x2"/>
@@ -41,14 +41,14 @@
<define>ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER</define>
<description>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.</description>
<attribute side="server" code="0x00" define="PHY_RATE" type="PHYRateEnum" writable="false" isNullable="true" optional="true">PHYRate</attribute>
- <attribute side="server" code="0x01" define="FULL_DUPLEX" type="BOOLEAN" min="0x00" max="0x01" writable="false" isNullable="true" optional="true">FullDuplex</attribute>
- <attribute side="server" code="0x02" define="PACKET_RX_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">PacketRxCount</attribute>
- <attribute side="server" code="0x03" define="PACKET_TX_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">PacketTxCount</attribute>
- <attribute side="server" code="0x04" define="TX_ERR_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">TxErrCount</attribute>
- <attribute side="server" code="0x05" define="COLLISION_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CollisionCount</attribute>
- <attribute side="server" code="0x06" define="ETHERNET_OVERRUN_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">OverrunCount</attribute>
- <attribute side="server" code="0x07" define="CARRIER_DETECT" type="BOOLEAN" min="0x00" max="0x01" writable="false" isNullable="true" optional="true">CarrierDetect</attribute>
- <attribute side="server" code="0x08" define="TIME_SINCE_RESET" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">TimeSinceReset</attribute>
+ <attribute side="server" code="0x01" define="FULL_DUPLEX" type="boolean" min="0x00" max="0x01" writable="false" isNullable="true" optional="true">FullDuplex</attribute>
+ <attribute side="server" code="0x02" define="PACKET_RX_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">PacketRxCount</attribute>
+ <attribute side="server" code="0x03" define="PACKET_TX_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">PacketTxCount</attribute>
+ <attribute side="server" code="0x04" define="TX_ERR_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">TxErrCount</attribute>
+ <attribute side="server" code="0x05" define="COLLISION_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CollisionCount</attribute>
+ <attribute side="server" code="0x06" define="ETHERNET_OVERRUN_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">OverrunCount</attribute>
+ <attribute side="server" code="0x07" define="CARRIER_DETECT" type="boolean" min="0x00" max="0x01" writable="false" isNullable="true" optional="true">CarrierDetect</attribute>
+ <attribute side="server" code="0x08" define="TIME_SINCE_RESET" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">TimeSinceReset</attribute>
<command source="client" code="0x00" name="ResetCounts" optional="false" cli="chip ethernet_network_diagnostics resetcounts">
<description>Reception of this command SHALL reset the attributes: PacketRxCount, PacketTxCount, TxErrCount, CollisionCount, OverrunCount to 0</description>
</command>
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 e78de63..9eb833b 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 @@
<configurator>
<domain name="HVAC"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0202" />
<field name="MultiSpeed" mask="0x01" />
<field name="Auto" mask="0x02" />
@@ -27,7 +27,7 @@
<field name="Airflow Direction" mask="0x20" />
</bitmap>
- <enum name="FanModeEnum" type="ENUM8">
+ <enum name="FanModeEnum" type="enum8">
<cluster code="0x0202"/>
<item name="Off" value="0x00"/>
<item name="Low" value="0x01"/>
@@ -38,7 +38,7 @@
<item name="Smart" value="0x06"/>
</enum>
- <enum name="FanModeSequenceEnum" type="ENUM8">
+ <enum name="FanModeSequenceEnum" type="enum8">
<cluster code="0x0202"/>
<item name="Off/Low/Med/High" value="0x00"/>
<item name="Off/Low/High" value="0x01"/>
@@ -48,26 +48,26 @@
<item name="Off/On" value="0x05"/>
</enum>
- <bitmap name="RockBitmap" type="BITMAP8">
+ <bitmap name="RockBitmap" type="bitmap8">
<cluster code="0x0202" />
<field name="RockLeftRight" mask="0x01" />
<field name="RockUpDown" mask="0x02" />
<field name="RockRound" mask="0x04" />
</bitmap>
- <bitmap name="WindBitmap" type="BITMAP8">
+ <bitmap name="WindBitmap" type="bitmap8">
<cluster code="0x0202" />
<field name="Sleep Wind" mask="0x01" />
<field name="Natural Wind" mask="0x02" />
</bitmap>
- <enum name="StepDirectionEnum" type="ENUM8">
+ <enum name="StepDirectionEnum" type="enum8">
<cluster code="0x0202"/>
<item name="Increase" value="0x00"/>
<item name="Decrease" value="0x01"/>
</enum>
- <enum name="AirflowDirectionEnum" type="ENUM8">
+ <enum name="AirflowDirectionEnum" type="enum8">
<cluster code="0x0202"/>
<item name="Forward" value="0x00"/>
<item name="Reverse" value="0x01"/>
@@ -87,11 +87,11 @@
<attribute side="server" code="0x0000" define="FAN_MODE" type="FanModeEnum" min="0" max="6" writable="true" default="0" optional="false">FanMode</attribute>
<attribute side="server" code="0x0001" define="FAN_MODE_SEQUENCE" type="FanModeSequenceEnum" min="0" max="5" writable="true" default="2" optional="false">FanModeSequence</attribute>
- <attribute side="server" code="0x0002" define="PERCENT_SETTING" type="Percent" min="0" max="100" writable="true" default="0" isNullable="true" optional="false">PercentSetting</attribute>
- <attribute side="server" code="0x0003" define="PERCENT_CURRENT" type="Percent" min="0" max="100" writable="false" default="0" optional="false">PercentCurrent</attribute>
- <attribute side="server" code="0x0004" define="SPEED_MAX" type="INT8U" min="1" max="100" writable="false" default="1" optional="true">SpeedMax</attribute>
- <attribute side="server" code="0x0005" define="SPEED_SETTING" type="INT8U" min="0" max="100" writable="true" default="0" isNullable="true" optional="true">SpeedSetting</attribute>
- <attribute side="server" code="0x0006" define="SPEED_CURRENT" type="INT8U" min="0" max="100" writable="false" default="0" optional="true">SpeedCurrent</attribute>
+ <attribute side="server" code="0x0002" define="PERCENT_SETTING" type="percent" min="0" max="100" writable="true" default="0" isNullable="true" optional="false">PercentSetting</attribute>
+ <attribute side="server" code="0x0003" define="PERCENT_CURRENT" type="percent" min="0" max="100" writable="false" default="0" optional="false">PercentCurrent</attribute>
+ <attribute side="server" code="0x0004" define="SPEED_MAX" type="int8u" min="1" max="100" writable="false" default="1" optional="true">SpeedMax</attribute>
+ <attribute side="server" code="0x0005" define="SPEED_SETTING" type="int8u" min="0" max="100" writable="true" default="0" isNullable="true" optional="true">SpeedSetting</attribute>
+ <attribute side="server" code="0x0006" define="SPEED_CURRENT" type="int8u" min="0" max="100" writable="false" default="0" optional="true">SpeedCurrent</attribute>
<attribute side="server" code="0x0007" define="ROCK_SUPPORT" type="RockBitmap" writable="false" default="0x00" optional="true">RockSupport</attribute>
<attribute side="server" code="0x0008" define="ROCK_SETTING" type="RockBitmap" writable="true" default="0x00" optional="true">RockSetting</attribute>
<attribute side="server" code="0x0009" define="WIND_SUPPORT" type="WindBitmap" writable="false" default="0x00" optional="true">WindSupport</attribute>
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 e4e92ae..76bc15e 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="FaultType" type="ENUM8">
+ <enum name="FaultType" type="enum8">
<cluster code="0xFFF1FC06"/>
<item name="Unspecified" value="0x00"/>
<item name="SystemFault" value="0x01"/>
@@ -33,17 +33,17 @@
<command source="client" code="0x00" name="FailAtFault" optional="false">
<description>Configure a fault to be triggered deterministically</description>
<arg name="Type" type="FaultType"/>
- <arg name="Id" type="INT32U"/>
- <arg name="NumCallsToSkip" type="INT32U"/>
- <arg name="NumCallsToFail" type="INT32U"/>
- <arg name="TakeMutex" type="BOOLEAN"/>
+ <arg name="Id" type="int32u"/>
+ <arg name="NumCallsToSkip" type="int32u"/>
+ <arg name="NumCallsToFail" type="int32u"/>
+ <arg name="TakeMutex" type="boolean"/>
<access op="invoke" role="manage"/>
</command>
<command source="client" code="0x01" name="FailRandomlyAtFault" optional="false">
<description>Configure a fault to be triggered randomly, with a given probability defined as a percentage</description>
<arg name="Type" type="FaultType"/>
- <arg name="Id" type="INT32U"/>
- <arg name="Percentage" type="INT8U"/>
+ <arg name="Id" type="int32u"/>
+ <arg name="Percentage" type="int8u"/>
<access op="invoke" role="manage"/>
</command>
</cluster>
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 4c5e82c..a0280a3 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 @@
<struct name="LabelStruct">
<cluster code="0x0040"/>
<cluster code="0x0041"/>
- <item name="Label" type="CHAR_STRING" length="16"/>
- <item name="Value" type="CHAR_STRING" length="16"/>
+ <item name="Label" type="char_string" length="16"/>
+ <item name="Value" type="char_string" length="16"/>
</struct>
<cluster>
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 fe048ff..3e546e9 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 @@
<define>FLOW_MEASUREMENT_CLUSTER</define>
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
- <attribute side="server" code="0x0000" define="FLOW_MEASURED_VALUE" type="INT16U" writable="false" optional="false" isNullable="true">MeasuredValue</attribute>
- <attribute side="server" code="0x0001" define="FLOW_MIN_MEASURED_VALUE" type="INT16U" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
- <attribute side="server" code="0x0002" define="FLOW_MAX_MEASURED_VALUE" type="INT16U" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
- <attribute side="server" code="0x0003" define="FLOW_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" default="0" optional="true">Tolerance</attribute>
+ <attribute side="server" code="0x0000" define="FLOW_MEASURED_VALUE" type="int16u" writable="false" optional="false" isNullable="true">MeasuredValue</attribute>
+ <attribute side="server" code="0x0001" define="FLOW_MIN_MEASURED_VALUE" type="int16u" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
+ <attribute side="server" code="0x0002" define="FLOW_MAX_MEASURED_VALUE" type="int16u" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
+ <attribute side="server" code="0x0003" define="FLOW_TOLERANCE" type="int16u" min="0x0000" max="0x0800" writable="false" default="0" optional="true">Tolerance</attribute>
</cluster>
</configurator>
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 390da4c..a307d0c 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="CommissioningErrorEnum" type="ENUM8">
+ <enum name="CommissioningErrorEnum" type="enum8">
<cluster code="0x0030"/>
<item name="OK" value="0x0"/>
<item name="ValueOutsideRange" value="0x1"/>
@@ -24,7 +24,7 @@
<item name="NoFailSafe" value="0x3"/>
<item name="BusyWithOtherAdmin" value="0x4"/>
</enum>
- <enum name="RegulatoryLocationTypeEnum" type="ENUM8">
+ <enum name="RegulatoryLocationTypeEnum" type="enum8">
<cluster code="0x0030"/>
<item name="Indoor" value="0x0"/>
<item name="Outdoor" value="0x1"/>
@@ -32,8 +32,8 @@
</enum>
<struct name="BasicCommissioningInfo">
<cluster code="0x0030"/>
- <item fieldId="0" name="FailSafeExpiryLengthSeconds" type="INT16U"/>
- <item fieldId="1" name="MaxCumulativeFailsafeSeconds" type="INT16U"/>
+ <item fieldId="0" name="FailSafeExpiryLengthSeconds" type="int16u"/>
+ <item fieldId="1" name="MaxCumulativeFailsafeSeconds" type="int16u"/>
</struct>
<cluster>
<domain>General</domain>
@@ -41,7 +41,7 @@
<code>0x0030</code>
<define>GENERAL_COMMISSIONING_CLUSTER</define>
<description>This cluster is used to manage global aspects of the Commissioning flow.</description>
- <attribute side="server" code="0x00" define="BREADCRUMB" type="INT64U" writable="true" default="0x0000000000000000" optional="false">
+ <attribute side="server" code="0x00" define="BREADCRUMB" type="int64u" writable="true" default="0x0000000000000000" optional="false">
<description>Breadcrumb</description>
<access op="read" privilege="view"/>
<access op="write" privilege="administer"/>
@@ -53,26 +53,26 @@
<command source="client" code="0x00" name="ArmFailSafe" response="ArmFailSafeResponse" optional="false" cli="chip fabric_commissioning armfailsafe">
<description>Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock</description>
- <arg name="ExpiryLengthSeconds" type="INT16U"/>
- <arg name="Breadcrumb" type="INT64U"/>
+ <arg name="ExpiryLengthSeconds" type="int16u"/>
+ <arg name="Breadcrumb" type="int64u"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x01" name="ArmFailSafeResponse" optional="false" cli="chip fabric_commissioning armfailsaferesponse">
<description>Success/failure response for ArmFailSafe command</description>
<arg name="ErrorCode" type="CommissioningErrorEnum"/>
- <arg name="DebugText" type="CHAR_STRING"/>
+ <arg name="DebugText" type="char_string"/>
</command>
<command source="client" code="0x02" name="SetRegulatoryConfig" response="SetRegulatoryConfigResponse" cli="chip fabric_commissioning setregulatoryconfig">
<description>Set the regulatory configuration to be used during commissioning</description>
<arg name="NewRegulatoryConfig" type="RegulatoryLocationTypeEnum"/>
- <arg name="CountryCode" type="CHAR_STRING"/>
- <arg name="Breadcrumb" type="INT64U"/>
+ <arg name="CountryCode" type="char_string"/>
+ <arg name="Breadcrumb" type="int64u"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x03" name="SetRegulatoryConfigResponse" cli="chip fabric_commissioning setregulatoryconfigresponse">
<description>Success/failure response for SetRegulatoryConfig command</description>
<arg name="ErrorCode" type="CommissioningErrorEnum"/>
- <arg name="DebugText" type="CHAR_STRING"/>
+ <arg name="DebugText" type="char_string"/>
</command>
<command source="client" code="0x04" name="CommissioningComplete" response="CommissioningCompleteResponse" isFabricScoped="true" optional="false" cli="chip fabric_commissioning commissioningcomplete">
<description>Signals the Server that the Client has successfully completed all steps of Commissioning/Recofiguration needed during fail-safe period.</description>
@@ -81,7 +81,7 @@
<command source="server" code="0x05" name="CommissioningCompleteResponse" optional="false" cli="chip fabric_commissioning commissioningcompleteresponse">
<description>Indicates to client whether CommissioningComplete command succeeded</description>
<arg name="ErrorCode" type="CommissioningErrorEnum"/>
- <arg name="DebugText" type="CHAR_STRING"/>
+ <arg name="DebugText" type="char_string"/>
</command>
</cluster>
</configurator>
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 f8bd8ec..4e0e9b5 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="HardwareFaultEnum" type="ENUM8">
+ <enum name="HardwareFaultEnum" type="enum8">
<cluster code="0x0033"/>
<item name="Unspecified" value="0x00"/>
<item name="Radio" value="0x01"/>
@@ -30,7 +30,7 @@
<item name="NonVolatileMemoryError" value="0x09"/>
<item name="TamperDetected" value="0x0A"/>
</enum>
- <enum name="RadioFaultEnum" type="ENUM8">
+ <enum name="RadioFaultEnum" type="enum8">
<cluster code="0x0033"/>
<item name="Unspecified" value="0x00"/>
<item name="WiFiFault" value="0x01"/>
@@ -40,14 +40,14 @@
<item name="BLEFault" value="0x05"/>
<item name="EthernetFault" value="0x06"/>
</enum>
- <enum name="NetworkFaultEnum" type="ENUM8">
+ <enum name="NetworkFaultEnum" type="enum8">
<cluster code="0x0033"/>
<item name="Unspecified" value="0x00"/>
<item name="HardwareFailure" value="0x01"/>
<item name="NetworkJammed" value="0x02"/>
<item name="ConnectionFailed" value="0x03"/>
</enum>
- <enum name="BootReasonEnum" type="ENUM8">
+ <enum name="BootReasonEnum" type="enum8">
<cluster code="0x0033"/>
<item name="Unspecified" value="0x00"/>
<item name="PowerOnReboot" value="0x01"/>
@@ -57,7 +57,7 @@
<item name="SoftwareUpdateCompleted" value="0x05"/>
<item name="SoftwareReset" value="0x06"/>
</enum>
- <enum name="InterfaceTypeEnum" type="ENUM8">
+ <enum name="InterfaceTypeEnum" type="enum8">
<cluster code="0x0033"/>
<item name="Unspecified" value="0x00"/>
<item name="WiFi" value="0x01"/>
@@ -67,14 +67,14 @@
</enum>
<struct name="NetworkInterface">
<cluster code="0x0033"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
- <item name="IsOperational" type="BOOLEAN"/>
- <item name="OffPremiseServicesReachableIPv4" type="BOOLEAN" isNullable="true"/>
- <item name="OffPremiseServicesReachableIPv6" type="BOOLEAN" isNullable="true"/>
+ <item name="Name" type="char_string" length="32"/>
+ <item name="IsOperational" type="boolean"/>
+ <item name="OffPremiseServicesReachableIPv4" type="boolean" isNullable="true"/>
+ <item name="OffPremiseServicesReachableIPv6" type="boolean" isNullable="true"/>
<!-- TODO(#14075): HWADR not supported yet -->
- <item name="HardwareAddress" type="OCTET_STRING" length="8"/>
- <item name="IPv4Addresses" type="OCTET_STRING" array="true"/>
- <item name="IPv6Addresses" type="OCTET_STRING" array="true"/>
+ <item name="HardwareAddress" type="octet_string" length="8"/>
+ <item name="IPv4Addresses" type="octet_string" array="true"/>
+ <item name="IPv6Addresses" type="octet_string" array="true"/>
<item name="Type" type="InterfaceTypeEnum"/>
</struct>
<cluster>
@@ -84,20 +84,20 @@
<define>GENERAL_DIAGNOSTICS_CLUSTER</define>
<description>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.</description>
<attribute side="server" code="0x00" define="NETWORK_INTERFACES" type="ARRAY" entryType="NetworkInterface" length="254" writable="false" optional="false">NetworkInterfaces</attribute>
- <attribute side="server" code="0x01" define="REBOOT_COUNT" type="INT16U" writable="false" default="0x0000" optional="false">RebootCount</attribute>
- <attribute side="server" code="0x02" define="UP_TIME" type="INT64U" writable="false" default="0x0000000000000000" optional="true">UpTime</attribute>
- <attribute side="server" code="0x03" define="TOTAL_OPERATIONAL_HOURS" type="INT32U" writable="false" default="0x00000000" optional="true">TotalOperationalHours</attribute>
+ <attribute side="server" code="0x01" define="REBOOT_COUNT" type="int16u" writable="false" default="0x0000" optional="false">RebootCount</attribute>
+ <attribute side="server" code="0x02" define="UP_TIME" type="int64u" writable="false" default="0x0000000000000000" optional="true">UpTime</attribute>
+ <attribute side="server" code="0x03" define="TOTAL_OPERATIONAL_HOURS" type="int32u" writable="false" default="0x00000000" optional="true">TotalOperationalHours</attribute>
<attribute side="server" code="0x04" define="BOOT_REASONS" type="BootReasonEnum" writable="false" optional="true">BootReason</attribute>
<attribute side="server" code="0x05" define="ACTIVE_HARDWARE_FAULTS" type="ARRAY" entryType="HardwareFaultEnum" writable="false" optional="true">ActiveHardwareFaults</attribute>
<attribute side="server" code="0x06" define="ACTIVE_RADIO_FAULTS" type="ARRAY" entryType="RadioFaultEnum" writable="false" optional="true">ActiveRadioFaults</attribute>
<attribute side="server" code="0x07" define="ACTIVE_NETWORK_FAULTS" type="ARRAY" entryType="NetworkFaultEnum" writable="false" optional="true">ActiveNetworkFaults</attribute>
- <attribute side="server" code="0x08" define="TEST_EVENT_TRIGGERS_ENABLED" type="BOOLEAN" writable="false" optional="false">TestEventTriggersEnabled</attribute>
- <attribute side="server" code="0x09" define="AVERAGE_WEAR_COUNT" type="INT32U" writable="false" default="0x00000000" optional="true">AverageWearCount</attribute>
+ <attribute side="server" code="0x08" define="TEST_EVENT_TRIGGERS_ENABLED" type="boolean" writable="false" optional="false">TestEventTriggersEnabled</attribute>
+ <attribute side="server" code="0x09" define="AVERAGE_WEAR_COUNT" type="int32u" writable="false" default="0x00000000" optional="true">AverageWearCount</attribute>
<command source="client" code="0x00" name="TestEventTrigger" optional="false">
<description>Provide a means for certification tests to trigger some test-plan-specific events</description>
- <arg name="EnableKey" type="OCTET_STRING" length="16"/>
- <arg name="EventTrigger" type="INT64U"/>
+ <arg name="EnableKey" type="octet_string" length="16"/>
+ <arg name="EventTrigger" type="int64u"/>
<access op="invoke" role="manage"/>
</command>
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 6dcf1b0..e28ce24 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 @@
<struct name="GroupKeyMapStruct" isFabricScoped="true">
<cluster code="0x003F"/>
<item fieldId="1" name="GroupId" type="group_id"/>
- <item fieldId="2" name="GroupKeySetID" type="INT16U"/>
+ <item fieldId="2" name="GroupKeySetID" type="int16u"/>
</struct>
<struct name="GroupInfoMapStruct" isFabricScoped="true">
<cluster code="0x003F"/>
<item fieldId="1" name="GroupId" type="group_id"/>
<item fieldId="2" name="Endpoints" type="endpoint_no" array="true"/>
- <item fieldId="3" name="GroupName" type="CHAR_STRING" length="16" optional="true"/>
+ <item fieldId="3" name="GroupName" type="char_string" length="16" optional="true"/>
</struct>
- <enum name="GroupKeySecurityPolicyEnum" type="ENUM8">
+ <enum name="GroupKeySecurityPolicyEnum" type="enum8">
<cluster code="0x003F"/>
<item name="TrustFirst" value="0x00"/>
<item name="CacheAndSync" value="0x01"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x003F"/>
<field name="CacheAndSync" mask="0x1"/>
</bitmap>
<struct name="GroupKeySetStruct">
<cluster code="0x003F"/>
- <item fieldId="0" name="GroupKeySetID" type="INT16U"/>
+ <item fieldId="0" name="GroupKeySetID" type="int16u"/>
<item fieldId="1" name="GroupKeySecurityPolicy" type="GroupKeySecurityPolicyEnum"/>
- <item fieldId="2" name="EpochKey0" type="OCTET_STRING" length="16" isNullable="true"/>
+ <item fieldId="2" name="EpochKey0" type="octet_string" length="16" isNullable="true"/>
<item fieldId="3" name="EpochStartTime0" type="epoch_us" isNullable="true"/>
- <item fieldId="4" name="EpochKey1" type="OCTET_STRING" length="16" isNullable="true"/>
+ <item fieldId="4" name="EpochKey1" type="octet_string" length="16" isNullable="true"/>
<item fieldId="5" name="EpochStartTime1" type="epoch_us" isNullable="true"/>
- <item fieldId="6" name="EpochKey2" type="OCTET_STRING" length="16" isNullable="true"/>
+ <item fieldId="6" name="EpochKey2" type="octet_string" length="16" isNullable="true"/>
<item fieldId="7" name="EpochStartTime2" type="epoch_us" isNullable="true"/>
</struct>
@@ -65,8 +65,8 @@
<access op="write" privilege="manage"/>
</attribute>
<attribute side="server" code="0x0001" define="GROUP_TABLE" type="ARRAY" length="254" entryType="GroupInfoMapStruct" writable="false" optional="false">GroupTable</attribute>
- <attribute side="server" code="0x0002" define="MAX_GROUPS_PER_FABRIC" type="INT16U" writable="false" optional="false">MaxGroupsPerFabric</attribute>
- <attribute side="server" code="0x0003" define="MAX_GROUP_KEYS_PER_FABRIC" type="INT16U" writable="false" optional="false">MaxGroupKeysPerFabric</attribute>
+ <attribute side="server" code="0x0002" define="MAX_GROUPS_PER_FABRIC" type="int16u" writable="false" optional="false">MaxGroupsPerFabric</attribute>
+ <attribute side="server" code="0x0003" define="MAX_GROUP_KEYS_PER_FABRIC" type="int16u" writable="false" optional="false">MaxGroupKeysPerFabric</attribute>
<command source="client" code="0x00" name="KeySetWrite" isFabricScoped="true" optional="false" cli="zcl GroupKeyManagement KeySetWrite">
<description>Write a new set of keys for the given key set id.</description>
@@ -76,7 +76,7 @@
<command source="client" code="0x01" name="KeySetRead" isFabricScoped="true" response="KeySetReadResponse" optional="false" cli="zcl GroupKeyManagement KeySetRead">
<description>Read the keys for a given key set id.</description>
- <arg name="GroupKeySetID" type="INT16U"/>
+ <arg name="GroupKeySetID" type="int16u"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -89,7 +89,7 @@
<command source="client" code="0x03" name="KeySetRemove" isFabricScoped="true" optional="false" cli="zcl GroupKeyManagement KeySetRemove">
<description>Revoke a Root Key from a Group</description>
- <arg name="GroupKeySetID" type="INT16U"/>
+ <arg name="GroupKeySetID" type="int16u"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -102,7 +102,7 @@
<description>
Reseponse to KeySetReadAllIndices
</description>
- <arg name="GroupKeySetIDs" type="INT16U" array="true"/>
+ <arg name="GroupKeySetIDs" type="int16u" array="true"/>
</command>
</cluster>
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 41c5f44..454c6a8 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 @@
<configurator>
<domain name="General"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0004"/>
<field name="GroupNames" mask="0x1"/>
</bitmap>
- <bitmap name="NameSupportBitmap" type="BITMAP8">
+ <bitmap name="NameSupportBitmap" type="bitmap8">
<cluster code="0x0004"/>
<field name="GroupNames" mask="0x80"/>
</bitmap>
@@ -48,7 +48,7 @@
</description>
<access op="invoke" role="manage"/>
<arg name="GroupID" type="group_id"/>
- <arg name="GroupName" type="CHAR_STRING"/>
+ <arg name="GroupName" type="char_string"/>
</command>
<command source="client" code="0x01" name="ViewGroup" response="ViewGroupResponse" isFabricScoped="true" optional="false" cli="zcl groups view">
@@ -86,14 +86,14 @@
</description>
<access op="invoke" role="manage"/>
<arg name="GroupID" type="group_id"/>
- <arg name="GroupName" type="CHAR_STRING"/>
+ <arg name="GroupName" type="char_string"/>
</command>
<command source="server" code="0x00" name="AddGroupResponse" optional="false" disableDefaultResponse="true">
<description>
Command description for AddGroupResponse
</description>
- <arg name="Status" type="ENUM8"/>
+ <arg name="Status" type="enum8"/>
<arg name="GroupID" type="group_id"/>
</command>
@@ -101,16 +101,16 @@
<description>
Command description for ViewGroupResponse
</description>
- <arg name="Status" type="ENUM8"/>
+ <arg name="Status" type="enum8"/>
<arg name="GroupID" type="group_id"/>
- <arg name="GroupName" type="CHAR_STRING"/>
+ <arg name="GroupName" type="char_string"/>
</command>
<command source="server" code="0x02" name="GetGroupMembershipResponse" optional="false" disableDefaultResponse="true">
<description>
Command description for GetGroupMembershipResponse
</description>
- <arg name="Capacity" type="INT8U" isNullable="true"/>
+ <arg name="Capacity" type="int8u" isNullable="true"/>
<arg name="GroupList" type="group_id" array="true"/>
</command>
@@ -118,7 +118,7 @@
<description>
Command description for RemoveGroupResponse
</description>
- <arg name="Status" type="ENUM8"/>
+ <arg name="Status" type="enum8"/>
<arg name="GroupID" type="group_id"/>
</command>
</cluster>
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 2377c77..7c31572 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 @@
<configurator>
<domain name="CHIP" />
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0046"/>
<field name="CheckInProtocolSupport" mask="0x1"/>
</bitmap>
@@ -26,7 +26,7 @@
<struct name = "MonitoringRegistrationStruct" isFabricScoped="true">
<cluster code="0x0046"/>
<item fieldId="1" name="CheckInNodeID" type="node_id" isFabricSensitive="true"/>
- <item fieldId="2" name="MonitoredSubject" type="INT64U" isFabricSensitive="true"/>
+ <item fieldId="2" name="MonitoredSubject" type="int64u" isFabricSensitive="true"/>
<!-- RESERVED = 0x03 -->
</struct>
@@ -42,37 +42,37 @@
<!-- Current cluster version -->
<globalAttribute side="either" code="0xFFFD" value="1"/>
- <attribute side="server" code="0x00" define="IDLE_MODE_INTERVAL" type="INT32U" min="1" max="64800" default="1" writable="false" optional="false" isNullable="false">IdleModeInterval</attribute>
- <attribute side="server" code="0x01" define="ACTIVE_MODE_INTERVAL" type="INT32U" default="300" writable="false" optional="false" isNullable="false">ActiveModeInterval</attribute>
- <attribute side="server" code="0x02" define="ACTIVE_MODE_THRESHOLD" type="INT16U" default="300" writable="false" optional="false" isNullable="false">ActiveModeThreshold</attribute>
+ <attribute side="server" code="0x00" define="IDLE_MODE_INTERVAL" type="int32u" min="1" max="64800" default="1" writable="false" optional="false" isNullable="false">IdleModeInterval</attribute>
+ <attribute side="server" code="0x01" define="ACTIVE_MODE_INTERVAL" type="int32u" default="300" writable="false" optional="false" isNullable="false">ActiveModeInterval</attribute>
+ <attribute side="server" code="0x02" define="ACTIVE_MODE_THRESHOLD" type="int16u" default="300" writable="false" optional="false" isNullable="false">ActiveModeThreshold</attribute>
<attribute side="server" code="0x03" define="REGISTERED_CLIENTS" type="ARRAY" entryType="MonitoringRegistrationStruct" writable="false" optional="true" isNullable="false">
<description>RegisteredClients</description>
<access op="read" privilege="administer"/>
</attribute>
- <attribute side="server" code="0x04" define="ICD_COUNTER" type="INT32U" writable="false" default="0" optional="true" isNullable="false">
+ <attribute side="server" code="0x04" define="ICD_COUNTER" type="int32u" writable="false" default="0" optional="true" isNullable="false">
<description>ICDCounter</description>
<access op="read" privilege="administer"/>
</attribute>
- <attribute side="server" code="0x05" define="CLIENTS_SUPPORTED_PER_FABRIC" type="INT16U" min="1" default="1" writable="false" optional="true" isNullable="false">ClientsSupportedPerFabric</attribute>
+ <attribute side="server" code="0x05" define="CLIENTS_SUPPORTED_PER_FABRIC" type="int16u" min="1" default="1" writable="false" optional="true" isNullable="false">ClientsSupportedPerFabric</attribute>
<command source="client" code="0x00" name="RegisterClient" response="RegisterClientResponse" isFabricScoped="true" optional="true">
<description> Register a client to the end device </description>
<arg name="CheckInNodeID" type="node_id" optional="false"/>
- <arg name="MonitoredSubject" type="INT64U" optional="false"/>
- <arg name="Key" type="OCTET_STRING" length="16" optional="false"/>
- <arg name="VerificationKey" type="OCTET_STRING" length="16" optional="true"/>
+ <arg name="MonitoredSubject" type="int64u" optional="false"/>
+ <arg name="Key" type="octet_string" length="16" optional="false"/>
+ <arg name="VerificationKey" type="octet_string" length="16" optional="true"/>
<access op="invoke" privilege="manage"/>
</command>
<command source="server" code="0x01" name="RegisterClientResponse" optional="false" disableDefaultResponse="true">
<description> RegisterClient response command </description>
- <arg name="ICDCounter" type="INT32U" isNullable="false"/>
+ <arg name="ICDCounter" type="int32u" isNullable="false"/>
</command>
<command source="client" code="0x02" name="UnregisterClient" isFabricScoped="true" optional="true">
<description> Unregister a client from an end device </description>
<arg name="CheckInNodeID" type="node_id"/>
- <arg name="VerificationKey" type="OCTET_STRING" length="16" optional="true"/>
+ <arg name="VerificationKey" type="octet_string" length="16" optional="true"/>
<access op="invoke" privilege="manage"/>
</command>
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 3348e15..b64eb77 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="IdentifyTypeEnum" type="ENUM8">
+ <enum name="IdentifyTypeEnum" type="enum8">
<cluster code="0x0003"/>
<item name="None" value="0x00"/>
<item name="LightOutput" value="0x01"/>
@@ -27,7 +27,7 @@
<item name="Actuator" value="0x05"/>
</enum>
- <enum name="EffectIdentifierEnum" type="ENUM8">
+ <enum name="EffectIdentifierEnum" type="enum8">
<cluster code="0x0003"/>
<item name="Blink" value="0x00"/>
<item name="Breathe" value="0x01"/>
@@ -37,7 +37,7 @@
<item name="StopEffect" value="0xFF"/>
</enum>
- <enum name="EffectVariantEnum" type="ENUM8">
+ <enum name="EffectVariantEnum" type="enum8">
<cluster code="0x0003"/>
<item name="Default" value="0x00"/>
</enum>
@@ -52,14 +52,14 @@
<server tick="false" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="4"/>
- <attribute side="server" code="0x0000" define="IDENTIFY_TIME" type="INT16U" writable="true" default="0x0" optional="false">IdentifyTime</attribute>
+ <attribute side="server" code="0x0000" define="IDENTIFY_TIME" type="int16u" writable="true" default="0x0" optional="false">IdentifyTime</attribute>
<attribute side="server" code="0x0001" define="IDENTIFY_TYPE" type="IdentifyTypeEnum" writable="false" default="0x00" optional="false">IdentifyType</attribute>
<command source="client" code="0x00" name="Identify" optional="false">
<description>
Command description for Identify
</description>
- <arg name="IdentifyTime" type="INT16U"/>
+ <arg name="IdentifyTime" type="int16u"/>
<access op="invoke" privilege="manage"/>
</command>
<command source="client" code="0x40" name="TriggerEffect" optional="true">
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 30070f0..b744964 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 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="3"/>
- <attribute side="server" code="0x0000" define="ILLUM_MEASURED_VALUE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" reportable="true" isNullable="true" default="0x0000" optional="false">MeasuredValue</attribute>
- <attribute side="server" code="0x0001" define="ILLUM_MIN_MEASURED_VALUE" type="INT16U" min="0x0001" max="0xFFFD" writable="false" isNullable="true" optional="false">MinMeasuredValue</attribute>
- <attribute side="server" code="0x0002" define="ILLUM_MAX_MEASURED_VALUE" type="INT16U" min="0x0002" max="0xFFFE" writable="false" isNullable="true" optional="false">MaxMeasuredValue</attribute>
- <attribute side="server" code="0x0003" define="ILLUM_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" optional="true" >Tolerance</attribute>
+ <attribute side="server" code="0x0000" define="ILLUM_MEASURED_VALUE" type="int16u" min="0x0000" max="0xFFFF" writable="false" reportable="true" isNullable="true" default="0x0000" optional="false">MeasuredValue</attribute>
+ <attribute side="server" code="0x0001" define="ILLUM_MIN_MEASURED_VALUE" type="int16u" min="0x0001" max="0xFFFD" writable="false" isNullable="true" optional="false">MinMeasuredValue</attribute>
+ <attribute side="server" code="0x0002" define="ILLUM_MAX_MEASURED_VALUE" type="int16u" min="0x0002" max="0xFFFE" writable="false" isNullable="true" optional="false">MaxMeasuredValue</attribute>
+ <attribute side="server" code="0x0003" define="ILLUM_TOLERANCE" type="int16u" min="0x0000" max="0x0800" writable="false" optional="true" >Tolerance</attribute>
<attribute side="server" code="0x0004" define="ILLUM_LIGHT_SENSOR_TYPE" type="LightSensorTypeEnum" min="0x00" max="0xFF" writable="false" isNullable="true" default="0xFF" optional="true" >LightSensorType</attribute>
</cluster>
- <enum name="LightSensorTypeEnum" type="ENUM8">
+ <enum name="LightSensorTypeEnum" type="enum8">
<cluster code="0x0400"/>
<item name="Photodiode" value="0x00"/>
<item name="CMOS" value="0x01"/>
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 68ea66b..37fdfec 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 @@
</cluster>
- <enum name="KeypadInputStatusEnum" type="ENUM8">
+ <enum name="KeypadInputStatusEnum" type="enum8">
<cluster code="0x0509"/>
<item name="Success" value="0x00"/>
<item name="UnsupportedKey" value="0x01"/>
<item name="InvalidKeyInCurrentState" value="0x02"/>
</enum>
- <enum name="CecKeyCode" type="ENUM8">
+ <enum name="CecKeyCode" type="enum8">
<cluster code="0x0509"/>
<item name="Select" value="0x00"/>
<item name="Up" value="0x01"/>
@@ -140,7 +140,7 @@
<item name="Data" value="0x76"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0509"/>
<field name="NavigationKeyCodes" mask="0x1"/>
<field name="LocationKeys" mask="0x2"/>
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 95eb512..0747c2f 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="ModeTag" type="ENUM16">
+ <enum name="ModeTag" type="enum16">
<cluster code="0x0051"/>
<item value="0x4000" name="Normal"/>
<item value="0x4001" name="Delicate"/>
@@ -35,9 +35,9 @@
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
<!-- Base data types -->
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Commands -->
<command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">
@@ -45,15 +45,15 @@
This command is used to change device modes.
On receipt of this command the device SHALL respond with a ChangeToModeResponse command.
</description>
- <arg name="NewMode" type="INT8U" optional="false"/>
+ <arg name="NewMode" type="int8u" optional="false"/>
</command>
<command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">
<description>
This command is sent by the device on receipt of the ChangeToModeWithStatus command.
</description>
- <arg name="Status" type="ENUM8" optional="false"/>
- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>
+ <arg name="Status" type="enum8" optional="false"/>
+ <arg name="StatusText" type="char_string" lenght="64" optional="true"/>
</command>
</cluster>
</configurator>
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 85bfb61..b0f5620 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 @@
<configurator>
<domain name="General"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0008"/>
<field name="OnOff" mask="0x1"/>
<field name="Lighting" mask="0x2"/>
<field name="Frequency" mask="0x4"/>
</bitmap>
- <enum name="MoveMode" type="ENUM8">
+ <enum name="MoveMode" type="enum8">
<cluster code="0x0008"/>
<item name="Up" value="0x0"/>
<item name="Down" value="0x1"/>
</enum>
- <enum name="StepMode" type="ENUM8">
+ <enum name="StepMode" type="enum8">
<cluster code="0x0008"/>
<item name="Up" value="0x0"/>
<item name="Down" value="0x1"/>
</enum>
- <bitmap name="LevelControlOptions" type="BITMAP8">
+ <bitmap name="LevelControlOptions" type="bitmap8">
<cluster code="0x0008"/>
<field name="ExecuteIfOff" mask="0x1"/>
<field name="CoupleColorTempToLevel" mask="0x02"/>
@@ -54,21 +54,21 @@
<globalAttribute side="either" code="0xFFFD" value="5"/>
- <attribute side="server" code="0x0000" define="CURRENT_LEVEL" type="INT8U" isNullable="true" writable="false" default="0x00" optional="false">CurrentLevel</attribute>
- <attribute side="server" code="0x0001" define="LEVEL_CONTROL_REMAINING_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">RemainingTime</attribute>
- <attribute side="server" code="0x0002" define="MINIMUM_LEVEL" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">MinLevel</attribute>
- <attribute side="server" code="0x0003" define="MAXIMUM_LEVEL" type="INT8U" min="0x00" max="0xFF" writable="false" default="0xFE" optional="true">MaxLevel</attribute>
- <attribute side="server" code="0x0004" define="CURRENT_FREQUENCY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">CurrentFrequency</attribute>
- <attribute side="server" code="0x0005" define="MIN_FREQUENCY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">MinFrequency</attribute>
- <attribute side="server" code="0x0006" define="MAX_FREQUENCY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">MaxFrequency</attribute>
+ <attribute side="server" code="0x0000" define="CURRENT_LEVEL" type="int8u" isNullable="true" writable="false" default="0x00" optional="false">CurrentLevel</attribute>
+ <attribute side="server" code="0x0001" define="LEVEL_CONTROL_REMAINING_TIME" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">RemainingTime</attribute>
+ <attribute side="server" code="0x0002" define="MINIMUM_LEVEL" type="int8u" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">MinLevel</attribute>
+ <attribute side="server" code="0x0003" define="MAXIMUM_LEVEL" type="int8u" min="0x00" max="0xFF" writable="false" default="0xFE" optional="true">MaxLevel</attribute>
+ <attribute side="server" code="0x0004" define="CURRENT_FREQUENCY" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">CurrentFrequency</attribute>
+ <attribute side="server" code="0x0005" define="MIN_FREQUENCY" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">MinFrequency</attribute>
+ <attribute side="server" code="0x0006" define="MAX_FREQUENCY" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">MaxFrequency</attribute>
- <attribute side="server" code="0x0010" define="ON_OFF_TRANSITION_TIME" type="INT16U" writable="true" default="0x0000" optional="true">OnOffTransitionTime</attribute>
- <attribute side="server" code="0x0011" define="ON_LEVEL" type="INT8U" isNullable="true" writable="true" optional="false">OnLevel</attribute>
- <attribute side="server" code="0x0012" define="ON_TRANSITION_TIME" type="INT16U" isNullable="true" writable="true" optional="true">OnTransitionTime</attribute>
- <attribute side="server" code="0x0013" define="OFF_TRANSITION_TIME" type="INT16U" isNullable="true" writable="true" optional="true">OffTransitionTime</attribute>
- <attribute side="server" code="0x0014" define="DEFAULT_MOVE_RATE" type="INT8U" isNullable="true" writable="true" optional="true">DefaultMoveRate</attribute>
+ <attribute side="server" code="0x0010" define="ON_OFF_TRANSITION_TIME" type="int16u" writable="true" default="0x0000" optional="true">OnOffTransitionTime</attribute>
+ <attribute side="server" code="0x0011" define="ON_LEVEL" type="int8u" isNullable="true" writable="true" optional="false">OnLevel</attribute>
+ <attribute side="server" code="0x0012" define="ON_TRANSITION_TIME" type="int16u" isNullable="true" writable="true" optional="true">OnTransitionTime</attribute>
+ <attribute side="server" code="0x0013" define="OFF_TRANSITION_TIME" type="int16u" isNullable="true" writable="true" optional="true">OffTransitionTime</attribute>
+ <attribute side="server" code="0x0014" define="DEFAULT_MOVE_RATE" type="int8u" isNullable="true" writable="true" optional="true">DefaultMoveRate</attribute>
<attribute side="server" code="0x000F" define="OPTIONS" type="LevelControlOptions" min="0x00" max="0x03" writable="true" default="0x00" optional="false">Options</attribute>
- <attribute side="server" code="0x4000" define="START_UP_CURRENT_LEVEL" type="INT8U" isNullable="true" writable="true" optional="true">
+ <attribute side="server" code="0x4000" define="START_UP_CURRENT_LEVEL" type="int8u" isNullable="true" writable="true" optional="true">
<description>StartUpCurrentLevel</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
@@ -78,8 +78,8 @@
<description>
Command description for MoveToLevel
</description>
- <arg name="Level" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" isNullable="true"/>
+ <arg name="Level" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -89,7 +89,7 @@
Command description for Move
</description>
<arg name="MoveMode" type="MoveMode"/>
- <arg name="Rate" type="INT8U" isNullable="true"/>
+ <arg name="Rate" type="int8u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -99,8 +99,8 @@
Command description for Step
</description>
<arg name="StepMode" type="StepMode"/>
- <arg name="StepSize" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" isNullable="true"/>
+ <arg name="StepSize" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -117,8 +117,8 @@
<description>
Command description for MoveToLevelWithOnOff
</description>
- <arg name="Level" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" isNullable="true"/>
+ <arg name="Level" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -128,7 +128,7 @@
Command description for MoveWithOnOff
</description>
<arg name="MoveMode" type="MoveMode"/>
- <arg name="Rate" type="INT8U" isNullable="true"/>
+ <arg name="Rate" type="int8u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -138,8 +138,8 @@
Command description for StepWithOnOff
</description>
<arg name="StepMode" type="StepMode"/>
- <arg name="StepSize" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" isNullable="true"/>
+ <arg name="StepSize" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" isNullable="true"/>
<arg name="OptionsMask" type="LevelControlOptions"/>
<arg name="OptionsOverride" type="LevelControlOptions"/>
</command>
@@ -157,7 +157,7 @@
Change the currrent frequency to the provided one, or a close
approximation if the exact provided one is not possible.
</description>
- <arg name="Frequency" type="INT16U"/>
+ <arg name="Frequency" type="int16u"/>
</command>
</cluster>
</configurator>
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 66e13fc..0c69e5e 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 @@
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</description>
<!-- Base data types -->
- <attribute side="server" code="0x00" define="ACTIVE_LOCALE" type="CHAR_STRING" length="35" writable="true" optional="false">ActiveLocale</attribute>
- <attribute side="server" code="0x01" define="SUPPORTED_LOCALES" type="ARRAY" entryType="CHAR_STRING" length="254" writable="false" optional="false">SupportedLocales</attribute>
+ <attribute side="server" code="0x00" define="ACTIVE_LOCALE" type="char_string" length="35" writable="true" optional="false">ActiveLocale</attribute>
+ <attribute side="server" code="0x01" define="SUPPORTED_LOCALES" type="ARRAY" entryType="char_string" length="254" writable="false" optional="false">SupportedLocales</attribute>
</cluster>
</configurator>
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 d390e79..e2841a1 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 @@
<!-- TODO: Add feature map once it is supported -->
<description>This cluster provides an interface for controlling the Input Selector on a media device such as a TV.</description>
<attribute side="server" code="0x0000" define="MEDIA_INPUT_LIST" type="ARRAY" entryType="InputInfoStruct" length="254" writable="false" optional="false">InputList</attribute>
- <attribute side="server" code="0x0001" define="MEDIA_INPUT_CURRENT_INPUT" type="INT8U" default="0x00" min="0x00" max="0xFF" writable="false" optional="false">CurrentInput</attribute>
+ <attribute side="server" code="0x0001" define="MEDIA_INPUT_CURRENT_INPUT" type="int8u" default="0x00" min="0x00" max="0xFF" writable="false" optional="false">CurrentInput</attribute>
<command source="client" code="0x00" name="SelectInput" optional="false">
<description>Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List.</description>
- <arg name="Index" type="INT8U"/>
+ <arg name="Index" type="int8u"/>
</command>
<command source="client" code="0x01" name="ShowInputStatus" optional="false">
@@ -43,21 +43,21 @@
<command source="client" code="0x03" name="RenameInput" optional="true">
<description>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. </description>
- <arg name="Index" type="INT8U"/>
- <arg name="Name" type="CHAR_STRING"/>
+ <arg name="Index" type="int8u"/>
+ <arg name="Name" type="char_string"/>
</command>
</cluster>
<struct name="InputInfoStruct">
<cluster code="0x0507"/>
- <item name="Index" type="INT8U"/>
+ <item name="Index" type="int8u"/>
<item name="InputType" type="InputTypeEnum"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
- <item name="Description" type="CHAR_STRING" length="32"/>
+ <item name="Name" type="char_string" length="32"/>
+ <item name="Description" type="char_string" length="32"/>
</struct>
- <enum name="InputTypeEnum" type="ENUM8">
+ <enum name="InputTypeEnum" type="enum8">
<cluster code="0x0507"/>
<item name="Internal" value="0x00"/>
<item name="Aux" value="0x01"/>
@@ -73,7 +73,7 @@
<item name="Other" value="0x0B"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0507"/>
<field name="NameUpdates" mask="0x1"/>
</bitmap>
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 0444bdf..ecf7e3c 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 @@
<globalAttribute side="server" code="0xFFFC" value="0" />
<attribute side="server" code="0x0000" define="MEDIA_PLAYBACK_STATE" type="PlaybackStateEnum" min="0x00" max="0x03" default="0x00" writable="false" optional="false">CurrentState</attribute>
- <attribute side="server" code="0x0001" define="MEDIA_PLAYBACK_START_TIME" type="EPOCH_US" min="0x00" default="0x00" writable="false" isNullable="true" optional="true">StartTime</attribute>
- <attribute side="server" code="0x0002" define="MEDIA_PLAYBACK_DURATION" type="INT64U" min="0x00" default="0" writable="false" isNullable="true" optional="true">Duration</attribute>
+ <attribute side="server" code="0x0001" define="MEDIA_PLAYBACK_START_TIME" type="epoch_us" min="0x00" default="0x00" writable="false" isNullable="true" optional="true">StartTime</attribute>
+ <attribute side="server" code="0x0002" define="MEDIA_PLAYBACK_DURATION" type="int64u" min="0x00" default="0" writable="false" isNullable="true" optional="true">Duration</attribute>
<attribute side="server" code="0x0003" define="MEDIA_PLAYBACK_PLAYBACK_POSITION" type="PlaybackPositionStruct" writable="false" isNullable="true" optional="true">SampledPosition</attribute>
<attribute side="server" code="0x0004" define="MEDIA_PLAYBACK_PLAYBACK_SPEED" type="single" min="0x00" default="0" writable="false" optional="true">PlaybackSpeed</attribute>
- <attribute side="server" code="0x0005" define="MEDIA_PLAYBACK_PLAYBACK_SEEK_RANGE_END" type="INT64U" min="0x00" writable="false" isNullable="true" optional="true">SeekRangeEnd</attribute>
- <attribute side="server" code="0x0006" define="MEDIA_PLAYBACK_PLAYBACK_SEEK_RANGE_START" type="INT64U" min="0x00" writable="false" isNullable="true" optional="true">SeekRangeStart</attribute>
+ <attribute side="server" code="0x0005" define="MEDIA_PLAYBACK_PLAYBACK_SEEK_RANGE_END" type="int64u" min="0x00" writable="false" isNullable="true" optional="true">SeekRangeEnd</attribute>
+ <attribute side="server" code="0x0006" define="MEDIA_PLAYBACK_PLAYBACK_SEEK_RANGE_START" type="int64u" min="0x00" writable="false" isNullable="true" optional="true">SeekRangeStart</attribute>
<command source="client" code="0x00" name="Play" response="PlaybackResponse" optional="false">
@@ -69,23 +69,23 @@
<command source="client" code="0x08" name="SkipForward" response="PlaybackResponse" optional="true">
<description>Upon receipt, this SHALL Skip forward in the media by the given number of seconds, using the data as follows:</description>
- <arg name="DeltaPositionMilliseconds" type="INT64U"/>
+ <arg name="DeltaPositionMilliseconds" type="int64u"/>
</command>
<command source="client" code="0x09" name="SkipBackward" response="PlaybackResponse" optional="true">
<description>Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows:</description>
- <arg name="DeltaPositionMilliseconds" type="INT64U"/>
+ <arg name="DeltaPositionMilliseconds" type="int64u"/>
</command>
<command source="client" code="0x0B" name="Seek" response="PlaybackResponse" optional="true">
<description>Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows:</description>
- <arg name="position" type="INT64U"/>
+ <arg name="position" type="int64u"/>
</command>
<command source="server" code="0x0A" name="PlaybackResponse" optional="false">
<description>This command SHALL be generated in response to various Playback Request commands.</description>
<arg name="Status" type="MediaPlaybackStatusEnum"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
</cluster>
@@ -93,10 +93,10 @@
<struct name="PlaybackPositionStruct">
<cluster code="0x0506"/>
<item name="UpdatedAt" type="epoch_us"/>
- <item name="Position" type="INT64U" isNullable="true"/>
+ <item name="Position" type="int64u" isNullable="true"/>
</struct>
- <enum name="PlaybackStateEnum" type="ENUM8">
+ <enum name="PlaybackStateEnum" type="enum8">
<cluster code="0x0506"/>
<item name="Playing" value="0x00"/>
<item name="Paused" value="0x01"/>
@@ -104,7 +104,7 @@
<item name="Buffering" value="0x03"/>
</enum>
- <enum name="MediaPlaybackStatusEnum" type="ENUM8">
+ <enum name="MediaPlaybackStatusEnum" type="enum8">
<cluster code="0x0506"/>
<item name="Success" value="0x00"/>
<item name="InvalidStateForCommand" value="0x01"/>
@@ -114,7 +114,7 @@
<item name="SeekOutOfRange" value="0x05"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0506"/>
<field name="AdvancedSeek" mask="0x1"/>
<field name="VariableSpeed" mask="0x2"/>
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 8ffee46..9b22387 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 @@
<cluster code="0x0059"/>
<!-- MfgCode has been deprecated -->
<item name="MfgCode" type="vendor_id" optional="true"/>
- <item name="Value" type="ENUM16" optional="false"/>
+ <item name="Value" type="enum16" optional="false"/>
</struct>
<struct name="ModeOptionStruct">
@@ -40,8 +40,8 @@
<cluster code="0x0054"/>
<cluster code="0x0055"/>
<cluster code="0x0059"/>
- <item name="Label" type="CHAR_STRING" length="64" optional="false"/>
- <item name="Mode" type="INT8U" optional="false"/>
+ <item name="Label" type="char_string" length="64" optional="false"/>
+ <item name="Mode" type="int8u" optional="false"/>
<item name="ModeTags" type="ModeTagStruct" array="true" length="8" optional="false"/>
</struct>
@@ -56,9 +56,9 @@
<!-- <globalAttribute side="either" code="0xFFFD" value="2"/>-->
<!-- <!– Base data types –>-->
<!-- <attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" storage="external" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>-->
-<!-- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" storage="external" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>-->
-<!-- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" storage="external" writable="true" optional="true" isNullable="true">StartUpMode</attribute>-->
-<!-- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" storage="external" writable="true" optional="true" isNullable="true">OnMode</attribute>-->
+<!-- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" storage="external" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>-->
+<!-- <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" storage="external" writable="true" optional="true" isNullable="true">StartUpMode</attribute>-->
+<!-- <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" storage="external" writable="true" optional="true" isNullable="true">OnMode</attribute>-->
<!-- <!– Commands –>-->
<!-- <command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">-->
@@ -66,19 +66,19 @@
<!-- This command is used to change device modes.-->
<!-- On receipt of this command the device SHALL respond with a ChangeToModeResponse command.-->
<!-- </description>-->
-<!-- <arg name="NewMode" type="INT8U" optional="false"/>-->
+<!-- <arg name="NewMode" type="int8u" optional="false"/>-->
<!-- </command>-->
<!-- <command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">-->
<!-- <description>-->
<!-- This command is sent by the device on receipt of the ChangeToModeWithStatus command.-->
<!-- </description>-->
-<!-- <arg name="Status" type="ENUM8" optional="false"/>-->
-<!-- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>-->
+<!-- <arg name="Status" type="enum8" optional="false"/>-->
+<!-- <arg name="StatusText" type="char_string" lenght="64" optional="true"/>-->
<!-- </command>-->
<!-- </cluster>-->
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<!-- <cluster code="0x..."/>-->
<cluster code="0x0051"/>
<cluster code="0x0052"/>
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 76b056a..323f12e 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 @@
<struct name="SemanticTagStruct">
<cluster code="0x0050"/>
<item name="MfgCode" type="vendor_id" optional="false"/>
- <item name="Value" type="ENUM16" optional="false"/>
+ <item name="Value" type="enum16" optional="false"/>
</struct>
<struct name="ModeOptionStruct">
<cluster code="0x0050"/>
- <item name="Label" type="CHAR_STRING" length="64" optional="false"/>
- <item name="Mode" type="INT8U" optional="false"/>
+ <item name="Label" type="char_string" length="64" optional="false"/>
+ <item name="Mode" type="int8u" optional="false"/>
<item name="SemanticTags" type="SemanticTagStruct" array="true" length="64" optional="false"/>
</struct>
@@ -42,24 +42,24 @@
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
<!-- Base data types -->
- <attribute side="server" code="0x0000" define="MODE_DESCRIPTION" type="CHAR_STRING" length="64" writable="false" optional="false" isNullable="false">Description</attribute>
- <attribute side="server" code="0x0001" define="STANDARD_NAMESPACE" type="ENUM16" writable="false" optional="false" isNullable="true">StandardNamespace</attribute>
+ <attribute side="server" code="0x0000" define="MODE_DESCRIPTION" type="char_string" length="64" writable="false" optional="false" isNullable="false">Description</attribute>
+ <attribute side="server" code="0x0001" define="STANDARD_NAMESPACE" type="enum16" writable="false" optional="false" isNullable="true">StandardNamespace</attribute>
<attribute side="server" code="0x0002" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" length="255" writable="false" optional="false" isNullable="false">SupportedModes</attribute>
- <attribute side="server" code="0x0003" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0004" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0005" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0003" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0004" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0005" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Test Commands -->
<command source="client" code="0x00" name="ChangeToMode" optional="false">
<description>
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.
</description>
- <arg name="NewMode" type="INT8U" />
+ <arg name="NewMode" type="int8u" />
</command>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0050"/>
<field name="OnOff" mask="0x1"/>
</bitmap>
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 b079143..14365b6 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 @@
-->
<configurator>
<domain name="CHIP" spec="chip-0.7" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
- <enum name="NetworkCommissioningStatusEnum" type="ENUM8">
+ <enum name="NetworkCommissioningStatusEnum" type="enum8">
<cluster code="0x0031"/>
<item name="Success" value="0x0"/>
<item name="OutOfRange" value="0x1"/>
@@ -32,7 +32,7 @@
<item name="IPBindFailed" value="0xb"/>
<item name="UnknownError" value="0xc"/>
</enum>
- <enum name="WiFiBandEnum" type="ENUM8">
+ <enum name="WiFiBandEnum" type="enum8">
<cluster code="0x0031"/>
<item name="2G4" value="0x0"/>
<item name="3G65" value="0x1"/>
@@ -41,7 +41,7 @@
<item name="60G" value="0x4"/>
<item name="1G" value="0x5"/>
</enum>
- <bitmap name="WiFiSecurityBitmap" type="BITMAP8">
+ <bitmap name="WiFiSecurityBitmap" type="bitmap8">
<cluster code="0x0031"/>
<field name="Unencrypted" mask="0x1"/>
<field name="WEP" mask="0x2"/>
@@ -52,27 +52,27 @@
<struct name="WiFiInterfaceScanResultStruct">
<cluster code="0x0031"/>
<item name="Security" type="WiFiSecurityBitmap"/>
- <item name="SSID" type="OCTET_STRING" length="32"/>
- <item name="BSSID" type="OCTET_STRING" length="6"/>
- <item name="Channel" type="INT16U"/>
+ <item name="SSID" type="octet_string" length="32"/>
+ <item name="BSSID" type="octet_string" length="6"/>
+ <item name="Channel" type="int16u"/>
<item name="WiFiBand" type="WiFiBandEnum"/>
- <item name="RSSI" type="INT8S"/>
+ <item name="RSSI" type="int8s"/>
</struct>
<struct name="ThreadInterfaceScanResultStruct">
<cluster code="0x0031"/>
- <item name="PanId" type="INT16U"/>
- <item name="ExtendedPanId" type="INT64U"/>
- <item name="NetworkName" type="CHAR_STRING" length="16"/>
- <item name="Channel" type="INT16U"/>
- <item name="Version" type="INT8U"/>
- <item name="ExtendedAddress" type="OCTET_STRING" length="8"/> <!-- Note: hwadr is not supported yet, use its base type (octet_string) here -->
- <item name="RSSI" type="INT8S"/>
- <item name="LQI" type="INT8U"/>
+ <item name="PanId" type="int16u"/>
+ <item name="ExtendedPanId" type="int64u"/>
+ <item name="NetworkName" type="char_string" length="16"/>
+ <item name="Channel" type="int16u"/>
+ <item name="Version" type="int8u"/>
+ <item name="ExtendedAddress" type="octet_string" length="8"/> <!-- Note: hwadr is not supported yet, use its base type (octet_string) here -->
+ <item name="RSSI" type="int8s"/>
+ <item name="LQI" type="int8u"/>
</struct>
<struct name="NetworkInfoStruct">
<cluster code="0x0031"/>
- <item name="NetworkID" type="OCTET_STRING" length="32"/>
- <item name="Connected" type="BOOLEAN"/>
+ <item name="NetworkID" type="octet_string" length="32"/>
+ <item name="Connected" type="boolean"/>
</struct>
<cluster>
@@ -84,7 +84,7 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
- <attribute side="server" code="0x0000" define="MAX_NETWORKS" type="INT8U" writable="false" optional="false">
+ <attribute side="server" code="0x0000" define="MAX_NETWORKS" type="int8u" writable="false" optional="false">
<description>MaxNetworks</description>
<access op="read" privilege="administer"/>
</attribute>
@@ -92,9 +92,9 @@
<description>Networks</description>
<access op="read" privilege="administer"/>
</attribute>
- <attribute side="server" code="0x0002" define="SCAN_MAX_TIME_SECONDS" type="INT8U" writable="false" optional="true">ScanMaxTimeSeconds</attribute>
- <attribute side="server" code="0x0003" define="CONNECT_MAX_TIME_SECONDS" type="INT8U" writable="false" optional="true">ConnectMaxTimeSeconds</attribute>
- <attribute side="server" code="0x0004" define="INTERFACE_ENABLED" type="BOOLEAN" writable="true" optional="false">
+ <attribute side="server" code="0x0002" define="SCAN_MAX_TIME_SECONDS" type="int8u" writable="false" optional="true">ScanMaxTimeSeconds</attribute>
+ <attribute side="server" code="0x0003" define="CONNECT_MAX_TIME_SECONDS" type="int8u" writable="false" optional="true">ConnectMaxTimeSeconds</attribute>
+ <attribute side="server" code="0x0004" define="INTERFACE_ENABLED" type="boolean" writable="true" optional="false">
<description>InterfaceEnabled</description>
<access op="read" privilege="view"/>
<access op="write" privilege="administer"/>
@@ -103,74 +103,74 @@
<description>LastNetworkingStatus</description>
<access op="read" privilege="administer"/>
</attribute>
- <attribute side="server" code="0x0006" define="LAST_NETWORK_ID" type="OCTET_STRING" length="32" writable="false" optional="false" isNullable="true">
+ <attribute side="server" code="0x0006" define="LAST_NETWORK_ID" type="octet_string" length="32" writable="false" optional="false" isNullable="true">
<description>LastNetworkID</description>
<access op="read" privilege="administer"/>
</attribute>
- <attribute side="server" code="0x0007" define="LAST_CONNECT_ERROR_VALUE" type="INT32S" writable="false" optional="false" isNullable="true">
+ <attribute side="server" code="0x0007" define="LAST_CONNECT_ERROR_VALUE" type="int32s" writable="false" optional="false" isNullable="true">
<description>LastConnectErrorValue</description>
<access op="read" privilege="administer"/>
</attribute>
<command source="client" code="0x00" name="ScanNetworks" optional="false" response="ScanNetworksResponse" cli="chip network_commissioning scannetworks">
<description>Detemine the set of networks the device sees as available.</description>
- <arg name="SSID" type="OCTET_STRING" length="32" isNullable="true" optional="true"/>
- <arg name="Breadcrumb" type="INT64U" optional="true"/>
+ <arg name="SSID" type="octet_string" length="32" isNullable="true" optional="true"/>
+ <arg name="Breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x01" name="ScanNetworksResponse" optional="false" cli="chip network_commissioning scannetworksresponse">
<description>Relay the set of networks the device sees as available back to the client.</description>
<arg name="NetworkingStatus" type="NetworkCommissioningStatusEnum"/>
- <arg name="DebugText" type="CHAR_STRING" optional="true"/>
+ <arg name="DebugText" type="char_string" optional="true"/>
<arg name="WiFiScanResults" type="WiFiInterfaceScanResultStruct" array="true" optional="true"/>
<arg name="ThreadScanResults" type="ThreadInterfaceScanResultStruct" array="true" optional="true"/>
</command>
<command source="client" code="0x02" name="AddOrUpdateWiFiNetwork" optional="true" response="NetworkConfigResponse" cli="chip network_commissioning addorupdatewifinetwork">
<description>Add or update the credentials for a given Wi-Fi network.</description>
- <arg name="SSID" type="OCTET_STRING" length="32"/>
- <arg name="Credentials" type="OCTET_STRING" length="64"/>
- <arg name="breadcrumb" type="INT64U" optional="true"/>
+ <arg name="SSID" type="octet_string" length="32"/>
+ <arg name="Credentials" type="octet_string" length="64"/>
+ <arg name="breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="client" code="0x03" name="AddOrUpdateThreadNetwork" optional="true" response="NetworkConfigResponse" cli="chip network_commissioning addorupdatethreadnetwork">
<description>Add or update the credentials for a given Thread network.</description>
- <arg name="OperationalDataset" type="OCTET_STRING" length="254"/>
- <arg name="Breadcrumb" type="INT64U" optional="true"/>
+ <arg name="OperationalDataset" type="octet_string" length="254"/>
+ <arg name="Breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="client" code="0x04" name="RemoveNetwork" optional="false" response="NetworkConfigResponse" cli="chip network_commissioning removenetwork">
<description>Remove the definition of a given network (including its credentials).</description>
- <arg name="NetworkID" type="OCTET_STRING" length="32"/>
- <arg name="Breadcrumb" type="INT64U" optional="true"/>
+ <arg name="NetworkID" type="octet_string" length="32"/>
+ <arg name="Breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x05" name="NetworkConfigResponse" optional="true" cli="chip network_commissioning addwifiresponse">
<description>Response command for various commands that add/remove/modify network credentials.</description>
<arg name="NetworkingStatus" type="NetworkCommissioningStatusEnum"/>
- <arg name="DebugText" type="CHAR_STRING" length="512" optional="true" />
- <arg name="NetworkIndex" type="INT8U" optional="true" />
+ <arg name="DebugText" type="char_string" length="512" optional="true" />
+ <arg name="NetworkIndex" type="int8u" optional="true" />
</command>
<command source="client" code="0x06" name="ConnectNetwork" optional="false" response="ConnectNetworkResponse" cli="chip network_commissioning connectnetwork">
<description>Connect to the specified network, using previously-defined credentials.</description>
- <arg name="NetworkID" type="OCTET_STRING" length="32"/>
- <arg name="Breadcrumb" type="INT64U" optional="true"/>
+ <arg name="NetworkID" type="octet_string" length="32"/>
+ <arg name="Breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x07" name="ConnectNetworkResponse" optional="false" cli="chip network_commissioning connectnetworkresponse">
<description>Command that indicates whether we have succcessfully connected to a network.</description>
<arg name="NetworkingStatus" type="NetworkCommissioningStatusEnum"/>
- <arg name="DebugText" type="CHAR_STRING" optional="true"/>
- <arg name="ErrorValue" type="INT32S" isNullable="true"/>
+ <arg name="DebugText" type="char_string" optional="true"/>
+ <arg name="ErrorValue" type="int32s" isNullable="true"/>
</command>
<command source="client" code="0x08" name="ReorderNetwork" optional="false" response="NetworkConfigResponse" cli="chip network_commissioning connectnetwork">
<description>Modify the order in which networks will be presented in the Networks attribute.</description>
- <arg name="NetworkID" type="OCTET_STRING" length="32"/>
- <arg name="NetworkIndex" type="INT8U"/>
- <arg name="Breadcrumb" type="INT64U" optional="true"/>
+ <arg name="NetworkID" type="octet_string" length="32"/>
+ <arg name="NetworkIndex" type="int8u"/>
+ <arg name="Breadcrumb" type="int64u" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0031"/>
<field name="WiFiNetworkInterface" mask="0x1"/>
<field name="ThreadNetworkInterface" mask="0x2"/>
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 ec019f9..a174530 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 @@
<configurator>
<domain name="Measurement & Sensing"/>
- <bitmap name="OccupancyBitmap" type="BITMAP8">
+ <bitmap name="OccupancyBitmap" type="bitmap8">
<cluster code="0x0406"/>
<field name="Occupied" mask="0x1"/>
</bitmap>
- <enum name="OccupancySensorTypeEnum" type="ENUM8">
+ <enum name="OccupancySensorTypeEnum" type="enum8">
<cluster code="0x0406"/>
<item name="PIR" value="0x0"/>
<item name="Ultrasonic" value="0x1"/>
@@ -30,7 +30,7 @@
<item name="PhysicalContact" value="0x3"/>
</enum>
- <bitmap name="OccupancySensorTypeBitmap" type="BITMAP8">
+ <bitmap name="OccupancySensorTypeBitmap" type="bitmap8">
<cluster code="0x0406"/>
<field name="PIR" mask="0x01"/>
<field name="Ultrasonic" mask="0x02"/>
@@ -53,55 +53,55 @@
<attribute side="server" code="0x0001" define="OCCUPANCY_SENSOR_TYPE" type="OccupancySensorTypeEnum" min="0x00" max="0xFE" writable="false" optional="false">OccupancySensorType</attribute>
<attribute side="server" code="0x0002" define="OCCUPANCY_SENSOR_TYPE_BITMAP" type="OccupancySensorTypeBitmap" min="0x00" max="0x07" writable="false" optional="false">OccupancySensorTypeBitmap</attribute>
- <attribute side="server" code="0x0010" define="PIR_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0010" define="PIR_OCCUPIED_TO_UNOCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>PIROccupiedToUnoccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0011" define="PIR_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0011" define="PIR_UNOCCUPIED_TO_OCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>PIRUnoccupiedToOccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0012" define="PIR_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
+ <attribute side="server" code="0x0012" define="PIR_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="int8u" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
<description>PIRUnoccupiedToOccupiedThreshold</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0020" define="ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0020" define="ULTRASONIC_OCCUPIED_TO_UNOCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>UltrasonicOccupiedToUnoccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0021" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0021" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>UltrasonicUnoccupiedToOccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0022" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
+ <attribute side="server" code="0x0022" define="ULTRASONIC_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="int8u" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
<description>UltrasonicUnoccupiedToOccupiedThreshold</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0030" define="PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0030" define="PHYSICAL_CONTACT_OCCUPIED_TO_UNOCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>PhysicalContactOccupiedToUnoccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0031" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY" type="INT16U" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0031" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_DELAY" type="int16u" writable="true" default="0x0000" optional="true">
<description>PhysicalContactUnoccupiedToOccupiedDelay</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0032" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="INT8U" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
+ <attribute side="server" code="0x0032" define="PHYSICAL_CONTACT_UNOCCUPIED_TO_OCCUPIED_THRESHOLD" type="int8u" min="0x01" max="0xFE" writable="true" default="0x01" optional="true">
<description>PhysicalContactUnoccupiedToOccupiedThreshold</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
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 91af71d..20074f4 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 @@
<configurator>
<domain name="General"/>
- <enum name="StartUpOnOffEnum" type="ENUM8">
+ <enum name="StartUpOnOffEnum" type="enum8">
<cluster code="0x0006"/>
<item name="Off" value="0x00"/>
<item name="On" value="0x01"/>
@@ -42,7 +42,7 @@
<item name="DyingLightFadeOff" value="0x00"/>
</enum>
- <bitmap name="OnOffControlBitmap" type="BITMAP8">
+ <bitmap name="OnOffControlBitmap" type="bitmap8">
<cluster code="0x0006"/>
<field name="AcceptOnlyWhenOn" mask="0x01"/>
</bitmap>
@@ -95,7 +95,7 @@
</command>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0006" />
<field name="Lighting" mask="0x01" />
<field name="DeadFrontBehavior" mask="0x02" />
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 30ef785..0590efb 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 @@
<struct name="FabricDescriptorStruct" isFabricScoped="true">
<cluster code="0x003E"/>
- <item fieldId="1" name="RootPublicKey" type="OCTET_STRING" length="65"/>
- <item fieldId="2" name="VendorID" type="VENDOR_ID"/>
- <item fieldId="3" name="FabricID" type="FABRIC_ID"/>
- <item fieldId="4" name="NodeID" type="NODE_ID"/>
- <item fieldId="5" name="Label" type="CHAR_STRING" length="32"/>
+ <item fieldId="1" name="RootPublicKey" type="octet_string" length="65"/>
+ <item fieldId="2" name="VendorID" type="vendor_id"/>
+ <item fieldId="3" name="FabricID" type="fabric_id"/>
+ <item fieldId="4" name="NodeID" type="node_id"/>
+ <item fieldId="5" name="Label" type="char_string" length="32"/>
</struct>
- <enum name="NodeOperationalCertStatusEnum" type="ENUM8">
+ <enum name="NodeOperationalCertStatusEnum" type="enum8">
<cluster code="0x003E"/>
<item name="OK" value="0x00"/>
<item name="InvalidPublicKey" value="0x01"/>
@@ -42,11 +42,11 @@
<struct name="NOCStruct" isFabricScoped="true">
<cluster code="0x003E"/>
- <item fieldId="1" name="NOC" type="OCTET_STRING" isFabricSensitive="true"/>
- <item fieldId="2" name="ICAC" type="OCTET_STRING" isNullable="true" isFabricSensitive="true"/>
+ <item fieldId="1" name="NOC" type="octet_string" isFabricSensitive="true"/>
+ <item fieldId="2" name="ICAC" type="octet_string" isNullable="true" isFabricSensitive="true"/>
</struct>
- <enum name="CertificateChainTypeEnum" type="ENUM8">
+ <enum name="CertificateChainTypeEnum" type="enum8">
<cluster code="0x003E"/>
<item name="DACCertificate" value="0x01"/>
<item name="PAICertificate" value="0x02"/>
@@ -64,21 +64,21 @@
<access op="read" privilege="administer"/>
</attribute>
<attribute side="server" code="0x0001" define="FABRICS" type="ARRAY" entryType="FabricDescriptorStruct" writable="false" optional="false">Fabrics</attribute>
- <attribute side="server" code="0x0002" define="SUPPORTED_FABRICS" type="INT8U" writable="false" min="5" max="254" optional="false">SupportedFabrics</attribute>
- <attribute side="server" code="0x0003" define="COMMISSIONED_FABRICS" type="INT8U" writable="false" optional="false">CommissionedFabrics</attribute>
- <attribute side="server" code="0x0004" define="TRUSTED_ROOT_CERTIFICATES" type="ARRAY" entryType="OCTET_STRING" writable="false" optional="false">TrustedRootCertificates</attribute>
- <attribute side="server" code="0x0005" define="CURRENT_FABRIC_INDEX" type="INT8U" writable="false" optional="false">CurrentFabricIndex</attribute>
+ <attribute side="server" code="0x0002" define="SUPPORTED_FABRICS" type="int8u" writable="false" min="5" max="254" optional="false">SupportedFabrics</attribute>
+ <attribute side="server" code="0x0003" define="COMMISSIONED_FABRICS" type="int8u" writable="false" optional="false">CommissionedFabrics</attribute>
+ <attribute side="server" code="0x0004" define="TRUSTED_ROOT_CERTIFICATES" type="ARRAY" entryType="octet_string" writable="false" optional="false">TrustedRootCertificates</attribute>
+ <attribute side="server" code="0x0005" define="CURRENT_FABRIC_INDEX" type="int8u" writable="false" optional="false">CurrentFabricIndex</attribute>
<command source="client" code="0x00" name="AttestationRequest" response="AttestationResponse" optional="false">
<description>Sender is requesting attestation information from the receiver.</description>
- <arg name="AttestationNonce" type="OCTET_STRING"/>
+ <arg name="AttestationNonce" type="octet_string"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="server" code="0x01" name="AttestationResponse" optional="false">
<description>An attestation information confirmation from the server.</description>
- <arg name="AttestationElements" type="OCTET_STRING"/>
- <arg name="AttestationSignature" type="OCTET_STRING"/>
+ <arg name="AttestationElements" type="octet_string"/>
+ <arg name="AttestationSignature" type="octet_string"/>
</command>
<command source="client" code="0x02" name="CertificateChainRequest" response="CertificateChainResponse" optional="false">
@@ -89,12 +89,12 @@
<command source="server" code="0x03" name="CertificateChainResponse" optional="false">
<description>A device attestation certificate (DAC) or product attestation intermediate (PAI) certificate from the server.</description>
- <arg name="Certificate" type="OCTET_STRING"/>
+ <arg name="Certificate" type="octet_string"/>
</command>
<command source="client" code="0x04" name="CSRRequest" response="CSRResponse" optional="false">
<description>Sender is requesting a certificate signing request (CSR) from the receiver.</description>
- <arg name="CSRNonce" type="OCTET_STRING"/>
+ <arg name="CSRNonce" type="octet_string"/>
<arg name="IsForUpdateNOC" type="boolean" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -102,24 +102,24 @@
<!-- TODO: Fix to match chip-spec:#3346 -->
<command source="server" code="0x05" name="CSRResponse" optional="false">
<description>A certificate signing request (CSR) from the server.</description>
- <arg name="NOCSRElements" type="OCTET_STRING"/>
- <arg name="AttestationSignature" type="OCTET_STRING"/>
+ <arg name="NOCSRElements" type="octet_string"/>
+ <arg name="AttestationSignature" type="octet_string"/>
</command>
<command source="client" code="0x06" name="AddNOC" response="NOCResponse" optional="false">
<description>Sender is requesting to add the new node operational certificates.</description>
- <arg name="NOCValue" type="OCTET_STRING"/>
- <arg name="ICACValue" type="OCTET_STRING" optional="true"/>
- <arg name="IPKValue" type="OCTET_STRING"/>
- <arg name="CaseAdminSubject" type="Int64u"/>
- <arg name="AdminVendorId" type="VENDOR_ID"/>
+ <arg name="NOCValue" type="octet_string"/>
+ <arg name="ICACValue" type="octet_string" optional="true"/>
+ <arg name="IPKValue" type="octet_string"/>
+ <arg name="CaseAdminSubject" type="int64u"/>
+ <arg name="AdminVendorId" type="vendor_id"/>
<access op="invoke" privilege="administer"/>
</command>
<command source="client" code="0x07" name="UpdateNOC" response="NOCResponse" isFabricScoped="true" optional="false">
<description>Sender is requesting to update the node operational certificates.</description>
- <arg name="NOCValue" type="OCTET_STRING"/>
- <arg name="ICACValue" type="OCTET_STRING" optional="true"/>
+ <arg name="NOCValue" type="octet_string"/>
+ <arg name="ICACValue" type="octet_string" optional="true"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -127,12 +127,12 @@
<description>Response to AddNOC or UpdateNOC commands.</description>
<arg name="StatusCode" type="NodeOperationalCertStatusEnum"/>
<arg name="FabricIndex" type="fabric_idx" optional="true"/>
- <arg name="DebugText" type="CHAR_STRING" optional="true"/>
+ <arg name="DebugText" type="char_string" optional="true"/>
</command>
<command source="client" code="0x09" name="UpdateFabricLabel" response="NOCResponse" isFabricScoped="true" optional="false">
<description>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.</description>
- <arg name="Label" type="CHAR_STRING" length="32"/>
+ <arg name="Label" type="char_string" length="32"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -144,7 +144,7 @@
<command source="client" code="0x0b" name="AddTrustedRootCertificate" optional="false">
<description>This command SHALL add a Trusted Root CA Certificate, provided as its CHIP Certificate representation.</description>
- <arg name="RootCACertificate" type="OCTET_STRING"/>
+ <arg name="RootCACertificate" type="octet_string"/>
<access op="invoke" privilege="administer"/>
</command>
</cluster>
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 0a4c017..4b9b3ec 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="OperationalStateEnum" type="ENUM8">
+ <enum name="OperationalStateEnum" type="enum8">
<cluster code="0x0060"/>
<item name="Stopped" value="0x00"/>
<item name="Running" value="0x01"/>
@@ -25,7 +25,7 @@
<item name="Error" value="0x03"/>
</enum>
- <enum name="ErrorStateEnum" type="ENUM8">
+ <enum name="ErrorStateEnum" type="enum8">
<cluster code="0x0060"/>
<item name="NoError" value="0x00"/>
<item name="UnableToStartOrResume" value="0x01"/>
@@ -36,16 +36,16 @@
<struct name="OperationalStateStruct">
<cluster code="0x0060"/>
<cluster code="0x0061"/>
- <item name="OperationalStateID" type="ENUM8" optional="false"/>
- <item name="OperationalStateLabel" type="CHAR_STRING" optional="true" length="64"/>
+ <item name="OperationalStateID" type="enum8" optional="false"/>
+ <item name="OperationalStateLabel" type="char_string" optional="true" length="64"/>
</struct>
<struct name="ErrorStateStruct">
<cluster code="0x0060"/>
<cluster code="0x0061"/>
- <item name="ErrorStateID" type="ENUM8" optional="false" />
- <item name="ErrorStateLabel" type="CHAR_STRING" optional="true" length="64" />
- <item name="ErrorStateDetails" type="CHAR_STRING" optional="true" length="64" />
+ <item name="ErrorStateID" type="enum8" optional="false" />
+ <item name="ErrorStateLabel" type="char_string" optional="true" length="64" />
+ <item name="ErrorStateDetails" type="char_string" optional="true" length="64" />
</struct>
<cluster>
@@ -59,8 +59,8 @@
<globalAttribute side="server" code="0xFFFD" value="1" />
- <attribute side="server" code="0x0000" define="PHASE_LIST" type="ARRAY" entryType="CHAR_STRING" writable="false" isNullable="true" optional="false">PhaseList</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_PHASE" type="INT8U" min="0x00" max="0x1F" writable="false" isNullable="true" optional="false">CurrentPhase</attribute>
+ <attribute side="server" code="0x0000" define="PHASE_LIST" type="ARRAY" entryType="char_string" writable="false" isNullable="true" optional="false">PhaseList</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_PHASE" type="int8u" min="0x00" max="0x1F" writable="false" isNullable="true" optional="false">CurrentPhase</attribute>
<attribute side="server" code="0x0002" define="COUNTDOWN_TIME" type="elapsed_s" min="0x00" max="259200" writable="false" isNullable="true" optional="true">CountdownTime</attribute>
<attribute side="server" code="0x0003" define="OPERATIONAL_STATE_LIST" type="ARRAY" entryType="OperationalStateStruct" writable="false" optional="false">OperationalStateList</attribute>
<attribute side="server" code="0x0004" define="OPERATIONAL_STATE" type="OperationalStateEnum" writable="false" optional="false">OperationalState</attribute>
@@ -94,7 +94,7 @@
<event side="server" code="0x01" priority="info" name="OperationCompletion" optional="true">
<description>OperationCompletion</description>
- <field id="0" name="CompletionErrorCode" type="ENUM8" />
+ <field id="0" name="CompletionErrorCode" type="enum8" />
<field id="1" name="TotalOperationalTime" type="elapsed_s" isNullable="true" optional="true"/>
<field id="2" name="PausedTime" type="elapsed_s" isNullable="true" optional="true"/>
</event>
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 4943d0a..4498213 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="OperationalStateEnum" type="ENUM8">
+ <enum name="OperationalStateEnum" type="enum8">
<cluster code="0x0061"/>
<item name="SeekingCharger" value="0x40"/>
<item name="Charging" value="0x41"/>
<item name="Docked" value="0x42"/>
</enum>
- <enum name="ErrorStateEnum" type="ENUM8">
+ <enum name="ErrorStateEnum" type="enum8">
<cluster code="0x0061"/>
<item name="FailedToFindChargingDock" value="0x40"/>
<item name="Stuck" value="0x41"/>
@@ -47,8 +47,8 @@
<globalAttribute side="server" code="0xFFFD" value="1" />
- <attribute side="server" code="0x0000" define="PHASE_LIST" type="ARRAY" entryType="CHAR_STRING" writable="false" isNullable="true" optional="false">PhaseList</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_PHASE" type="INT8U" min="0x00" max="0x1F" writable="false" isNullable="true" optional="false">CurrentPhase</attribute>
+ <attribute side="server" code="0x0000" define="PHASE_LIST" type="ARRAY" entryType="char_string" writable="false" isNullable="true" optional="false">PhaseList</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_PHASE" type="int8u" min="0x00" max="0x1F" writable="false" isNullable="true" optional="false">CurrentPhase</attribute>
<attribute side="server" code="0x0002" define="COUNTDOWN_TIME" type="elapsed_s" min="0" max="259200" writable="false" isNullable="true" optional="true">CountdownTime</attribute>
<attribute side="server" code="0x0003" define="OPERATIONAL_STATE_LIST" type="ARRAY" entryType="OperationalStateStruct" writable="false" optional="false">OperationalStateList</attribute>
@@ -57,7 +57,7 @@
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.
-->
- <attribute side="server" code="0x0004" define="OPERATIONAL_STATE" type="ENUM8" writable="false" optional="false">OperationalState</attribute>
+ <attribute side="server" code="0x0004" define="OPERATIONAL_STATE" type="enum8" writable="false" optional="false">OperationalState</attribute>
<attribute side="server" code="0x0005" define="OPERATIONAL_ERROR" type="ErrorStateStruct" writable="false" optional="false">OperationalError</attribute>
<command source="client" code="0x00" name="Pause" response="OperationalCommandResponse" optional="true">
@@ -88,7 +88,7 @@
<event side="server" code="0x01" priority="info" name="OperationCompletion" optional="true">
<description>OperationCompletion</description>
- <field id="0" name="CompletionErrorCode" type="ENUM8" optional="false"/>
+ <field id="0" name="CompletionErrorCode" type="enum8" optional="false"/>
<field id="1" name="TotalOperationalTime" type="elapsed_s" isNullable="true" optional="true"/>
<field id="2" name="PausedTime" type="elapsed_s" isNullable="true" optional="true"/>
</event>
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 dd3edf4..d795b87 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 @@
<description>This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the Node.</description>
<attribute side="server" code="0x0000" define="POWER_SOURCE_STATUS" type="PowerSourceStatusEnum" writable="false">Status</attribute>
- <attribute side="server" code="0x0001" define="POWER_SOURCE_ORDER" type="INT8U" min="0x00" max="0xFF" writable="false">Order</attribute>
- <attribute side="server" code="0x0002" define="POWER_SOURCE_DESCRIPTION" type="CHAR_STRING" length="60" writable="false">Description</attribute>
+ <attribute side="server" code="0x0001" define="POWER_SOURCE_ORDER" type="int8u" min="0x00" max="0xFF" writable="false">Order</attribute>
+ <attribute side="server" code="0x0002" define="POWER_SOURCE_DESCRIPTION" type="char_string" length="60" writable="false">Description</attribute>
- <attribute side="server" code="0x0003" define="POWER_SOURCE_WIRED_ASSESSED_INPUT_VOLTAGE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">WiredAssessedInputVoltage</attribute>
- <attribute side="server" code="0x0004" define="POWER_SOURCE_WIRED_ASSESSED_INPUT_FREQUENCY" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true" isNullable="true">WiredAssessedInputFrequency</attribute>
+ <attribute side="server" code="0x0003" define="POWER_SOURCE_WIRED_ASSESSED_INPUT_VOLTAGE" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">WiredAssessedInputVoltage</attribute>
+ <attribute side="server" code="0x0004" define="POWER_SOURCE_WIRED_ASSESSED_INPUT_FREQUENCY" type="int16u" min="0x0000" max="0xFFFF" writable="false" optional="true" isNullable="true">WiredAssessedInputFrequency</attribute>
<attribute side="server" code="0x0005" define="POWER_SOURCE_WIRED_CURRENT_TYPE" type="WiredCurrentTypeEnum" writable="false" optional="true">WiredCurrentType</attribute>
- <attribute side="server" code="0x0006" define="POWER_SOURCE_WIRED_ASSESSED_CURRENT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">WiredAssessedCurrent</attribute>
- <attribute side="server" code="0x0007" define="POWER_SOURCE_WIRED_NOMINAL_VOLTAGE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">WiredNominalVoltage</attribute>
- <attribute side="server" code="0x0008" define="POWER_SOURCE_WIRED_MAXIMUM_CURRENT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">WiredMaximumCurrent</attribute>
- <attribute side="server" code="0x0009" define="POWER_SOURCE_WIRED_PRESENT" type="BOOLEAN" writable="false" optional="true">WiredPresent</attribute>
+ <attribute side="server" code="0x0006" define="POWER_SOURCE_WIRED_ASSESSED_CURRENT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">WiredAssessedCurrent</attribute>
+ <attribute side="server" code="0x0007" define="POWER_SOURCE_WIRED_NOMINAL_VOLTAGE" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">WiredNominalVoltage</attribute>
+ <attribute side="server" code="0x0008" define="POWER_SOURCE_WIRED_MAXIMUM_CURRENT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">WiredMaximumCurrent</attribute>
+ <attribute side="server" code="0x0009" define="POWER_SOURCE_WIRED_PRESENT" type="boolean" writable="false" optional="true">WiredPresent</attribute>
<attribute side="server" code="0x000A" define="POWER_SOURCE_ACTIVE_WIRED_FAULTS" type="ARRAY" entryType="WiredFaultEnum" length="8" writable="false" optional="true">ActiveWiredFaults</attribute>
- <attribute side="server" code="0x000B" define="POWER_SOURCE_BAT_VOLTAGE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatVoltage</attribute>
- <attribute side="server" code="0x000C" define="POWER_SOURCE_BAT_PERCENT_REMAINING" type="INT8U" min="0x00" max="0xC8" writable="false" optional="true" isNullable="true">BatPercentRemaining</attribute>
- <attribute side="server" code="0x000D" define="POWER_SOURCE_BAT_TIME_REMAINING" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatTimeRemaining</attribute>
+ <attribute side="server" code="0x000B" define="POWER_SOURCE_BAT_VOLTAGE" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatVoltage</attribute>
+ <attribute side="server" code="0x000C" define="POWER_SOURCE_BAT_PERCENT_REMAINING" type="int8u" min="0x00" max="0xC8" writable="false" optional="true" isNullable="true">BatPercentRemaining</attribute>
+ <attribute side="server" code="0x000D" define="POWER_SOURCE_BAT_TIME_REMAINING" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatTimeRemaining</attribute>
<attribute side="server" code="0x000E" define="POWER_SOURCE_BAT_CHARGE_LEVEL" type="BatChargeLevelEnum" writable="false" optional="true">BatChargeLevel</attribute>
- <attribute side="server" code="0x000F" define="POWER_SOURCE_BAT_REPLACEMENT_NEEDED" type="BOOLEAN" writable="false" optional="true">BatReplacementNeeded</attribute>
+ <attribute side="server" code="0x000F" define="POWER_SOURCE_BAT_REPLACEMENT_NEEDED" type="boolean" writable="false" optional="true">BatReplacementNeeded</attribute>
<attribute side="server" code="0x0010" define="POWER_SOURCE_BAT_REPLACEABILITY" type="BatReplaceabilityEnum" writable="false" optional="true">BatReplaceability</attribute>
- <attribute side="server" code="0x0011" define="POWER_SOURCE_BAT_PRESENT" type="BOOLEAN" writable="false" optional="true">BatPresent</attribute>
+ <attribute side="server" code="0x0011" define="POWER_SOURCE_BAT_PRESENT" type="boolean" writable="false" optional="true">BatPresent</attribute>
<attribute side="server" code="0x0012" define="POWER_SOURCE_ACTIVE_BAT_FAULTS" type="ARRAY" entryType="BatFaultEnum" length="8" writable="false" optional="true">ActiveBatFaults</attribute>
- <attribute side="server" code="0x0013" define="POWER_SOURCE_BAT_REPLACEMENT_DESCRIPTION" type="CHAR_STRING" length="60" writable="false" optional="true">BatReplacementDescription</attribute>
+ <attribute side="server" code="0x0013" define="POWER_SOURCE_BAT_REPLACEMENT_DESCRIPTION" type="char_string" length="60" writable="false" optional="true">BatReplacementDescription</attribute>
<attribute side="server" code="0x0014" define="POWER_SOURCE_BAT_COMMON_DESIGNATION" type="BatCommonDesignationEnum" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">BatCommonDesignation</attribute>
- <attribute side="server" code="0x0015" define="POWER_SOURCE_BAT_ANSI_DESIGNATION" type="CHAR_STRING" length="20" writable="false" optional="true">BatANSIDesignation</attribute>
- <attribute side="server" code="0x0016" define="POWER_SOURCE_BAT_IEC_DESIGNATION" type="CHAR_STRING" length="20" writable="false" optional="true">BatIECDesignation</attribute>
+ <attribute side="server" code="0x0015" define="POWER_SOURCE_BAT_ANSI_DESIGNATION" type="char_string" length="20" writable="false" optional="true">BatANSIDesignation</attribute>
+ <attribute side="server" code="0x0016" define="POWER_SOURCE_BAT_IEC_DESIGNATION" type="char_string" length="20" writable="false" optional="true">BatIECDesignation</attribute>
<attribute side="server" code="0x0017" define="POWER_SOURCE_BAT_APPROVED_CHEMISTRY" type="BatApprovedChemistryEnum" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">BatApprovedChemistry</attribute>
- <attribute side="server" code="0x0018" define="POWER_SOURCE_BAT_CAPACITY" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">BatCapacity</attribute>
- <attribute side="server" code="0x0019" define="POWER_SOURCE_BAT_QUANTITY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">BatQuantity</attribute>
+ <attribute side="server" code="0x0018" define="POWER_SOURCE_BAT_CAPACITY" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">BatCapacity</attribute>
+ <attribute side="server" code="0x0019" define="POWER_SOURCE_BAT_QUANTITY" type="int8u" min="0x00" max="0xFF" writable="false" optional="true">BatQuantity</attribute>
<attribute side="server" code="0x001A" define="POWER_SOURCE_BAT_CHARGE_STATE" type="BatChargeStateEnum" writable="false" optional="true">BatChargeState</attribute>
- <attribute side="server" code="0x001B" define="POWER_SOURCE_BAT_TIME_TO_FULL_CHARGE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatTimeToFullCharge</attribute>
- <attribute side="server" code="0x001C" define="POWER_SOURCE_BAT_FUNCTIONAL_WHILE_CHARGING" type="BOOLEAN" writable="false" optional="true">BatFunctionalWhileCharging</attribute>
- <attribute side="server" code="0x001D" define="POWER_SOURCE_BAT_CHARGING_CURRENT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatChargingCurrent</attribute>
+ <attribute side="server" code="0x001B" define="POWER_SOURCE_BAT_TIME_TO_FULL_CHARGE" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatTimeToFullCharge</attribute>
+ <attribute side="server" code="0x001C" define="POWER_SOURCE_BAT_FUNCTIONAL_WHILE_CHARGING" type="boolean" writable="false" optional="true">BatFunctionalWhileCharging</attribute>
+ <attribute side="server" code="0x001D" define="POWER_SOURCE_BAT_CHARGING_CURRENT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true" isNullable="true">BatChargingCurrent</attribute>
<attribute side="server" code="0x001E" define="POWER_SOURCE_ACTIVE_BAT_CHARGE_FAULTS" type="ARRAY" entryType="BatChargeFaultEnum" length="16" writable="false" optional="true">ActiveBatChargeFaults</attribute>
<attribute side="server" code="0x001F" define="POWER_SOURCE_ENDPOINT_LIST" type="ARRAY" entryType="endpoint_no" writable="false">EndpointList</attribute>
@@ -80,7 +80,7 @@
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x002F"/>
<field name="Wired" mask="0x1"/>
<field name="Battery" mask="0x2"/>
@@ -88,21 +88,21 @@
<field name="Replaceable" mask="0x8"/>
</bitmap>
- <enum name="WiredFaultEnum" type="ENUM8">
+ <enum name="WiredFaultEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unspecified" value="0x00"/>
<item name="OverVoltage" value="0x01"/>
<item name="UnderVoltage" value="0x02"/>
</enum>
- <enum name="BatFaultEnum" type="ENUM8">
+ <enum name="BatFaultEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unspecified" value="0x00"/>
<item name="OverTemp" value="0x01"/>
<item name="UnderTemp" value="0x02"/>
</enum>
- <enum name="BatChargeFaultEnum" type="ENUM8">
+ <enum name="BatChargeFaultEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unspecified" value="0x00"/>
<item name="AmbientTooHot" value="0x01"/>
@@ -117,7 +117,7 @@
<item name="SafetyTimeout" value="0x0A"/>
</enum>
- <enum name="PowerSourceStatusEnum" type="ENUM8">
+ <enum name="PowerSourceStatusEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unspecified" value="0x00"/>
<item name="Active" value="0x01"/>
@@ -125,20 +125,20 @@
<item name="Unavailable" value="0x03"/>
</enum>
- <enum name="WiredCurrentTypeEnum" type="ENUM8">
+ <enum name="WiredCurrentTypeEnum" type="enum8">
<cluster code="0x002F"/>
<item name="AC" value="0x00"/>
<item name="DC" value="0x01"/>
</enum>
- <enum name="BatChargeLevelEnum" type="ENUM8">
+ <enum name="BatChargeLevelEnum" type="enum8">
<cluster code="0x002F"/>
<item name="OK" value="0x00"/>
<item name="Warning" value="0x01"/>
<item name="Critical" value="0x02"/>
</enum>
- <enum name="BatReplaceabilityEnum" type="ENUM8">
+ <enum name="BatReplaceabilityEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unspecified" value="0x00"/>
<item name="NotReplaceable" value="0x01"/>
@@ -146,7 +146,7 @@
<item name="FactoryReplaceable" value="0x03"/>
</enum>
- <enum name="BatChargeStateEnum" type="ENUM8">
+ <enum name="BatChargeStateEnum" type="enum8">
<cluster code="0x002F"/>
<item name="Unknown" value="0x00"/>
<item name="IsCharging" value="0x01"/>
@@ -154,7 +154,7 @@
<item name="IsNotCharging" value="0x03"/>
</enum>
- <enum name="BatCommonDesignationEnum" type="ENUM16">
+ <enum name="BatCommonDesignationEnum" type="enum16">
<cluster code="0x002F"/>
<item name="Unspecified" value="0"/>
<item name="AAA" value="1"/>
@@ -239,7 +239,7 @@
<item name="32600" value="80"/>
</enum>
- <enum name="BatApprovedChemistryEnum" type="ENUM16">
+ <enum name="BatApprovedChemistryEnum" type="enum16">
<cluster code="0x002F"/>
<item name="Unspecified" value="0"/>
<item name="Alkaline" value="1"/>
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 23d802a..347762b 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 @@
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="1"/>
- <attribute side="server" code="0x0000" define="SOURCES" type="ARRAY" entryType="INT8U" length="6" writable="false" optional="false">Sources</attribute>
+ <attribute side="server" code="0x0000" define="SOURCES" type="ARRAY" entryType="int8u" length="6" writable="false" optional="false">Sources</attribute>
</cluster>
</configurator>
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 7a783e4..f66c546 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 @@
<client tick="false" init="false">true</client>
<server tick="false" tickFrequency="half" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="3"/>
- <attribute side="server" code="0x0000" define="PRESSURE_MEASURED_VALUE" type="INT16S" writable="false" reportable="true" optional="false" isNullable="true">MeasuredValue</attribute>
- <attribute side="server" code="0x0001" define="PRESSURE_MIN_MEASURED_VALUE" type="INT16S" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
- <attribute side="server" code="0x0002" define="PRESSURE_MAX_MEASURED_VALUE" type="INT16S" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
- <attribute side="server" code="0x0003" define="PRESSURE_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" optional="true" default="0">Tolerance</attribute>
- <attribute side="server" code="0x0010" define="PRESSURE_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0" isNullable="true">ScaledValue</attribute>
- <attribute side="server" code="0x0011" define="PRESSURE_MIN_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0" isNullable="true">MinScaledValue</attribute>
- <attribute side="server" code="0x0012" define="PRESSURE_MAX_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0" isNullable="true">MaxScaledValue</attribute>
- <attribute side="server" code="0x0013" define="PRESSURE_SCALED_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true" default="0">ScaledTolerance</attribute>
- <attribute side="server" code="0x0014" define="PRESSURE_SCALE" type="INT8S" writable="false" optional="true" default="0">Scale</attribute>
+ <attribute side="server" code="0x0000" define="PRESSURE_MEASURED_VALUE" type="int16s" writable="false" reportable="true" optional="false" isNullable="true">MeasuredValue</attribute>
+ <attribute side="server" code="0x0001" define="PRESSURE_MIN_MEASURED_VALUE" type="int16s" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
+ <attribute side="server" code="0x0002" define="PRESSURE_MAX_MEASURED_VALUE" type="int16s" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
+ <attribute side="server" code="0x0003" define="PRESSURE_TOLERANCE" type="int16u" min="0x0000" max="0x0800" writable="false" optional="true" default="0">Tolerance</attribute>
+ <attribute side="server" code="0x0010" define="PRESSURE_SCALED_VALUE" type="int16s" writable="false" optional="true" default="0" isNullable="true">ScaledValue</attribute>
+ <attribute side="server" code="0x0011" define="PRESSURE_MIN_SCALED_VALUE" type="int16s" writable="false" optional="true" default="0" isNullable="true">MinScaledValue</attribute>
+ <attribute side="server" code="0x0012" define="PRESSURE_MAX_SCALED_VALUE" type="int16s" writable="false" optional="true" default="0" isNullable="true">MaxScaledValue</attribute>
+ <attribute side="server" code="0x0013" define="PRESSURE_SCALED_TOLERANCE" type="int16u" min="0x0000" max="0x0800" writable="false" reportable="true" optional="true" default="0">ScaledTolerance</attribute>
+ <attribute side="server" code="0x0014" define="PRESSURE_SCALE" type="int8s" writable="false" optional="true" default="0">Scale</attribute>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0403"/>
<field name="Extended" mask="0x1"/>
</bitmap>
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 a199ce7..9d2ef81 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 @@
<client tick="false" init="false">true</client>
<server tick="false" tickFrequency="half" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="3"/>
- <attribute side="server" code="0x0000" define="MAX_PRESSURE" type="INT16S" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="false">MaxPressure</attribute>
- <attribute side="server" code="0x0001" define="MAX_SPEED" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="false">MaxSpeed</attribute>
- <attribute side="server" code="0x0002" define="MAX_FLOW" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="false">MaxFlow</attribute>
- <attribute side="server" code="0x0003" define="MIN_CONST_PRESSURE" type="INT16S" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MinConstPressure</attribute>
- <attribute side="server" code="0x0004" define="MAX_CONST_PRESSURE" type="INT16S" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MaxConstPressure</attribute>
- <attribute side="server" code="0x0005" define="MIN_COMP_PRESSURE" type="INT16S" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MinCompPressure</attribute>
- <attribute side="server" code="0x0006" define="MAX_COMP_PRESSURE" type="INT16S" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MaxCompPressure</attribute>
- <attribute side="server" code="0x0007" define="MIN_CONST_SPEED" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MinConstSpeed</attribute>
- <attribute side="server" code="0x0008" define="MAX_CONST_SPEED" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MaxConstSpeed</attribute>
- <attribute side="server" code="0x0009" define="MIN_CONST_FLOW" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MinConstFlow</attribute>
- <attribute side="server" code="0x000A" define="MAX_CONST_FLOW" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MaxConstFlow</attribute>
- <attribute side="server" code="0x000B" define="MIN_CONST_TEMP" type="INT16S" isNullable="true" min="0x954D" max="32767" writable="false" optional="true">MinConstTemp</attribute>
- <attribute side="server" code="0x000C" define="MAX_CONST_TEMP" type="INT16S" isNullable="true" min="0x954D" max="0x7FFF" writable="false" optional="true">MaxConstTemp</attribute>
+ <attribute side="server" code="0x0000" define="MAX_PRESSURE" type="int16s" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="false">MaxPressure</attribute>
+ <attribute side="server" code="0x0001" define="MAX_SPEED" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="false">MaxSpeed</attribute>
+ <attribute side="server" code="0x0002" define="MAX_FLOW" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="false">MaxFlow</attribute>
+ <attribute side="server" code="0x0003" define="MIN_CONST_PRESSURE" type="int16s" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MinConstPressure</attribute>
+ <attribute side="server" code="0x0004" define="MAX_CONST_PRESSURE" type="int16s" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MaxConstPressure</attribute>
+ <attribute side="server" code="0x0005" define="MIN_COMP_PRESSURE" type="int16s" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MinCompPressure</attribute>
+ <attribute side="server" code="0x0006" define="MAX_COMP_PRESSURE" type="int16s" isNullable="true" min="0x8001" max="0x7FFF" writable="false" optional="true">MaxCompPressure</attribute>
+ <attribute side="server" code="0x0007" define="MIN_CONST_SPEED" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MinConstSpeed</attribute>
+ <attribute side="server" code="0x0008" define="MAX_CONST_SPEED" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MaxConstSpeed</attribute>
+ <attribute side="server" code="0x0009" define="MIN_CONST_FLOW" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MinConstFlow</attribute>
+ <attribute side="server" code="0x000A" define="MAX_CONST_FLOW" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">MaxConstFlow</attribute>
+ <attribute side="server" code="0x000B" define="MIN_CONST_TEMP" type="int16s" isNullable="true" min="0x954D" max="32767" writable="false" optional="true">MinConstTemp</attribute>
+ <attribute side="server" code="0x000C" define="MAX_CONST_TEMP" type="int16s" isNullable="true" min="0x954D" max="0x7FFF" writable="false" optional="true">MaxConstTemp</attribute>
<attribute side="server" code="0x0010" define="PUMP_STATUS" type="PumpStatusBitmap" writable="false" default="0x0000" reportable="true" optional="true">PumpStatus</attribute>
<attribute side="server" code="0x0011" define="EFFECTIVE_OPERATION_MODE" type="OperationModeEnum" min="0x00" max="0x03" writable="false" optional="false">EffectiveOperationMode</attribute>
<attribute side="server" code="0x0012" define="EFFECTIVE_CONTROL_MODE" type="ControlModeEnum" min="0x00" max="0x07" writable="false" optional="false">EffectiveControlMode</attribute>
- <attribute side="server" code="0x0013" define="CAPACITY" type="INT16S" isNullable="true" min="0x0000" max="0x7FFF" writable="false" reportable="true" optional="false">Capacity</attribute>
- <attribute side="server" code="0x0014" define="SPEED" type="INT16U" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">Speed</attribute>
- <attribute side="server" code="0x0015" define="LIFETIME_RUNNING_HOURS" type="INT24U" isNullable="true" writable="true" default="0x000000" optional="true">
+ <attribute side="server" code="0x0013" define="CAPACITY" type="int16s" isNullable="true" min="0x0000" max="0x7FFF" writable="false" reportable="true" optional="false">Capacity</attribute>
+ <attribute side="server" code="0x0014" define="SPEED" type="int16u" isNullable="true" min="0x0000" max="0xFFFE" writable="false" optional="true">Speed</attribute>
+ <attribute side="server" code="0x0015" define="LIFETIME_RUNNING_HOURS" type="int24u" isNullable="true" writable="true" default="0x000000" optional="true">
<description>LifetimeRunningHours</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0016" define="PUMP_POWER" type="INT24U" isNullable="true" writable="false" optional="true">Power</attribute>
- <attribute side="server" code="0x0017" define="LIFETIME_ENERGY_CONSUMED" type="INT32U" isNullable="true" writable="true" default="0x00000000" optional="true">
+ <attribute side="server" code="0x0016" define="PUMP_POWER" type="int24u" isNullable="true" writable="false" optional="true">Power</attribute>
+ <attribute side="server" code="0x0017" define="LIFETIME_ENERGY_CONSUMED" type="int32u" isNullable="true" writable="true" default="0x00000000" optional="true">
<description>LifetimeEnergyConsumed</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
@@ -118,7 +118,7 @@
</event>
</cluster>
- <bitmap name="PumpStatusBitmap" type="BITMAP16">
+ <bitmap name="PumpStatusBitmap" type="bitmap16">
<cluster code="0x0200"/>
<field name="DeviceFault" mask="0x1"/>
<field name="Supplyfault" mask="0x2"/>
@@ -131,7 +131,7 @@
<field name="RemoteTemperature" mask="0x100"/>
</bitmap>
- <enum name="OperationModeEnum" type="ENUM8">
+ <enum name="OperationModeEnum" type="enum8">
<cluster code="0x0200"/>
<item name="Normal" value="0x0"/>
<item name="Minimum" value="0x1"/>
@@ -139,7 +139,7 @@
<item name="Local" value="0x3"/>
</enum>
- <enum name="ControlModeEnum" type="ENUM8">
+ <enum name="ControlModeEnum" type="enum8">
<cluster code="0x0200"/>
<item name="ConstantSpeed" value="0x0"/>
<item name="ConstantPressure" value="0x1"/>
@@ -149,7 +149,7 @@
<item name="Automatic" value="0x7"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0200"/>
<field mask="0x01" name="ConstantPressure" />
<field mask="0x02" name="CompensatedPressure" />
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 7cc2738..08918ff 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <bitmap name="AlarmMap" type="BITMAP32">
+ <bitmap name="AlarmMap" type="bitmap32">
<cluster code="0x0057" />
<field name="DoorOpen" mask="0x01"/>
</bitmap>
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 c551093..7b60cff 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="ModeTag" type="ENUM16">
+ <enum name="ModeTag" type="enum16">
<cluster code="0x0052"/>
<item value="0x4000" name="RapidCool"/>
<item value="0x4001" name="RapidFreeze"/>
@@ -33,9 +33,9 @@
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
<!-- Base data types -->
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Commands -->
<command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">
@@ -43,15 +43,15 @@
This command is used to change device modes.
On receipt of this command the device SHALL respond with a ChangeToModeResponse command.
</description>
- <arg name="NewMode" type="INT8U" optional="false"/>
+ <arg name="NewMode" type="int8u" optional="false"/>
</command>
<command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">
<description>
This command is sent by the device on receipt of the ChangeToModeWithStatus command.
</description>
- <arg name="Status" type="ENUM8" optional="false"/>
- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>
+ <arg name="Status" type="enum8" optional="false"/>
+ <arg name="StatusText" type="char_string" lenght="64" optional="true"/>
</command>
</cluster>
</configurator>
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 41f070b..e309b75 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 @@
<client tick="false" init="false">true</client>
<server tick="false" tickFrequency="half" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="3"/>
- <attribute side="server" code="0x0000" define="RELATIVE_HUMIDITY_MEASURED_VALUE" type="INT16U" writable="false" reportable="true" optional="false" isNullable="true">MeasuredValue</attribute>
- <attribute side="server" code="0x0001" define="RELATIVE_HUMIDITY_MIN_MEASURED_VALUE" type="INT16U" min="0x0000" max="0x270F" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
- <attribute side="server" code="0x0002" define="RELATIVE_HUMIDITY_MAX_MEASURED_VALUE" type="INT16U" min="0x0001" max="0x2710" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
- <attribute side="server" code="0x0003" define="RELATIVE_HUMIDITY_TOLERANCE" type="INT16U" min="0x0000" max="0x0800" writable="false" optional="true">Tolerance</attribute>
+ <attribute side="server" code="0x0000" define="RELATIVE_HUMIDITY_MEASURED_VALUE" type="int16u" writable="false" reportable="true" optional="false" isNullable="true">MeasuredValue</attribute>
+ <attribute side="server" code="0x0001" define="RELATIVE_HUMIDITY_MIN_MEASURED_VALUE" type="int16u" min="0x0000" max="0x270F" writable="false" optional="false" isNullable="true">MinMeasuredValue</attribute>
+ <attribute side="server" code="0x0002" define="RELATIVE_HUMIDITY_MAX_MEASURED_VALUE" type="int16u" min="0x0001" max="0x2710" writable="false" optional="false" isNullable="true">MaxMeasuredValue</attribute>
+ <attribute side="server" code="0x0003" define="RELATIVE_HUMIDITY_TOLERANCE" type="int16u" min="0x0000" max="0x0800" writable="false" optional="true">Tolerance</attribute>
</cluster>
</configurator>
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 efce0ea..11643c6 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 @@
</cluster>
<!-- Feature Map -->
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0071" />
<cluster code="0x0072" />
<field name="Condition" mask="0x01" />
@@ -72,14 +72,14 @@
</bitmap>
<!-- Cluster Data Types -->
- <enum name="DegradationDirectionEnum" type="ENUM8">
+ <enum name="DegradationDirectionEnum" type="enum8">
<cluster code="0x0071" />
<cluster code="0x0072" />
<item value="0" name="Up" />
<item value="1" name="Down" />
</enum>
- <enum name="ChangeIndicationEnum" type="ENUM8">
+ <enum name="ChangeIndicationEnum" type="enum8">
<cluster code="0x0071" />
<cluster code="0x0072" />
<item value="0" name="OK" />
@@ -87,7 +87,7 @@
<item value="2" name="Critical" />
</enum>
- <enum name="ProductIdentifierTypeEnum" type="ENUM8">
+ <enum name="ProductIdentifierTypeEnum" type="enum8">
<cluster code="0x0071" />
<cluster code="0x0072" />
<item value="0" name="UPC" />
@@ -105,12 +105,12 @@
<struct name="ReplacementProductStruct">
<cluster code="0x0071" />
<item name="ProductIdentifierType" type="ProductIdentifierTypeEnum" optional="false"/>
- <item name="ProductIdentifierValue" type="CHAR_STRING" length="20" optional="false"/>
+ <item name="ProductIdentifierValue" type="char_string" length="20" optional="false"/>
</struct>
<struct name="ReplacementProductStruct">
<cluster code="0x0072" />
<item name="ProductIdentifierType" type="ProductIdentifierTypeEnum" optional="false"/>
- <item name="ProductIdentifierValue" type="CHAR_STRING" length="20" optional="false"/>
+ <item name="ProductIdentifierValue" type="char_string" length="20" optional="false"/>
</struct>
</configurator>
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 8921822..029de40 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="StatusCode" type="ENUM8">
+ <enum name="StatusCode" type="enum8">
<cluster code="0x0055"/>
<item value="0x40" name="CleaningInProgress"/>
</enum>
- <enum name="ModeTag" type="ENUM16">
+ <enum name="ModeTag" type="enum16">
<cluster code="0x0055"/>
<item value="0x4000" name="DeepClean"/>
<item value="0x4001" name="Vacuum"/>
@@ -39,9 +39,9 @@
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
<!-- Base data types -->
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Commands -->
<command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">
@@ -49,15 +49,15 @@
This command is used to change device modes.
On receipt of this command the device SHALL respond with a ChangeToModeResponse command.
</description>
- <arg name="NewMode" type="INT8U" optional="false"/>
+ <arg name="NewMode" type="int8u" optional="false"/>
</command>
<command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">
<description>
This command is sent by the device on receipt of the ChangeToModeWithStatus command.
</description>
- <arg name="Status" type="ENUM8" optional="false"/>
- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>
+ <arg name="Status" type="enum8" optional="false"/>
+ <arg name="StatusText" type="char_string" lenght="64" optional="true"/>
</command>
</cluster>
</configurator>
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 d6a3a24..f663dce 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 @@
<configurator>
<domain name="CHIP"/>
- <enum name="StatusCode" type="ENUM8">
+ <enum name="StatusCode" type="enum8">
<cluster code="0x0054"/>
<item value="0x41" name="Stuck"/>
<item value="0x42" name="DustBinMissing"/>
@@ -29,7 +29,7 @@
<item value="0x48" name="BatteryLow"/>
</enum>
- <enum name="ModeTag" type="ENUM16">
+ <enum name="ModeTag" type="enum16">
<cluster code="0x0054"/>
<item value="0x4000" name="Idle"/>
<item value="0x4001" name="Cleaning"/>
@@ -45,9 +45,9 @@
<description>Attributes and commands for selecting a mode from a list of supported options.</description>
<!-- Base data types -->
<attribute side="server" code="0x0000" define="SUPPORTED_MODES" type="ARRAY" entryType="ModeOptionStruct" writable="false" optional="false" isNullable="false" length="255">SupportedModes</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_MODE" type="INT8U" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
- <attribute side="server" code="0x0002" define="START_UP_MODE" type="INT8U" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
- <attribute side="server" code="0x0003" define="ON_MODE" type="INT8U" writable="true" optional="true" isNullable="true">OnMode</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_MODE" type="int8u" writable="false" optional="false" isNullable="false" reportable="true">CurrentMode</attribute>
+ <attribute side="server" code="0x0002" define="START_UP_MODE" type="int8u" writable="true" optional="true" isNullable="true">StartUpMode</attribute>
+ <attribute side="server" code="0x0003" define="ON_MODE" type="int8u" writable="true" optional="true" isNullable="true">OnMode</attribute>
<!-- Commands -->
<command source="client" code="0x00" name="ChangeToMode" response="ChangeToModeResponse" optional="false">
@@ -55,15 +55,15 @@
This command is used to change device modes.
On receipt of this command the device SHALL respond with a ChangeToModeResponse command.
</description>
- <arg name="NewMode" type="INT8U" optional="false"/>
+ <arg name="NewMode" type="int8u" optional="false"/>
</command>
<command source="server" code="0x01" name="ChangeToModeResponse" disableDefaultResponse="true" optional="false">
<description>
This command is sent by the device on receipt of the ChangeToModeWithStatus command.
</description>
- <arg name="Status" type="ENUM8" optional="false"/>
- <arg name="StatusText" type="CHAR_STRING" lenght="64" optional="true"/>
+ <arg name="Status" type="enum8" optional="false"/>
+ <arg name="StatusText" type="char_string" lenght="64" optional="true"/>
</command>
</cluster>
</configurator>
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 98790ca..ca5768f 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 @@
<!-- Attributes -->
<!-- A simple boolean attribute that flips or flops -->
- <attribute side="server" code="0x0000" define="FLIP_FLOP" type="BOOLEAN" writable="true" default="false" optional="false">FlipFlop</attribute>
+ <attribute side="server" code="0x0000" define="FLIP_FLOP" type="boolean" writable="true" default="false" optional="false">FlipFlop</attribute>
<!-- Command Responses -->
<command source="server" code="0x01" name="AddArgumentsResponse" optional="false" disableDefaultResponse="true">
<description>
Response for AddArguments that returns the sum.
</description>
- <arg name="returnValue" type="INT8U"/>
+ <arg name="returnValue" type="int8u"/>
</command>
<!-- Commands -->
@@ -45,8 +45,8 @@
<description>
Command that takes two uint8 arguments and returns their sum.
</description>
- <arg name="arg1" type="INT8U"/>
- <arg name="arg2" type="INT8U"/>
+ <arg name="arg1" type="int8u"/>
+ <arg name="arg2" type="int8u"/>
</command>
<command source="client" code="0x00" name="Ping" optional="false">
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 903d07b..8418f9c 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 @@
limitations under the License.
-->
<configurator>
- <bitmap name="ScenesCopyMode" type="BITMAP8">
+ <bitmap name="ScenesCopyMode" type="bitmap8">
<cluster code="0x0005"/>
<field name="CopyAllScenes" mask="0x01"/>
</bitmap>
@@ -23,7 +23,7 @@
<struct name="AttributeValuePair">
<cluster code="0x0005"/>
<item name="AttributeID" type="attrib_id" optional="false"/>
- <item name="AttributeValue" type="INT32U" optional="false"/>
+ <item name="AttributeValue" type="int32u" optional="false"/>
</struct>
<struct name="ExtensionFieldSet">
@@ -43,22 +43,22 @@
<server tick="false" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="5"/>
- <attribute side="server" code="0x0000" define="SCENE_COUNT" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">SceneCount</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_SCENE" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">CurrentScene</attribute>
+ <attribute side="server" code="0x0000" define="SCENE_COUNT" type="int8u" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">SceneCount</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_SCENE" type="int8u" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">CurrentScene</attribute>
<attribute side="server" code="0x0002" define="CURRENT_GROUP" type="group_id" min="0x0000" max="0xFFF7" writable="false" default="0x0000" optional="false">CurrentGroup</attribute>
- <attribute side="server" code="0x0003" define="SCENE_VALID" type="BOOLEAN" min="0x00" max="0x01" writable="false" default="0x00" optional="false">SceneValid</attribute>
- <attribute side="server" code="0x0004" define="SCENE_NAME_SUPPORT" type="BITMAP8" min="0x00" max="0x80" writable="false" default="0x00" optional="false">NameSupport</attribute>
+ <attribute side="server" code="0x0003" define="SCENE_VALID" type="boolean" min="0x00" max="0x01" writable="false" default="0x00" optional="false">SceneValid</attribute>
+ <attribute side="server" code="0x0004" define="SCENE_NAME_SUPPORT" type="bitmap8" min="0x00" max="0x80" writable="false" default="0x00" optional="false">NameSupport</attribute>
<attribute side="server" code="0x0005" define="LAST_CONFIGURED_BY" type="node_id" writable="false" isNullable="true" optional="true">LastConfiguredBy</attribute>
- <attribute side="server" code="0x0006" define="SCENE_TABLE_SIZE" type="INT16U" writable="false" optional="false">SceneTableSize</attribute>
- <attribute side="server" code="0x0007" define="REMAINING_CAPACITY" type="INT8U" writable="false" optional="false">RemainingCapacity</attribute>
+ <attribute side="server" code="0x0006" define="SCENE_TABLE_SIZE" type="int16u" writable="false" optional="false">SceneTableSize</attribute>
+ <attribute side="server" code="0x0007" define="REMAINING_CAPACITY" type="int8u" writable="false" optional="false">RemainingCapacity</attribute>
<command source="client" code="0x00" name="AddScene" response="AddSceneResponse" isFabricScoped="true" optional="false" cli="chip scenes add">
<description>
Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}'
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="SceneName" type="CHAR_STRING"/>
+ <arg name="SceneID" type="int8u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="SceneName" type="char_string"/>
<arg name="ExtensionFieldSets" type="ExtensionFieldSet" array="true"/>
<access op="invoke" role="manage"/>
</command>
@@ -68,7 +68,7 @@
Retrieves the requested scene entry from its Scene table.
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="client" code="0x02" name="RemoveScene" response="RemoveSceneResponse" isFabricScoped="true" optional="false" cli="chip scenes remove">
@@ -76,7 +76,7 @@
Removes the requested scene entry, corresponding to the value of the GroupID field, from its Scene Table
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
<access op="invoke" role="manage"/>
</command>
@@ -93,7 +93,7 @@
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
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
<access op="invoke" role="manage"/>
</command>
@@ -102,8 +102,8 @@
Set the attributes and corresponding state for each other cluster implemented on the endpoint accordingly to the resquested scene entry in the Scene Table
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" optional="true" isNullable="true"/>
+ <arg name="SceneID" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" optional="true" isNullable="true"/>
</command>
<command source="client" code="0x06" name="GetSceneMembership" response="GetSceneMembershipResponse" isFabricScoped="true" optional="false" cli="chip scenes get">
@@ -118,9 +118,9 @@
Allows a scene to be added using a finer scene transition time than the AddScene command.
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U"/>
- <arg name="SceneName" type="CHAR_STRING"/>
+ <arg name="SceneID" type="int8u"/>
+ <arg name="TransitionTime" type="int16u"/>
+ <arg name="SceneName" type="char_string"/>
<arg name="ExtensionFieldSets" type="ExtensionFieldSet" array="true"/>
</command>
<command source="client" code="0x41" name="EnhancedViewScene" response="EnhancedViewSceneResponse" isFabricScoped="true" optional="true" noDefaultImplementation="true" cli="chip scenes eview">
@@ -128,7 +128,7 @@
Allows a scene to be retrieved using a finer scene transition time than the ViewScene command
</description>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="client" code="0x42" name="CopyScene" response="CopySceneResponse" isFabricScoped="true" optional="true" cli="chip scenes copy">
<description>
@@ -136,9 +136,9 @@
</description>
<arg name="Mode" type="ScenesCopyMode"/>
<arg name="GroupIdentifierFrom" type="group_id"/>
- <arg name="SceneIdentifierFrom" type="INT8U"/>
+ <arg name="SceneIdentifierFrom" type="int8u"/>
<arg name="GroupIdentifierTo" type="group_id"/>
- <arg name="SceneIdentifierTo" type="INT8U"/>
+ <arg name="SceneIdentifierTo" type="int8u"/>
</command>
<command source="server" code="0x00" name="AddSceneResponse" optional="false" disableDefaultResponse="true">
@@ -147,7 +147,7 @@
</description>
<arg name="Status" type="status"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="server" code="0x01" name="ViewSceneResponse" optional="false" disableDefaultResponse="true">
@@ -156,9 +156,9 @@
</description>
<arg name="Status" type="status"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" optional="true"/>
- <arg name="SceneName" type="CHAR_STRING" optional="true"/>
+ <arg name="SceneID" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" optional="true"/>
+ <arg name="SceneName" type="char_string" optional="true"/>
<arg name="ExtensionFieldSets" type="ExtensionFieldSet" array="true" optional="true"/>
</command>
@@ -168,7 +168,7 @@
</description>
<arg name="Status" type="status"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="server" code="0x03" name="RemoveAllScenesResponse" optional="false" disableDefaultResponse="true">
@@ -185,7 +185,7 @@
</description>
<arg name="Status" type="status"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="server" code="0x06" name="GetSceneMembershipResponse" optional="false" disableDefaultResponse="true">
@@ -193,9 +193,9 @@
The command is generated in response to a received unicast GetSceneMembership command
</description>
<arg name="Status" type="status"/>
- <arg name="Capacity" type="INT8U" isNullable="true"/>
+ <arg name="Capacity" type="int8u" isNullable="true"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneList" type="INT8U" array="true" optional="true"/>
+ <arg name="SceneList" type="int8u" array="true" optional="true"/>
</command>
<command source="server" code="0x40" name="EnhancedAddSceneResponse" optional="true" disableDefaultResponse="true">
@@ -204,7 +204,7 @@
</description>
<arg name="Status" type="status"/>
<arg name="GroupID" type="group_id"/>
- <arg name="SceneID" type="INT8U"/>
+ <arg name="SceneID" type="int8u"/>
</command>
<command source="server" code="0x41" name="EnhancedViewSceneResponse" optional="true" disableDefaultResponse="true">
@@ -212,10 +212,10 @@
The command is generated in response to a received unicast EnhancedViewScene command
</description>
<arg name="Status" type="status"/>
- <arg name="GroupID" type="group_Id"/>
- <arg name="SceneID" type="INT8U"/>
- <arg name="TransitionTime" type="INT16U" optional="true"/>
- <arg name="SceneName" type="CHAR_STRING" optional="true"/>
+ <arg name="GroupID" type="group_id"/>
+ <arg name="SceneID" type="int8u"/>
+ <arg name="TransitionTime" type="int16u" optional="true"/>
+ <arg name="SceneName" type="char_string" optional="true"/>
<arg name="ExtensionFieldSets" type="ExtensionFieldSet" array="true" optional="true"/>
</command>
@@ -224,12 +224,12 @@
The command is generated in response to a received unicast CopyScene command
</description>
<arg name="Status" type="status"/>
- <arg name="GroupIdentifierFrom" type="group_Id"/>
- <arg name="SceneIdentifierFrom" type="INT8U"/>
+ <arg name="GroupIdentifierFrom" type="group_id"/>
+ <arg name="SceneIdentifierFrom" type="int8u"/>
</command>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0005" />
<field name="SceneNames" mask="0x01" />
<field name="Explicit" mask="0x02" />
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 2a7c4b9..c9700fe 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 @@
</cluster>
<!-- Cluster data types -->
- <enum name="AlarmStateEnum" type="ENUM8">
+ <enum name="AlarmStateEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="Normal" />
<item value="1" name="Warning" />
<item value="2" name="Critical" />
</enum>
- <enum name="SensitivityEnum" type="ENUM8">
+ <enum name="SensitivityEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="High" />
<item value="1" name="Standard" />
<item value="2" name="Low" />
</enum>
- <enum name="ExpressedStateEnum" type="ENUM8">
+ <enum name="ExpressedStateEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="Normal" />
<item value="1" name="SmokeAlarm" />
@@ -125,19 +125,19 @@
<item value="8" name="InterconnectCO" />
</enum>
- <enum name="MuteStateEnum" type="ENUM8">
+ <enum name="MuteStateEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="NotMuted" />
<item value="1" name="Muted" />
</enum>
- <enum name="EndOfServiceEnum" type="ENUM8">
+ <enum name="EndOfServiceEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="Normal" />
<item value="1" name="Expired" />
</enum>
- <enum name="ContaminationStateEnum" type="ENUM8">
+ <enum name="ContaminationStateEnum" type="enum8">
<cluster code="0x005C" />
<item value="0" name="Normal" />
<item value="1" name="Low" />
@@ -145,7 +145,7 @@
<item value="3" name="Critical" />
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x005C" />
<field name="Smoke Alarm" mask="0x01" />
<field name="CO alarm" mask="0x02" />
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 bab77e9..fe558cb 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 @@
<domain name="CHIP"/>
<struct name="ThreadMetricsStruct">
<cluster code="0x0034"/>
- <item name="ID" type="INT64U"/>
- <item name="Name" type="CHAR_STRING" length="8" optional="true"/>
- <item name="StackFreeCurrent" type="INT32U" optional="true"/>
- <item name="StackFreeMinimum" type="INT32U" optional="true"/>
- <item name="StackSize" type="INT32U" optional="true"/>
+ <item name="ID" type="int64u"/>
+ <item name="Name" type="char_string" length="8" optional="true"/>
+ <item name="StackFreeCurrent" type="int32u" optional="true"/>
+ <item name="StackFreeMinimum" type="int32u" optional="true"/>
+ <item name="StackSize" type="int32u" optional="true"/>
</struct>
<cluster>
<domain>General</domain>
@@ -31,20 +31,20 @@
<define>SOFTWARE_DIAGNOSTICS_CLUSTER</define>
<description>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.</description>
<attribute side="server" code="0x00" define="THREAD_METRICS" type="ARRAY" entryType="ThreadMetricsStruct" length="254" writable="false" optional="true">ThreadMetrics</attribute>
- <attribute side="server" code="0x01" define="CURRENT_HEAP_FREE" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapFree</attribute>
- <attribute side="server" code="0x02" define="CURRENT_HEAP_USED" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapUsed</attribute>
- <attribute side="server" code="0x03" define="CURRENT_HEAP_HIGH_WATERMARK" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapHighWatermark</attribute>
+ <attribute side="server" code="0x01" define="CURRENT_HEAP_FREE" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapFree</attribute>
+ <attribute side="server" code="0x02" define="CURRENT_HEAP_USED" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapUsed</attribute>
+ <attribute side="server" code="0x03" define="CURRENT_HEAP_HIGH_WATERMARK" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">CurrentHeapHighWatermark</attribute>
<command source="client" code="0x00" name="ResetWatermarks" optional="true" cli="chip software_diagnostics resetwatermarks">
<description>Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, CurrentHeapHighWaterMark attribute.</description>
</command>
<event side="server" code="0x00" name="SoftwareFault" priority="info" optional="true">
<description>Indicate the last software fault that has taken place on the Node.</description>
- <field id="0" name="ID" type="INT64U"/>
- <field id="1" name="Name" type="CHAR_STRING" length="8" optional="true"/>
- <field id="2" name="FaultRecording" type="OCTET_STRING" length="1024" optional="true"/>
+ <field id="0" name="ID" type="int64u"/>
+ <field id="1" name="Name" type="char_string" length="8" optional="true"/>
+ <field id="2" name="FaultRecording" type="octet_string" length="1024" optional="true"/>
</event>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0034"/>
<field name="WaterMarks" mask="0x1"/>
</bitmap>
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 2199b90..7586e06 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 @@
<globalAttribute side="server" code="0xFFFC" value="0" />
<globalAttribute side="server" code="0xFFFD" value="1" />
- <attribute side="server" code="0x0000" define="NUMBER_OF_POSITIONS" type="INT8U" writable="false" optional="false" default="2" min="2">NumberOfPositions</attribute>
- <attribute side="server" code="0x0001" define="CURRENT_POSITION" type="INT8U" writable="false" reportable="true" optional="false">CurrentPosition</attribute>
- <attribute side="server" code="0x0002" define="MULTI_PRESS_MAX" type="INT8U" writable="false" optional="true" default="2" min="2">MultiPressMax</attribute>
+ <attribute side="server" code="0x0000" define="NUMBER_OF_POSITIONS" type="int8u" writable="false" optional="false" default="2" min="2">NumberOfPositions</attribute>
+ <attribute side="server" code="0x0001" define="CURRENT_POSITION" type="int8u" writable="false" reportable="true" optional="false">CurrentPosition</attribute>
+ <attribute side="server" code="0x0002" define="MULTI_PRESS_MAX" type="int8u" writable="false" optional="true" default="2" min="2">MultiPressMax</attribute>
<event side="server" code="0x00" priority="info" name="SwitchLatched" optional="true">
<description>SwitchLatched</description>
- <field id="0" name="NewPosition" type="INT8U" />
+ <field id="0" name="NewPosition" type="int8u" />
</event>
<event side="server" code="0x01" priority="info" name="InitialPress" optional="true">
<description>InitialPress</description>
- <field id="0" name="NewPosition" type="INT8U" />
+ <field id="0" name="NewPosition" type="int8u" />
</event>
<event side="server" code="0x02" priority="info" name="LongPress" optional="true">
<description>LongPress</description>
- <field id="0" name="NewPosition" type="INT8U" />
+ <field id="0" name="NewPosition" type="int8u" />
</event>
<event side="server" code="0x03" priority="info" name="ShortRelease" optional="true">
<description>ShortRelease</description>
- <field id="0" name="PreviousPosition" type="INT8U" />
+ <field id="0" name="PreviousPosition" type="int8u" />
</event>
<event side="server" code="0x04" priority="info" name="LongRelease" optional="true">
<description>LongRelease</description>
- <field id="0" name="PreviousPosition" type="INT8U" />
+ <field id="0" name="PreviousPosition" type="int8u" />
</event>
<event side="server" code="0x05" priority="info" name="MultiPressOngoing" optional="true">
<description>MultiPressOngoing</description>
- <field id="0" name="NewPosition" type="INT8U" />
- <field id="1" name="CurrentNumberOfPressesCounted" type="INT8U" />
+ <field id="0" name="NewPosition" type="int8u" />
+ <field id="1" name="CurrentNumberOfPressesCounted" type="int8u" />
</event>
<event side="server" code="0x06" priority="info" name="MultiPressComplete" optional="true">
<description>MultiPressComplete</description>
- <field id="0" name="PreviousPosition" type="INT8U" />
- <field id="1" name="TotalNumberOfPressesCounted" type="INT8U" />
+ <field id="0" name="PreviousPosition" type="int8u" />
+ <field id="1" name="TotalNumberOfPressesCounted" type="int8u" />
</event>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x003B" />
<field name="Latching Switch" mask="0x1" />
<field name="Momentary Switch" mask="0x2" />
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 705510c..adfa5db 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 @@
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for UX navigation within a set of targets on a device or endpoint.</description>
<attribute side="server" code="0x0000" define="TARGET_NAVIGATOR_LIST" type="ARRAY" entryType="TargetInfoStruct" length="254" writable="false" optional="false">TargetList</attribute>
- <attribute side="server" code="0x0001" define="TARGET_NAVIGATOR_CURRENT_TARGET" type="INT8U" default="0" min="0x00" max="0xFF" writable="false" optional="true">CurrentTarget</attribute>
+ <attribute side="server" code="0x0001" define="TARGET_NAVIGATOR_CURRENT_TARGET" type="int8u" default="0" min="0x00" max="0xFF" writable="false" optional="true">CurrentTarget</attribute>
<command source="client" code="0x00" name="NavigateTarget" response="NavigateTargetResponse" optional="false">
<description>Upon receipt, this SHALL navigation the UX to the target identified.</description>
- <arg name="Target" type="INT8U"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="Target" type="int8u"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
<command source="server" code="0x01" name="NavigateTargetResponse" optional="false">
<description>This command SHALL be generated in response to NavigateTarget commands.</description>
<arg name="Status" type="TargetNavigatorStatusEnum"/>
- <arg name="Data" type="CHAR_STRING" optional="true"/>
+ <arg name="Data" type="char_string" optional="true"/>
</command>
</cluster>
- <enum name="TargetNavigatorStatusEnum" type="ENUM8">
+ <enum name="TargetNavigatorStatusEnum" type="enum8">
<cluster code="0x0505"/>
<item name="Success" value="0x00"/>
<item name="TargetNotFound" value="0x01"/>
@@ -49,7 +49,7 @@
<struct name="TargetInfoStruct">
<cluster code="0x0505"/>
- <item name="Identifier" type="INT8U"/>
- <item name="Name" type="CHAR_STRING" length="32"/>
+ <item name="Identifier" type="int8u"/>
+ <item name="Name" type="char_string" length="32"/>
</struct>
</configurator>
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 e6c8cab..e9960e9 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 @@
<attribute side="server" code="0x0001" define="MIN_TEMP" type="temperature" writable="false" optional="true">MinTemperature</attribute>
<attribute side="server" code="0x0002" define="MAX_TEMP" type="temperature" writable="false" optional="true">MaxTemperature</attribute>
<attribute side="server" code="0x0003" define="STEP" type="temperature" writable="false" optional="true">Step</attribute>
- <attribute side="server" code="0x0004" define="SELECTED_TEMP_LEVEL" type="INT8U" writable="false" optional="true">SelectedTemperatureLevel</attribute>
+ <attribute side="server" code="0x0004" define="SELECTED_TEMP_LEVEL" type="int8u" writable="false" optional="true">SelectedTemperatureLevel</attribute>
<attribute side="server" code="0x0005" define="SUPPORTED_TEMP_LEVELS" type="ARRAY" entryType="char_string" writable="false" optional="true">SupportedTemperatureLevels</attribute>
<command source="client" code="0x00" name="SetTemperature" optional="false">
<description>Set Temperature</description>
<arg name="TargetTemperature" type="temperature" min="MIN_TEMP" max="MAX_TEMP" optional="true"/>
- <arg name="TargetTemperatureLevel" type="INT8U" optional="true"/>
+ <arg name="TargetTemperatureLevel" type="int8u" optional="true"/>
</command>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0056"/>
<field mask="0x01" name="TemperatureNumber" />
<field mask="0x02" name="TemperatureLevel" />
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 2e0211c..e24738e 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 @@
<define>TEMPERATURE_MEASUREMENT_CLUSTER</define>
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
- <attribute side="server" code="0x0000" define="TEMP_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7fff" writable="false" isNullable="true" optional="false">MeasuredValue</attribute>
- <attribute side="server" code="0x0001" define="TEMP_MIN_MEASURED_VALUE" type="INT16S" min="0x954d" max="0x7ffe" writable="false" isNullable="true" default="0x8000" optional="false">MinMeasuredValue</attribute>
- <attribute side="server" code="0x0002" define="TEMP_MAX_MEASURED_VALUE" type="INT16S" min="0x954e" max="0x7fff" writable="false" isNullable="true" default="0x8000" optional="false">MaxMeasuredValue</attribute>
- <attribute side="server" code="0x0003" define="TEMP_TOLERANCE" type="INT16U" min="0" max="0x0800" writable="false" default="0" optional="true">Tolerance</attribute>
+ <attribute side="server" code="0x0000" define="TEMP_MEASURED_VALUE" type="int16s" min="0x954d" max="0x7fff" writable="false" isNullable="true" optional="false">MeasuredValue</attribute>
+ <attribute side="server" code="0x0001" define="TEMP_MIN_MEASURED_VALUE" type="int16s" min="0x954d" max="0x7ffe" writable="false" isNullable="true" default="0x8000" optional="false">MinMeasuredValue</attribute>
+ <attribute side="server" code="0x0002" define="TEMP_MAX_MEASURED_VALUE" type="int16s" min="0x954e" max="0x7fff" writable="false" isNullable="true" default="0x8000" optional="false">MaxMeasuredValue</attribute>
+ <attribute side="server" code="0x0003" define="TEMP_TOLERANCE" type="int16u" min="0" max="0x0800" writable="false" default="0" optional="true">Tolerance</attribute>
</cluster>
</configurator>
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 1da90ce..2f7e137 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 @@
<domain name="CHIP"/>
<struct name="TestListStructOctet">
<cluster code="0xFFF1FC05"/>
- <item name="member1" type="INT64U"/>
- <item name="member2" type="OCTET_STRING" length="32"/>
+ <item name="member1" type="int64u"/>
+ <item name="member2" type="octet_string" length="32"/>
</struct>
<struct name="TestFabricScoped" isFabricScoped="true">
<cluster code="0xFFF1FC05"/>
- <item fieldId="1" name="fabricSensitiveInt8u" type="INT8U" isFabricSensitive="true"/>
- <item fieldId="2" name="optionalFabricSensitiveInt8u" type="INT8U" optional="true" isFabricSensitive="true"/>
- <item fieldId="3" name="nullableFabricSensitiveInt8u" type="INT8U" isNullable="true" isFabricSensitive="true"/>
- <item fieldId="4" name="nullableOptionalFabricSensitiveInt8u" type="INT8U" optional="true" isNullable="true" isFabricSensitive="true"/>
- <item fieldId="5" name="fabricSensitiveCharString" type="CHAR_STRING" isFabricSensitive="true"/>
+ <item fieldId="1" name="fabricSensitiveInt8u" type="int8u" isFabricSensitive="true"/>
+ <item fieldId="2" name="optionalFabricSensitiveInt8u" type="int8u" optional="true" isFabricSensitive="true"/>
+ <item fieldId="3" name="nullableFabricSensitiveInt8u" type="int8u" isNullable="true" isFabricSensitive="true"/>
+ <item fieldId="4" name="nullableOptionalFabricSensitiveInt8u" type="int8u" optional="true" isNullable="true" isFabricSensitive="true"/>
+ <item fieldId="5" name="fabricSensitiveCharString" type="char_string" isFabricSensitive="true"/>
<item fieldId="6" name="fabricSensitiveStruct" type="SimpleStruct" isFabricSensitive="true"/>
- <item fieldId="7" name="fabricSensitiveInt8uList" type="INT8U" array="true" isFabricSensitive="true"/>
+ <item fieldId="7" name="fabricSensitiveInt8uList" type="int8u" array="true" isFabricSensitive="true"/>
</struct>
- <enum name="SimpleEnum" type="ENUM8">
+ <enum name="SimpleEnum" type="enum8">
<cluster code="0xFFF1FC05"/>
<item name="Unspecified" value="0x00"/>
<item name="ValueA" value="0x01"/>
@@ -41,7 +41,7 @@
<item name="ValueC" value="0x03"/>
</enum>
- <bitmap name="SimpleBitmap" type="BITMAP8">
+ <bitmap name="SimpleBitmap" type="bitmap8">
<cluster code="0xFFF1FC05"/>
<field name="ValueA" mask="0x1"/>
<field name="ValueB" mask="0x2"/>
@@ -50,11 +50,11 @@
<struct name="SimpleStruct">
<cluster code="0xFFF1FC05"/>
- <item name="a" type="INT8U" optional="false"/>
- <item name="b" type="BOOLEAN" optional="false"/>
+ <item name="a" type="int8u" optional="false"/>
+ <item name="b" type="boolean" optional="false"/>
<item name="c" type="SimpleEnum" optional="false"/>
- <item name="d" type="OCTET_STRING" optional="false"/>
- <item name="e" type="CHAR_STRING" optional="false"/>
+ <item name="d" type="octet_string" optional="false"/>
+ <item name="e" type="char_string" optional="false"/>
<item name="f" type="SimpleBitmap" optional="false"/>
<item name="g" type="single" optional="false"/>
<item name="h" type="double" optional="false"/>
@@ -62,20 +62,20 @@
<struct name="NestedStruct">
<cluster code="0xFFF1FC05"/>
- <item name="a" type="INT8U" optional="false"/>
- <item name="b" type="BOOLEAN" optional="false"/>
+ <item name="a" type="int8u" optional="false"/>
+ <item name="b" type="boolean" optional="false"/>
<item name="c" type="SimpleStruct" optional="false"/>
</struct>
<struct name="NestedStructList">
<cluster code="0xFFF1FC05"/>
- <item name="a" type="INT8U" optional="false"/>
- <item name="b" type="BOOLEAN" optional="false"/>
+ <item name="a" type="int8u" optional="false"/>
+ <item name="b" type="boolean" optional="false"/>
<item name="c" type="SimpleStruct" optional="false"/>
<item name="d" type="SimpleStruct" array="true" optional="false"/>
- <item name="e" type="INT32U" array="true" optional="false"/>
- <item name="f" type="OCTET_STRING" array="true" optional="false"/>
- <item name="g" type="INT8U" array="true" optional="false"/>
+ <item name="e" type="int32u" array="true" optional="false"/>
+ <item name="f" type="octet_string" array="true" optional="false"/>
+ <item name="g" type="int8u" array="true" optional="false"/>
</struct>
<struct name="DoubleNestedStructList">
@@ -86,13 +86,13 @@
<struct name="NullablesAndOptionalsStruct">
<cluster code="0xFFF1FC05"/>
- <item name="NullableInt" type="INT16U" isNullable="true"/>
- <item name="OptionalInt" type="INT16U" optional="true"/>
- <item name="NullableOptionalInt" type="INT16U" isNullable="true"
+ <item name="NullableInt" type="int16u" isNullable="true"/>
+ <item name="OptionalInt" type="int16u" optional="true"/>
+ <item name="NullableOptionalInt" type="int16u" isNullable="true"
optional="true"/>
- <item name="NullableString" type="CHAR_STRING" isNullable="true"/>
- <item name="OptionalString" type="CHAR_STRING" optional="true"/>
- <item name="NullableOptionalString" type="CHAR_STRING" isNullable="true"
+ <item name="NullableString" type="char_string" isNullable="true"/>
+ <item name="OptionalString" type="char_string" optional="true"/>
+ <item name="NullableOptionalString" type="char_string" isNullable="true"
optional="true"/>
<item name="NullableStruct" type="SimpleStruct" isNullable="true"/>
<item name="OptionalStruct" type="SimpleStruct" optional="true"/>
@@ -104,7 +104,7 @@
array="true" optional="true"/>
</struct>
- <bitmap name="Bitmap8MaskMap" type="BITMAP8">
+ <bitmap name="Bitmap8MaskMap" type="bitmap8">
<cluster code="0xFFF1FC05" />
<field mask="0x01" name="MaskVal1" />
<field mask="0x02" name="MaskVal2" />
@@ -112,7 +112,7 @@
<field mask="0x40" name="MaskVal4" />
</bitmap>
- <bitmap name="Bitmap16MaskMap" type="BITMAP16">
+ <bitmap name="Bitmap16MaskMap" type="bitmap16">
<cluster code="0xFFF1FC05" />
<field mask="0x01" name="MaskVal1" />
<field mask="0x02" name="MaskVal2" />
@@ -120,7 +120,7 @@
<field mask="0x4000" name="MaskVal4" />
</bitmap>
- <bitmap name="Bitmap32MaskMap" type="BITMAP32">
+ <bitmap name="Bitmap32MaskMap" type="bitmap32">
<cluster code="0xFFF1FC05" />
<field mask="0x01" name="MaskVal1" />
<field mask="0x02" name="MaskVal2" />
@@ -128,7 +128,7 @@
<field mask="0x40000000" name="MaskVal4" />
</bitmap>
- <bitmap name="Bitmap64MaskMap" type="BITMAP64">
+ <bitmap name="Bitmap64MaskMap" type="bitmap64">
<cluster code="0xFFF1FC05" />
<field mask="0x01" name="MaskVal1" />
<field mask="0x02" name="MaskVal2" />
@@ -143,40 +143,40 @@
<define>UNIT_TESTING_CLUSTER</define>
<description>The Test Cluster is meant to validate the generated code</description>
<!-- Base data types -->
- <attribute side="server" code="0x0000" define="BOOLEAN" type="BOOLEAN" writable="true" default="false" optional="false">boolean</attribute>
+ <attribute side="server" code="0x0000" define="BOOLEAN" type="boolean" writable="true" default="false" optional="false">boolean</attribute>
<attribute side="server" code="0x0001" define="BITMAP8" type="Bitmap8MaskMap" writable="true" default="0" optional="false">bitmap8</attribute>
<attribute side="server" code="0x0002" define="BITMAP16" type="Bitmap16MaskMap" writable="true" default="0" optional="false">bitmap16</attribute>
<attribute side="server" code="0x0003" define="BITMAP32" type="Bitmap32MaskMap" writable="true" default="0" optional="false">bitmap32</attribute>
<attribute side="server" code="0x0004" define="BITMAP64" type="Bitmap64MaskMap" writable="true" default="0" optional="false">bitmap64</attribute>
- <attribute side="server" code="0x0005" define="INT8U" type="INT8U" writable="true" default="0" optional="false">int8u</attribute>
- <attribute side="server" code="0x0006" define="INT16U" type="INT16U" writable="true" default="0" optional="false">int16u</attribute>
- <attribute side="server" code="0x0007" define="INT24U" type="INT24U" writable="true" default="0" optional="false">int24u</attribute>
- <attribute side="server" code="0x0008" define="INT32U" type="INT32U" writable="true" default="0" optional="false">int32u</attribute>
- <attribute side="server" code="0x0009" define="INT40U" type="INT40U" writable="true" default="0" optional="false">int40u</attribute>
- <attribute side="server" code="0x000A" define="INT48U" type="INT48U" writable="true" default="0" optional="false">int48u</attribute>
- <attribute side="server" code="0x000B" define="INT56U" type="INT56U" writable="true" default="0" optional="false">int56u</attribute>
- <attribute side="server" code="0x000C" define="INT64U" type="INT64U" writable="true" default="0" optional="false">int64u</attribute>
- <attribute side="server" code="0x000D" define="INT8S" type="INT8S" writable="true" default="0" optional="false">int8s</attribute>
- <attribute side="server" code="0x000E" define="INT16S" type="INT16S" writable="true" default="0" optional="false">int16s</attribute>
- <attribute side="server" code="0x000F" define="INT24S" type="INT24S" writable="true" default="0" optional="false">int24s</attribute>
- <attribute side="server" code="0x0010" define="INT32S" type="INT32S" writable="true" default="0" optional="false">int32s</attribute>
- <attribute side="server" code="0x0011" define="INT40S" type="INT40S" writable="true" default="0" optional="false">int40s</attribute>
- <attribute side="server" code="0x0012" define="INT48S" type="INT48S" writable="true" default="0" optional="false">int48s</attribute>
- <attribute side="server" code="0x0013" define="INT56S" type="INT56S" writable="true" default="0" optional="false">int56s</attribute>
- <attribute side="server" code="0x0014" define="INT64S" type="INT64S" writable="true" default="0" optional="false">int64s</attribute>
- <attribute side="server" code="0x0015" define="ENUM8" type="ENUM8" writable="true" default="0" optional="false">enum8</attribute>
- <attribute side="server" code="0x0016" define="ENUM16" type="ENUM16" writable="true" default="0" optional="false">enum16</attribute>
+ <attribute side="server" code="0x0005" define="INT8U" type="int8u" writable="true" default="0" optional="false">int8u</attribute>
+ <attribute side="server" code="0x0006" define="INT16U" type="int16u" writable="true" default="0" optional="false">int16u</attribute>
+ <attribute side="server" code="0x0007" define="INT24U" type="int24u" writable="true" default="0" optional="false">int24u</attribute>
+ <attribute side="server" code="0x0008" define="INT32U" type="int32u" writable="true" default="0" optional="false">int32u</attribute>
+ <attribute side="server" code="0x0009" define="INT40U" type="int40u" writable="true" default="0" optional="false">int40u</attribute>
+ <attribute side="server" code="0x000A" define="INT48U" type="int48u" writable="true" default="0" optional="false">int48u</attribute>
+ <attribute side="server" code="0x000B" define="INT56U" type="int56u" writable="true" default="0" optional="false">int56u</attribute>
+ <attribute side="server" code="0x000C" define="INT64U" type="int64u" writable="true" default="0" optional="false">int64u</attribute>
+ <attribute side="server" code="0x000D" define="INT8S" type="int8s" writable="true" default="0" optional="false">int8s</attribute>
+ <attribute side="server" code="0x000E" define="INT16S" type="int16s" writable="true" default="0" optional="false">int16s</attribute>
+ <attribute side="server" code="0x000F" define="INT24S" type="int24s" writable="true" default="0" optional="false">int24s</attribute>
+ <attribute side="server" code="0x0010" define="INT32S" type="int32s" writable="true" default="0" optional="false">int32s</attribute>
+ <attribute side="server" code="0x0011" define="INT40S" type="int40s" writable="true" default="0" optional="false">int40s</attribute>
+ <attribute side="server" code="0x0012" define="INT48S" type="int48s" writable="true" default="0" optional="false">int48s</attribute>
+ <attribute side="server" code="0x0013" define="INT56S" type="int56s" writable="true" default="0" optional="false">int56s</attribute>
+ <attribute side="server" code="0x0014" define="INT64S" type="int64s" writable="true" default="0" optional="false">int64s</attribute>
+ <attribute side="server" code="0x0015" define="ENUM8" type="enum8" writable="true" default="0" optional="false">enum8</attribute>
+ <attribute side="server" code="0x0016" define="ENUM16" type="enum16" writable="true" default="0" optional="false">enum16</attribute>
<attribute side="server" code="0x0017" define="FLOAT_SINGLE" type="SINGLE" writable="true" default="0" optional="false">float_single</attribute>
<attribute side="server" code="0x0018" define="FLOAT_DOUBLE" type="DOUBLE" writable="true" default="0" optional="false">float_double</attribute>
- <attribute side="server" code="0x0019" define="OCTET_STRING" type="OCTET_STRING" length="10" writable="true" optional="false">octet_string</attribute>
- <attribute side="server" code="0x001A" define="LIST" type="ARRAY" entryType="INT8U" length="10" writable="true" optional="false">list_int8u</attribute>
- <attribute side="server" code="0x001B" define="LIST_OCTET_STRING" type="ARRAY" entryType="OCTET_STRING" length="254" writable="true" optional="false">list_octet_string</attribute>
+ <attribute side="server" code="0x0019" define="OCTET_STRING" type="octet_string" length="10" writable="true" optional="false">octet_string</attribute>
+ <attribute side="server" code="0x001A" define="LIST" type="ARRAY" entryType="int8u" length="10" writable="true" optional="false">list_int8u</attribute>
+ <attribute side="server" code="0x001B" define="LIST_OCTET_STRING" type="ARRAY" entryType="octet_string" length="254" writable="true" optional="false">list_octet_string</attribute>
<attribute side="server" code="0x001C" define="LIST_STRUCT_OCTET_STRING" type="ARRAY" entryType="TestListStructOctet" length="254" writable="true" optional="false">list_struct_octet_string</attribute>
<attribute side="server" code="0x001D" define="LONG_OCTET_STRING" type="LONG_OCTET_STRING" length="1000" writable="true" optional="false">long_octet_string</attribute>
- <attribute side="server" code="0x001E" define="CHAR_STRING" type="CHAR_STRING" length="10" writable="true" optional="false">char_string</attribute>
+ <attribute side="server" code="0x001E" define="CHAR_STRING" type="char_string" length="10" writable="true" optional="false">char_string</attribute>
<attribute side="server" code="0x001F" define="LONG_CHAR_STRING" type="LONG_CHAR_STRING" length="1000" writable="true" optional="false">long_char_string</attribute>
- <attribute side="server" code="0x0020" define="EPOCH_US" type="EPOCH_US" writable="true" optional="false">epoch_us</attribute>
- <attribute side="server" code="0x0021" define="EPOCH_S" type="EPOCH_S" writable="true" optional="false">epoch_s</attribute>
+ <attribute side="server" code="0x0020" define="EPOCH_US" type="epoch_us" writable="true" optional="false">epoch_us</attribute>
+ <attribute side="server" code="0x0021" define="EPOCH_S" type="epoch_s" writable="true" optional="false">epoch_s</attribute>
<attribute side="server" code="0x0022" define="TEST_VENDOR_ID" type="vendor_id"
writable="true" optional="false" default="0">vendor_id</attribute>
<attribute side="server" code="0x0023" define="LIST_OF_STRUCTS_WITH_OPTIONALS" type="ARRAY" entryType="NullablesAndOptionalsStruct"
@@ -190,41 +190,41 @@
<attribute side="server" code="0x002A" define="LIST_LONG_OCTET_STRING" type="ARRAY" entryType="LONG_OCTET_STRING" length="1000" writable="true" optional="false">list_long_octet_string</attribute>
<attribute side="server" code="0x002B" define="LIST_FABRIC_SCOPED" type="ARRAY" entryType="TestFabricScoped" length="10" writable="true" optional="false">list_fabric_scoped</attribute>
<attribute side="server" code="0x0030" define="TIMED_WRITE_BOOLEAN"
- type="BOOLEAN" writable="true" mustUseTimedWrite="true">timed_write_boolean</attribute>
+ type="boolean" writable="true" mustUseTimedWrite="true">timed_write_boolean</attribute>
<!-- Reading/writing the following two attributes will respond with a
general error or a cluster-specific error respectively -->
<attribute side="server" code="0x0031" define="GENERAL_ERROR_BOOLEAN"
- type="BOOLEAN" writable="true" optional="false">general_error_boolean</attribute>
+ type="boolean" writable="true" optional="false">general_error_boolean</attribute>
<attribute side="server" code="0x0032" define="CLUSTER_ERROR_BOOLEAN"
- type="BOOLEAN" writable="true" optional="false">cluster_error_boolean</attribute>
+ type="boolean" writable="true" optional="false">cluster_error_boolean</attribute>
- <attribute side="server" code="0x4000" define="NULLABLE_BOOLEAN" type="BOOLEAN" writable="true" default="false" isNullable="true" optional="false">nullable_boolean</attribute>
+ <attribute side="server" code="0x4000" define="NULLABLE_BOOLEAN" type="boolean" writable="true" default="false" isNullable="true" optional="false">nullable_boolean</attribute>
<attribute side="server" code="0x4001" define="NULLABLE_BITMAP8" type="Bitmap8MaskMap" writable="true" default="0" isNullable="true" optional="false">nullable_bitmap8</attribute>
<attribute side="server" code="0x4002" define="NULLABLE_BITMAP16" type="Bitmap16MaskMap" writable="true" default="0" isNullable="true" optional="false">nullable_bitmap16</attribute>
<attribute side="server" code="0x4003" define="NULLABLE_BITMAP32" type="Bitmap32MaskMap" writable="true" default="0" isNullable="true" optional="false">nullable_bitmap32</attribute>
<attribute side="server" code="0x4004" define="NULLABLE_BITMAP64" type="Bitmap64MaskMap" writable="true" default="0" isNullable="true" optional="false">nullable_bitmap64</attribute>
- <attribute side="server" code="0x4005" define="NULLABLE_INT8U" type="INT8U" writable="true" default="0" isNullable="true" optional="false">nullable_int8u</attribute>
- <attribute side="server" code="0x4006" define="NULLABLE_INT16U" type="INT16U" writable="true" default="0" isNullable="true" optional="false">nullable_int16u</attribute>
- <attribute side="server" code="0x4007" define="NULLABLE_INT24U" type="INT24U" writable="true" default="0" isNullable="true" optional="false">nullable_int24u</attribute>
- <attribute side="server" code="0x4008" define="NULLABLE_INT32U" type="INT32U" writable="true" default="0" isNullable="true" optional="false">nullable_int32u</attribute>
- <attribute side="server" code="0x4009" define="NULLABLE_INT40U" type="INT40U" writable="true" default="0" isNullable="true" optional="false">nullable_int40u</attribute>
- <attribute side="server" code="0x400A" define="NULLABLE_INT48U" type="INT48U" writable="true" default="0" isNullable="true" optional="false">nullable_int48u</attribute>
- <attribute side="server" code="0x400B" define="NULLABLE_INT56U" type="INT56U" writable="true" default="0" isNullable="true" optional="false">nullable_int56u</attribute>
- <attribute side="server" code="0x400C" define="NULLABLE_INT64U" type="INT64U" writable="true" default="0" isNullable="true" optional="false">nullable_int64u</attribute>
- <attribute side="server" code="0x400D" define="NULLABLE_INT8S" type="INT8S" writable="true" default="0" isNullable="true" optional="false">nullable_int8s</attribute>
- <attribute side="server" code="0x400E" define="NULLABLE_INT16S" type="INT16S" writable="true" default="0" isNullable="true" optional="false">nullable_int16s</attribute>
- <attribute side="server" code="0x400F" define="NULLABLE_INT24S" type="INT24S" writable="true" default="0" isNullable="true" optional="false">nullable_int24s</attribute>
- <attribute side="server" code="0x4010" define="NULLABLE_INT32S" type="INT32S" writable="true" default="0" isNullable="true" optional="false">nullable_int32s</attribute>
- <attribute side="server" code="0x4011" define="NULLABLE_INT40S" type="INT40S" writable="true" default="0" isNullable="true" optional="false">nullable_int40s</attribute>
- <attribute side="server" code="0x4012" define="NULLABLE_INT48S" type="INT48S" writable="true" default="0" isNullable="true" optional="false">nullable_int48s</attribute>
- <attribute side="server" code="0x4013" define="NULLABLE_INT56S" type="INT56S" writable="true" default="0" isNullable="true" optional="false">nullable_int56s</attribute>
- <attribute side="server" code="0x4014" define="NULLABLE_INT64S" type="INT64S" writable="true" default="0" isNullable="true" optional="false">nullable_int64s</attribute>
- <attribute side="server" code="0x4015" define="NULLABLE_ENUM8" type="ENUM8" writable="true" default="0" isNullable="true" optional="false">nullable_enum8</attribute>
- <attribute side="server" code="0x4016" define="NULLABLE_ENUM16" type="ENUM16" writable="true" default="0" isNullable="true" optional="false">nullable_enum16</attribute>
+ <attribute side="server" code="0x4005" define="NULLABLE_INT8U" type="int8u" writable="true" default="0" isNullable="true" optional="false">nullable_int8u</attribute>
+ <attribute side="server" code="0x4006" define="NULLABLE_INT16U" type="int16u" writable="true" default="0" isNullable="true" optional="false">nullable_int16u</attribute>
+ <attribute side="server" code="0x4007" define="NULLABLE_INT24U" type="int24u" writable="true" default="0" isNullable="true" optional="false">nullable_int24u</attribute>
+ <attribute side="server" code="0x4008" define="NULLABLE_INT32U" type="int32u" writable="true" default="0" isNullable="true" optional="false">nullable_int32u</attribute>
+ <attribute side="server" code="0x4009" define="NULLABLE_INT40U" type="int40u" writable="true" default="0" isNullable="true" optional="false">nullable_int40u</attribute>
+ <attribute side="server" code="0x400A" define="NULLABLE_INT48U" type="int48u" writable="true" default="0" isNullable="true" optional="false">nullable_int48u</attribute>
+ <attribute side="server" code="0x400B" define="NULLABLE_INT56U" type="int56u" writable="true" default="0" isNullable="true" optional="false">nullable_int56u</attribute>
+ <attribute side="server" code="0x400C" define="NULLABLE_INT64U" type="int64u" writable="true" default="0" isNullable="true" optional="false">nullable_int64u</attribute>
+ <attribute side="server" code="0x400D" define="NULLABLE_INT8S" type="int8s" writable="true" default="0" isNullable="true" optional="false">nullable_int8s</attribute>
+ <attribute side="server" code="0x400E" define="NULLABLE_INT16S" type="int16s" writable="true" default="0" isNullable="true" optional="false">nullable_int16s</attribute>
+ <attribute side="server" code="0x400F" define="NULLABLE_INT24S" type="int24s" writable="true" default="0" isNullable="true" optional="false">nullable_int24s</attribute>
+ <attribute side="server" code="0x4010" define="NULLABLE_INT32S" type="int32s" writable="true" default="0" isNullable="true" optional="false">nullable_int32s</attribute>
+ <attribute side="server" code="0x4011" define="NULLABLE_INT40S" type="int40s" writable="true" default="0" isNullable="true" optional="false">nullable_int40s</attribute>
+ <attribute side="server" code="0x4012" define="NULLABLE_INT48S" type="int48s" writable="true" default="0" isNullable="true" optional="false">nullable_int48s</attribute>
+ <attribute side="server" code="0x4013" define="NULLABLE_INT56S" type="int56s" writable="true" default="0" isNullable="true" optional="false">nullable_int56s</attribute>
+ <attribute side="server" code="0x4014" define="NULLABLE_INT64S" type="int64s" writable="true" default="0" isNullable="true" optional="false">nullable_int64s</attribute>
+ <attribute side="server" code="0x4015" define="NULLABLE_ENUM8" type="enum8" writable="true" default="0" isNullable="true" optional="false">nullable_enum8</attribute>
+ <attribute side="server" code="0x4016" define="NULLABLE_ENUM16" type="enum16" writable="true" default="0" isNullable="true" optional="false">nullable_enum16</attribute>
<attribute side="server" code="0x4017" define="NULLABLE_FLOAT_SINGLE" type="SINGLE" writable="true" default="0" isNullable="true" optional="false">nullable_float_single</attribute>
<attribute side="server" code="0x4018" define="NULLABLE_FLOAT_DOUBLE" type="DOUBLE" writable="true" default="0" isNullable="true" optional="false">nullable_float_double</attribute>
- <attribute side="server" code="0x4019" define="NULLABLE_OCTET_STRING" type="OCTET_STRING" length="10" writable="true" isNullable="true" optional="false">nullable_octet_string</attribute>
- <attribute side="server" code="0x401E" define="NULLABLE_CHAR_STRING" type="CHAR_STRING" length="10" writable="true" isNullable="true" optional="false">nullable_char_string</attribute>
+ <attribute side="server" code="0x4019" define="NULLABLE_OCTET_STRING" type="octet_string" length="10" writable="true" isNullable="true" optional="false">nullable_octet_string</attribute>
+ <attribute side="server" code="0x401E" define="NULLABLE_CHAR_STRING" type="char_string" length="10" writable="true" isNullable="true" optional="false">nullable_char_string</attribute>
<attribute side="server" code="0x4024" define="NULLABLE_SIMPLE_ENUM" type="SimpleEnum" writable="true" isNullable="true" optional="false">nullable_enum_attr</attribute>
<attribute side="server" code="0x4025" define="NULLABLE_STRUCT" type="SimpleStruct" writable="true" isNullable="true" optional="false">nullable_struct</attribute>
<attribute side="server" code="0x4026" define="NULLABLE_RANGE_RESTRICTED_INT8U" type="int8u" min="20" max="100" writable="true" isNullable="true" optional="false" default="70">nullable_range_restricted_int8u</attribute>
@@ -232,10 +232,10 @@
<attribute side="server" code="0x4028" define="NULLABLE_RANGE_RESTRICTED_INT16U" type="int16u" min="100" max="1000" writable="true" isNullable="true" optional="false" default="200">nullable_range_restricted_int16u</attribute>
<attribute side="server" code="0x4029" define="NULLABLE_RANGE_RESTRICTED_INT16S" type="int16s" min="-150" max="200" writable="true" isNullable="true" optional="false" default="-5">nullable_range_restricted_int16s</attribute>
- <attribute side="server" code="0x402A" define="WRITE_ONLY_INT8U" type="INT8U" writable="true" default="0" optional="true">write_only_int8u</attribute>
+ <attribute side="server" code="0x402A" define="WRITE_ONLY_INT8U" type="int8u" writable="true" default="0" optional="true">write_only_int8u</attribute>
<!-- This attribute should not be enabled on the server side -->
- <attribute side="server" code="0x00FF" define="UNSUPPORTED" type="BOOLEAN" writable="true" optional="true">unsupported</attribute>
+ <attribute side="server" code="0x00FF" define="UNSUPPORTED" type="boolean" writable="true" optional="true">unsupported</attribute>
<!-- Test Commands -->
<command source="client" code="0x00" name="Test" optional="false">
@@ -266,15 +266,15 @@
<description>
Command that takes two arguments and returns their sum.
</description>
- <arg name="arg1" type="INT8U"/>
- <arg name="arg2" type="INT8U"/>
+ <arg name="arg1" type="int8u"/>
+ <arg name="arg2" type="int8u"/>
</command>
<command source="client" code="0x05" name="TestSimpleArgumentRequest" response="TestSimpleArgumentResponse" optional="true">
<description>
Command that takes an argument which is bool
</description>
- <arg name="arg1" type="BOOLEAN"/>
+ <arg name="arg1" type="boolean"/>
</command>
<command source="client" code="0x06" name="TestStructArrayArgumentRequest" response="TestStructArrayArgumentResponse" optional="true">
@@ -284,9 +284,9 @@
<arg name="arg1" type="NestedStructList" array="true"/>
<arg name="arg2" type="SimpleStruct" array="true"/>
<arg name="arg3" type="SimpleEnum" array="true"/>
- <arg name="arg4" type="BOOLEAN" array="true"/>
+ <arg name="arg4" type="boolean" array="true"/>
<arg name="arg5" type="SimpleEnum"/>
- <arg name="arg6" type="BOOLEAN"/>
+ <arg name="arg6" type="boolean"/>
</command>
<command source="client" code="0x07" name="TestStructArgumentRequest"
@@ -322,7 +322,7 @@
returns false if the list contains a 0 in it, true otherwise (including
if the list is empty).
</description>
- <arg name="arg1" type="INT8U" array="true"/>
+ <arg name="arg1" type="int8u" array="true"/>
</command>
<command source="client" code="0x0B" name="TestNestedStructListArgumentRequest" response="BooleanResponse" optional="true">
@@ -350,7 +350,7 @@
Command that takes an argument which is a list of INT8U and expects a
response that reverses the list.
</description>
- <arg name="arg1" type="INT8U" array="true"/>
+ <arg name="arg1" type="int8u" array="true"/>
</command>
<command source="client" code="0x0E" name="TestEnumsRequest" response="TestEnumsResponse" optional="true">
@@ -370,7 +370,7 @@
if that's true a boolean indicating whether the argument was null, and
if that' false the argument it received.
</description>
- <arg name="arg1" type="INT8U" optional="true" isNullable="true"/>
+ <arg name="arg1" type="int8u" optional="true" isNullable="true"/>
</command>
<command source="client" code="0x10" name="TestComplexNullableOptionalRequest"
@@ -380,13 +380,13 @@
response returns information about which things were received and what
their state was.
</description>
- <arg name="NullableInt" type="INT16U" isNullable="true"/>
- <arg name="OptionalInt" type="INT16U" optional="true"/>
- <arg name="NullableOptionalInt" type="INT16U" isNullable="true"
+ <arg name="NullableInt" type="int16u" isNullable="true"/>
+ <arg name="OptionalInt" type="int16u" optional="true"/>
+ <arg name="NullableOptionalInt" type="int16u" isNullable="true"
optional="true"/>
- <arg name="NullableString" type="CHAR_STRING" isNullable="true"/>
- <arg name="OptionalString" type="CHAR_STRING" optional="true"/>
- <arg name="NullableOptionalString" type="CHAR_STRING" isNullable="true"
+ <arg name="NullableString" type="char_string" isNullable="true"/>
+ <arg name="OptionalString" type="char_string" optional="true"/>
+ <arg name="NullableOptionalString" type="char_string" isNullable="true"
optional="true"/>
<arg name="NullableStruct" type="SimpleStruct" isNullable="true"/>
<arg name="OptionalStruct" type="SimpleStruct" optional="true"/>
@@ -419,7 +419,7 @@
<description>
Command that takes an optional argument which is bool. It responds with a success value if the optional is set to any value.
</description>
- <arg name="arg1" type="BOOLEAN" optional="true"/>
+ <arg name="arg1" type="boolean" optional="true"/>
</command>
<command source="client" code="0x14" name="TestEmitTestEventRequest"
@@ -427,9 +427,9 @@
<description>
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.
</description>
- <arg name="arg1" type="INT8U"/>
+ <arg name="arg1" type="int8u"/>
<arg name="arg2" type="SimpleEnum"/>
- <arg name="arg3" type="BOOLEAN"/>
+ <arg name="arg3" type="boolean"/>
</command>
<command source="client" code="0x15" name="TestEmitTestFabricScopedEventRequest"
@@ -437,28 +437,28 @@
<description>
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.
</description>
- <arg name="arg1" type="INT8U"/>
+ <arg name="arg1" type="int8u"/>
</command>
<command source="server" code="0x00" name="TestSpecificResponse" optional="true" disableDefaultResponse="true">
<description>
Simple response for TestWithResponse with a simple return value
</description>
- <arg name="returnValue" type="INT8U"/>
+ <arg name="returnValue" type="int8u"/>
</command>
<command source="server" code="0x01" name="TestAddArgumentsResponse" optional="true" disableDefaultResponse="true">
<description>
Response for TestAddArguments that returns the sum.
</description>
- <arg name="returnValue" type="INT8U"/>
+ <arg name="returnValue" type="int8u"/>
</command>
<command source="server" code="0x02" name="TestSimpleArgumentResponse" optional="true" disableDefaultResponse="true">
<description>
Simple response for TestSimpleArgumentRequest with a simple return value
</description>
- <arg name="returnValue" type="BOOLEAN"/>
+ <arg name="returnValue" type="boolean"/>
</command>
<command source="server" code="0x03" name="TestStructArrayArgumentResponse" optional="true" disableDefaultResponse="true">
@@ -468,16 +468,16 @@
<arg name="arg1" type="NestedStructList" array="true"/>
<arg name="arg2" type="SimpleStruct" array="true"/>
<arg name="arg3" type="SimpleEnum" array="true"/>
- <arg name="arg4" type="BOOLEAN" array="true"/>
+ <arg name="arg4" type="boolean" array="true"/>
<arg name="arg5" type="SimpleEnum"/>
- <arg name="arg6" type="BOOLEAN"/>
+ <arg name="arg6" type="boolean"/>
</command>
<command source="server" code="0x04" name="TestListInt8UReverseResponse" optional="true" disableDefaultResponse="true">
<description>
Response that delivers the reversed list of uint8.
</description>
- <arg name="arg1" type="INT8U" array="true"/>
+ <arg name="arg1" type="int8u" array="true"/>
</command>
<command source="server" code="0x05" name="TestEnumsResponse" optional="true" disableDefaultResponse="true">
@@ -493,45 +493,45 @@
Delivers information about the argument TestNullableOptionalRequest had,
and the original value if there was one.
</description>
- <arg name="wasPresent" type="BOOLEAN"/>
- <arg name="wasNull" type="BOOLEAN" optional="true"/>
- <arg name="value" type="INT8U" optional="true"/>
- <arg name="originalValue" type="INT8U" optional="true" isNullable="true"/>
+ <arg name="wasPresent" type="boolean"/>
+ <arg name="wasNull" type="boolean" optional="true"/>
+ <arg name="value" type="int8u" optional="true"/>
+ <arg name="originalValue" type="int8u" optional="true" isNullable="true"/>
</command>
<command source="server" code="0x07" name="TestComplexNullableOptionalResponse" optional="true" disableDefaultResponse="true">
<description>
Delivers information about the arguments TestComplexNullableOptionalRequest had.
</description>
- <arg name="NullableIntWasNull" type="BOOLEAN"/>
- <arg name="NullableIntValue" type="INT16U" optional="true"/>
- <arg name="OptionalIntWasPresent" type="BOOLEAN"/>
- <arg name="OptionalIntValue" type="INT16U" optional="true"/>
- <arg name="NullableOptionalIntWasPresent" type="BOOLEAN"/>
- <arg name="NullableOptionalIntWasNull" type="BOOLEAN" optional="true"/>
- <arg name="NullableOptionalIntValue" type="INT16U" optional="true"/>
- <arg name="NullableStringWasNull" type="BOOLEAN"/>
- <arg name="NullableStringValue" type="CHAR_STRING" optional="true"/>
- <arg name="OptionalStringWasPresent" type="BOOLEAN"/>
- <arg name="OptionalStringValue" type="CHAR_STRING" optional="true"/>
- <arg name="NullableOptionalStringWasPresent" type="BOOLEAN"/>
- <arg name="NullableOptionalStringWasNull" type="BOOLEAN" optional="true"/>
- <arg name="NullableOptionalStringValue" type="CHAR_STRING" optional="true"/>
- <arg name="NullableStructWasNull" type="BOOLEAN"/>
+ <arg name="NullableIntWasNull" type="boolean"/>
+ <arg name="NullableIntValue" type="int16u" optional="true"/>
+ <arg name="OptionalIntWasPresent" type="boolean"/>
+ <arg name="OptionalIntValue" type="int16u" optional="true"/>
+ <arg name="NullableOptionalIntWasPresent" type="boolean"/>
+ <arg name="NullableOptionalIntWasNull" type="boolean" optional="true"/>
+ <arg name="NullableOptionalIntValue" type="int16u" optional="true"/>
+ <arg name="NullableStringWasNull" type="boolean"/>
+ <arg name="NullableStringValue" type="char_string" optional="true"/>
+ <arg name="OptionalStringWasPresent" type="boolean"/>
+ <arg name="OptionalStringValue" type="char_string" optional="true"/>
+ <arg name="NullableOptionalStringWasPresent" type="boolean"/>
+ <arg name="NullableOptionalStringWasNull" type="boolean" optional="true"/>
+ <arg name="NullableOptionalStringValue" type="char_string" optional="true"/>
+ <arg name="NullableStructWasNull" type="boolean"/>
<arg name="NullableStructValue" type="SimpleStruct" optional="true"/>
- <arg name="OptionalStructWasPresent" type="BOOLEAN"/>
+ <arg name="OptionalStructWasPresent" type="boolean"/>
<arg name="OptionalStructValue" type="SimpleStruct" optional="true"/>
- <arg name="NullableOptionalStructWasPresent" type="BOOLEAN"/>
- <arg name="NullableOptionalStructWasNull" type="BOOLEAN" optional="true"/>
+ <arg name="NullableOptionalStructWasPresent" type="boolean"/>
+ <arg name="NullableOptionalStructWasNull" type="boolean" optional="true"/>
<arg name="NullableOptionalStructValue" type="SimpleStruct" optional="true"/>
- <arg name="NullableListWasNull" type="BOOLEAN"/>
+ <arg name="NullableListWasNull" type="boolean"/>
<arg name="NullableListValue" type="SimpleEnum" array="true"
optional="true"/>
- <arg name="OptionalListWasPresent" type="BOOLEAN"/>
+ <arg name="OptionalListWasPresent" type="boolean"/>
<arg name="OptionalListValue" type="SimpleEnum" array="true"
optional="true"/>
- <arg name="NullableOptionalListWasPresent" type="BOOLEAN"/>
- <arg name="NullableOptionalListWasNull" type="BOOLEAN" optional="true"/>
+ <arg name="NullableOptionalListWasPresent" type="boolean"/>
+ <arg name="NullableOptionalListWasNull" type="boolean" optional="true"/>
<arg name="NullableOptionalListValue" type="SimpleEnum" array="true"
optional="true"/>
</command>
@@ -541,7 +541,7 @@
Delivers a single boolean argument. What the argument means depends on
what we're responding to.
</description>
- <arg name="value" type="BOOLEAN"/>
+ <arg name="value" type="boolean"/>
</command>
<command source="server" code="0x09" name="SimpleStructResponse" optional="true" disableDefaultResponse="true">
@@ -556,21 +556,21 @@
<description>
Delivers the ID of an event in response to test command emitting fabric scoped events.
</description>
- <arg name="value" type="INT64U"/>
+ <arg name="value" type="int64u"/>
</command>
<command source="server" code="0x0B" name="TestEmitTestFabricScopedEventResponse" optional="true" disableDefaultResponse="true">
<description>
Delivers the ID of an event in response to test command emitting fabric scope events.
</description>
- <arg name="value" type="INT64U"/>
+ <arg name="value" type="int64u"/>
</command>
<event code="0x0001" name="TestEvent" priority="info" side="server">
<description>Example test event</description>
- <field id="1" name="arg1" type="INT8U"/>
+ <field id="1" name="arg1" type="int8u"/>
<field id="2" name="arg2" type="SimpleEnum"/>
- <field id="3" name="arg3" type="BOOLEAN"/>
+ <field id="3" name="arg3" type="boolean"/>
<field id="4" name="arg4" type="SimpleStruct"/>
<field id="5" name="arg5" type="SimpleStruct" array="true"/>
<field id="6" name="arg6" type="SimpleEnum" array="true"/>
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 e918a07..81215f0 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 @@
<configurator>
<domain name="HVAC"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0201"/>
<field name="Heating" mask="0x1"/>
<field name="Cooling" mask="0x2"/>
@@ -28,7 +28,7 @@
<field name="LocalTemperatureNotExposed" mask="0x40"/>
</bitmap>
- <bitmap name="DayOfWeek" type="BITMAP8">
+ <bitmap name="DayOfWeek" type="bitmap8">
<cluster code="0x0201"/>
<field name="Sunday" mask="0x01"/>
<field name="Monday" mask="0x02"/>
@@ -40,13 +40,13 @@
<field name="Away" mask="0x80"/>
</bitmap>
- <bitmap name="ModeForSequence" type="BITMAP8">
+ <bitmap name="ModeForSequence" type="bitmap8">
<cluster code="0x0201"/>
<field name="HeatSetpointPresent" mask="0x01"/>
<field name="CoolSetpointPresent" mask="0x02"/>
</bitmap>
- <enum name="ThermostatSystemMode" type="ENUM8">
+ <enum name="ThermostatSystemMode" type="enum8">
<cluster code="0x0201"/>
<item name="Off" value="0x0"/>
<item name="Auto" value="0x1"/>
@@ -59,14 +59,14 @@
<item name="Sleep" value="0x9"/>
</enum>
- <enum name="ThermostatRunningMode" type="ENUM8">
+ <enum name="ThermostatRunningMode" type="enum8">
<cluster code="0x0201"/>
<item name="Off" value="0x00"/>
<item name="Cool" value="0x03"/>
<item name="Heat" value="0x04"/>
</enum>
- <enum name="StartOfWeek" type="ENUM8">
+ <enum name="StartOfWeek" type="enum8">
<item name="Sunday" value="0x00"/>
<item name="Monday" value="0x01"/>
<item name="Tuesday" value="0x02"/>
@@ -76,7 +76,7 @@
<item name="Saturday" value="0x06"/>
</enum>
- <enum name="ThermostatControlSequence" type="ENUM8">
+ <enum name="ThermostatControlSequence" type="enum8">
<cluster code="0x0201"/>
<item name="CoolingOnly" value="0x0"/>
<item name="CoolingWithReheat" value="0x1"/>
@@ -86,12 +86,12 @@
<item name="CoolingAndHeatingWithReheat" value="0x5"/>
</enum>
- <enum name="TemperatureSetpointHold" type="ENUM8">
+ <enum name="TemperatureSetpointHold" type="enum8">
<item name="SetpointHoldOff" value="0x00"/>
<item name="SetpointHoldOn" value="0x01"/>
</enum>
- <enum name="SetpointAdjustMode" type="ENUM8">
+ <enum name="SetpointAdjustMode" type="enum8">
<cluster code="0x0201"/>
<item name="Heat" value="0x0"/>
<item name="Cool" value="0x1"/>
@@ -100,10 +100,10 @@
<struct name="ThermostatScheduleTransition">
<cluster code="0x0201"/>
- <item fieldId="0" name="TransitionTime" type="INT16U"/>
+ <item fieldId="0" name="TransitionTime" type="int16u"/>
<!-- See https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/6217 for HeatSetpoint and CoolSetpoint. They might end up being nullable. -->
- <item fieldId="1" name="HeatSetpoint" type="INT16S" isNullable="true"/>
- <item fieldId="2" name="CoolSetpoint" type="INT16S" isNullable="true"/>
+ <item fieldId="1" name="HeatSetpoint" type="int16s" isNullable="true"/>
+ <item fieldId="2" name="CoolSetpoint" type="int16s" isNullable="true"/>
</struct>
<cluster>
@@ -115,56 +115,56 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<globalAttribute side="either" code="0xFFFD" value="5"/>
- <attribute side="server" code="0x0000" define="LOCAL_TEMPERATURE" type="INT16S" min="0x954D" max="0x7FFF" writable="false" reportable="true" optional="false" isNullable="true">LocalTemperature</attribute>
- <attribute side="server" code="0x0001" define="OUTDOOR_TEMPERATURE" type="INT16S" min="0x954D" max="0x7FFF" writable="false" optional="true" isNullable="true">OutdoorTemperature</attribute>
- <attribute side="server" code="0x0002" define="THERMOSTAT_OCCUPANCY" type="BITMAP8" min="0x00" max="0x01" writable="false" default="0x01" optional="true">Occupancy</attribute>
+ <attribute side="server" code="0x0000" define="LOCAL_TEMPERATURE" type="int16s" min="0x954D" max="0x7FFF" writable="false" reportable="true" optional="false" isNullable="true">LocalTemperature</attribute>
+ <attribute side="server" code="0x0001" define="OUTDOOR_TEMPERATURE" type="int16s" min="0x954D" max="0x7FFF" writable="false" optional="true" isNullable="true">OutdoorTemperature</attribute>
+ <attribute side="server" code="0x0002" define="THERMOSTAT_OCCUPANCY" type="bitmap8" min="0x00" max="0x01" writable="false" default="0x01" optional="true">Occupancy</attribute>
<!-- OCCUPANCY -->
- <attribute side="server" code="0x0003" define="ABS_MIN_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="700" optional="true">AbsMinHeatSetpointLimit</attribute>
- <attribute side="server" code="0x0004" define="ABS_MAX_HEAT_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="3000" optional="true">AbsMaxHeatSetpointLimit</attribute>
- <attribute side="server" code="0x0005" define="ABS_MIN_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="1600" optional="true">AbsMinCoolSetpointLimit</attribute>
- <attribute side="server" code="0x0006" define="ABS_MAX_COOL_SETPOINT_LIMIT" type="INT16S" min="0x954D" max="0x7FFF" writable="false" default="3200" optional="true">AbsMaxCoolSetpointLimit</attribute>
- <attribute side="server" code="0x0007" define="PI_COOLING_DEMAND" type="INT8U" min="0x00" max="0x64" writable="false" reportable="true" optional="true">PICoolingDemand</attribute>
- <attribute side="server" code="0x0008" define="PI_HEATING_DEMAND" type="INT8U" min="0x00" max="0x64" writable="false" reportable="true" optional="true">PIHeatingDemand</attribute>
- <attribute side="server" code="0x0009" define="HVAC_SYSTEM_TYPE_CONFIGURATION" type="BITMAP8" min="0x00" max="0xFF" writable="true" optional="true">
+ <attribute side="server" code="0x0003" define="ABS_MIN_HEAT_SETPOINT_LIMIT" type="int16s" min="0x954D" max="0x7FFF" writable="false" default="700" optional="true">AbsMinHeatSetpointLimit</attribute>
+ <attribute side="server" code="0x0004" define="ABS_MAX_HEAT_SETPOINT_LIMIT" type="int16s" min="0x954D" max="0x7FFF" writable="false" default="3000" optional="true">AbsMaxHeatSetpointLimit</attribute>
+ <attribute side="server" code="0x0005" define="ABS_MIN_COOL_SETPOINT_LIMIT" type="int16s" min="0x954D" max="0x7FFF" writable="false" default="1600" optional="true">AbsMinCoolSetpointLimit</attribute>
+ <attribute side="server" code="0x0006" define="ABS_MAX_COOL_SETPOINT_LIMIT" type="int16s" min="0x954D" max="0x7FFF" writable="false" default="3200" optional="true">AbsMaxCoolSetpointLimit</attribute>
+ <attribute side="server" code="0x0007" define="PI_COOLING_DEMAND" type="int8u" min="0x00" max="0x64" writable="false" reportable="true" optional="true">PICoolingDemand</attribute>
+ <attribute side="server" code="0x0008" define="PI_HEATING_DEMAND" type="int8u" min="0x00" max="0x64" writable="false" reportable="true" optional="true">PIHeatingDemand</attribute>
+ <attribute side="server" code="0x0009" define="HVAC_SYSTEM_TYPE_CONFIGURATION" type="bitmap8" min="0x00" max="0xFF" writable="true" optional="true">
<description>HVACSystemTypeConfiguration</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="INT8S" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
<description>LocalTemperatureCalibration</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0011" define="OCCUPIED_COOLING_SETPOINT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="2600" optional="true">OccupiedCoolingSetpoint</attribute>
- <attribute side="server" code="0x0012" define="OCCUPIED_HEATING_SETPOINT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="2000" optional="true">OccupiedHeatingSetpoint</attribute>
- <attribute side="server" code="0x0013" define="UNOCCUPIED_COOLING_SETPOINT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="2600" optional="true">UnoccupiedCoolingSetpoint</attribute>
- <attribute side="server" code="0x0014" define="UNOCCUPIED_HEATING_SETPOINT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="2000" optional="true">UnoccupiedHeatingSetpoint</attribute>
- <attribute side="server" code="0x0015" define="MIN_HEAT_SETPOINT_LIMIT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="700" optional="true">
+ <attribute side="server" code="0x0011" define="OCCUPIED_COOLING_SETPOINT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="2600" optional="true">OccupiedCoolingSetpoint</attribute>
+ <attribute side="server" code="0x0012" define="OCCUPIED_HEATING_SETPOINT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="2000" optional="true">OccupiedHeatingSetpoint</attribute>
+ <attribute side="server" code="0x0013" define="UNOCCUPIED_COOLING_SETPOINT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="2600" optional="true">UnoccupiedCoolingSetpoint</attribute>
+ <attribute side="server" code="0x0014" define="UNOCCUPIED_HEATING_SETPOINT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="2000" optional="true">UnoccupiedHeatingSetpoint</attribute>
+ <attribute side="server" code="0x0015" define="MIN_HEAT_SETPOINT_LIMIT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="700" optional="true">
<description>MinHeatSetpointLimit</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0016" define="MAX_HEAT_SETPOINT_LIMIT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="3000" optional="true">
+ <attribute side="server" code="0x0016" define="MAX_HEAT_SETPOINT_LIMIT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="3000" optional="true">
<description>MaxHeatSetpointLimit</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0017" define="MIN_COOL_SETPOINT_LIMIT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="1600" optional="true">
+ <attribute side="server" code="0x0017" define="MIN_COOL_SETPOINT_LIMIT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="1600" optional="true">
<description>MinCoolSetpointLimit</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0018" define="MAX_COOL_SETPOINT_LIMIT" type="INT16S" min="-27315" max="0x7FFF" writable="true" default="3200" optional="true">
+ <attribute side="server" code="0x0018" define="MAX_COOL_SETPOINT_LIMIT" type="int16s" min="-27315" max="0x7FFF" writable="true" default="3200" optional="true">
<description>MaxCoolSetpointLimit</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="INT8S" min="0" max="25" writable="true" default="25" optional="true">
+ <attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="25" writable="true" default="25" optional="true">
<description>MinSetpointDeadBand</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x001A" define="REMOTE_SENSING" type="BITMAP8" min="0x00" max="0x07" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x001A" define="REMOTE_SENSING" type="bitmap8" min="0x00" max="0x07" writable="true" default="0x00" optional="true">
<description>RemoteSensing</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
@@ -174,33 +174,33 @@
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x001C" define="SYSTEM_MODE" type="ENUM8" min="0x00" max="0x07" writable="true" default="0x01" optional="false">
+ <attribute side="server" code="0x001C" define="SYSTEM_MODE" type="enum8" min="0x00" max="0x07" writable="true" default="0x01" optional="false">
<description>SystemMode</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x001E" define="THERMOSTAT_RUNNING_MODE" type="ENUM8" min="0x00" max="0x04" writable="false" optional="true">ThermostatRunningMode</attribute>
- <attribute side="server" code="0x0020" define="START_OF_WEEK" type="ENUM8" min="0x00" max="0x06" writable="false" optional="true">StartOfWeek</attribute>
- <attribute side="server" code="0x0021" define="NUMBER_OF_WEEKLY_TRANSITIONS" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">NumberOfWeeklyTransitions</attribute>
- <attribute side="server" code="0x0022" define="NUMBER_OF_DAILY_TRANSITIONS" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">NumberOfDailyTransitions</attribute>
- <attribute side="server" code="0x0023" define="TEMPERATURE_SETPOINT_HOLD" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x001E" define="THERMOSTAT_RUNNING_MODE" type="enum8" min="0x00" max="0x04" writable="false" optional="true">ThermostatRunningMode</attribute>
+ <attribute side="server" code="0x0020" define="START_OF_WEEK" type="enum8" min="0x00" max="0x06" writable="false" optional="true">StartOfWeek</attribute>
+ <attribute side="server" code="0x0021" define="NUMBER_OF_WEEKLY_TRANSITIONS" type="int8u" min="0x00" max="0xFF" writable="false" optional="true">NumberOfWeeklyTransitions</attribute>
+ <attribute side="server" code="0x0022" define="NUMBER_OF_DAILY_TRANSITIONS" type="int8u" min="0x00" max="0xFF" writable="false" optional="true">NumberOfDailyTransitions</attribute>
+ <attribute side="server" code="0x0023" define="TEMPERATURE_SETPOINT_HOLD" type="enum8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">
<description>TemperatureSetpointHold</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0024" define="TEMPERATURE_SETPOINT_HOLD_DURATION" type="INT16U" min="0" max="1440" writable="true" default="0xFFFF" optional="true" isNullable="true">
+ <attribute side="server" code="0x0024" define="TEMPERATURE_SETPOINT_HOLD_DURATION" type="int16u" min="0" max="1440" writable="true" default="0xFFFF" optional="true" isNullable="true">
<description>TemperatureSetpointHoldDuration</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0025" define="THERMOSTAT_PROGRAMMING_OPERATION_MODE" type="BITMAP8" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0025" define="THERMOSTAT_PROGRAMMING_OPERATION_MODE" type="bitmap8" writable="true" default="0x0000" optional="true">
<description>ThermostatProgrammingOperationMode</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0029" define="THERMOSTAT_RUNNING_STATE" type="BITMAP16" writable="false" optional="true">ThermostatRunningState</attribute>
- <attribute side="server" code="0x0030" define="SETPOINT_CHANGE_SOURCE" type="ENUM8" writable="false" optional="true">SetpointChangeSource</attribute>
- <attribute side="server" code="0x0031" define="SETPOINT_CHANGE_AMOUNT" type="INT16S" writable="false" default="0x8000" optional="true" isNullable="true">SetpointChangeAmount</attribute>
+ <attribute side="server" code="0x0029" define="THERMOSTAT_RUNNING_STATE" type="bitmap16" writable="false" optional="true">ThermostatRunningState</attribute>
+ <attribute side="server" code="0x0030" define="SETPOINT_CHANGE_SOURCE" type="enum8" writable="false" optional="true">SetpointChangeSource</attribute>
+ <attribute side="server" code="0x0031" define="SETPOINT_CHANGE_AMOUNT" type="int16s" writable="false" default="0x8000" optional="true" isNullable="true">SetpointChangeAmount</attribute>
<attribute side="server" code="0x0032" define="SETPOINT_CHANGE_SOURCE_TIMESTAMP" type="epoch_s" writable="false" optional="true">SetpointChangeSourceTimestamp</attribute>
<attribute side="server" code="0x0034" define="OCCUPIED_SETBACK" type="int8u" writable="true" optional="true" isNullable="true">
<description>OccupiedSetback</description>
@@ -221,38 +221,38 @@
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0040" define="AC_TYPE" type="ENUM8" min="0x00" max="0x04" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0040" define="AC_TYPE" type="enum8" min="0x00" max="0x04" writable="true" default="0x00" optional="true">
<description>ACType</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0041" define="AC_CAPACITY" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">
+ <attribute side="server" code="0x0041" define="AC_CAPACITY" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">
<description>ACCapacity</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0042" define="AC_REFRIGERANT_TYPE" type="ENUM8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0042" define="AC_REFRIGERANT_TYPE" type="enum8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">
<description>ACRefrigerantType</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0043" define="AC_COMPRESSOR_TYPE" type="ENUM8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0043" define="AC_COMPRESSOR_TYPE" type="enum8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">
<description>ACCompressorType</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0044" define="AC_ERROR_CODE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="true" default="0x00000000" optional="true">
+ <attribute side="server" code="0x0044" define="AC_ERROR_CODE" type="bitmap32" min="0x00000000" max="0xFFFFFFFF" writable="true" default="0x00000000" optional="true">
<description>ACErrorCode</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0045" define="AC_LOUVER_POSITION" type="ENUM8" min="0x00" max="0x05" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0045" define="AC_LOUVER_POSITION" type="enum8" min="0x00" max="0x05" writable="true" default="0x00" optional="true">
<description>ACLouverPosition</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
- <attribute side="server" code="0x0046" define="AC_COIL_TEMPERATURE" type="INT16S" min="-27315" max="0x7FFF" writable="false" default="0x8000" optional="true" isNullable="true">ACCoilTemperature</attribute>
- <attribute side="server" code="0x0047" define="AC_CAPACITY_FORMAT" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">
+ <attribute side="server" code="0x0046" define="AC_COIL_TEMPERATURE" type="int16s" min="-27315" max="0x7FFF" writable="false" default="0x8000" optional="true" isNullable="true">ACCoilTemperature</attribute>
+ <attribute side="server" code="0x0047" define="AC_CAPACITY_FORMAT" type="enum8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">
<description>ACCapacityformat</description>
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
@@ -262,13 +262,13 @@
Command description for SetpointRaiseLower
</description>
<arg name="Mode" type="SetpointAdjustMode"/>
- <arg name="Amount" type="INT8S"/>
+ <arg name="Amount" type="int8s"/>
</command>
<command source="client" code="0x01" name="SetWeeklySchedule" optional="true">
<description>
Command description for SetWeeklySchedule
</description>
- <arg name="NumberOfTransitionsForSequence" type="INT8U"/>
+ <arg name="NumberOfTransitionsForSequence" type="int8u"/>
<arg name="DayOfWeekForSequence" type="DayOfWeek"/>
<arg name="ModeForSequence" type="ModeForSequence"/>
<arg name="Transitions" type="ThermostatScheduleTransition" array="true"/>
@@ -291,7 +291,7 @@
<description>
The Current Weekly Schedule Command is sent from the server in response to the Get Weekly Schedule Command.
</description>
- <arg name="NumberOfTransitionsForSequence" type="INT8U"/>
+ <arg name="NumberOfTransitionsForSequence" type="int8u"/>
<arg name="DayOfWeekForSequence" type="DayOfWeek"/>
<arg name="ModeForSequence" type="ModeForSequence"/>
<arg name="Transitions" type="ThermostatScheduleTransition" array="true"/>
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 c3c054d..fdf6705 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 @@
<globalAttribute side="either" code="0xFFFD" value="2"/>
- <attribute side="server" code="0x0000" define="TEMPERATURE_DISPLAY_MODE" type="ENUM8" min="0x00" max="0x01" writable="true" default="0x00" optional="false">TemperatureDisplayMode</attribute>
+ <attribute side="server" code="0x0000" define="TEMPERATURE_DISPLAY_MODE" type="enum8" min="0x00" max="0x01" writable="true" default="0x00" optional="false">TemperatureDisplayMode</attribute>
- <attribute side="server" code="0x0001" define="KEYPAD_LOCKOUT" type="ENUM8" min="0x00" max="0x05" writable="true" default="0x00" optional="false">
+ <attribute side="server" code="0x0001" define="KEYPAD_LOCKOUT" type="enum8" min="0x00" max="0x05" writable="true" default="0x00" optional="false">
<description>KeypadLockout</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
</attribute>
- <attribute side="server" code="0x0002" define="SCHEDULE_PROGRAMMING_VISIBILITY" type="ENUM8" min="0x00" max="0x01" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">
+ <attribute side="server" code="0x0002" define="SCHEDULE_PROGRAMMING_VISIBILITY" type="enum8" min="0x00" max="0x01" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">
<description>ScheduleProgrammingVisibility</description>
<access op="read" role="view"/>
<access op="write" role="manage"/>
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 bfd9197..3f6d5eb 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="NetworkFaultEnum" type="ENUM8">
+ <enum name="NetworkFaultEnum" type="enum8">
<cluster code="0x0035"/>
<item name="Unspecified" value="0x00"/>
<item name="LinkDown" value="0x01"/>
<item name="HardwareFailure" value="0x02"/>
<item name="NetworkJammed" value="0x03"/>
</enum>
- <enum name="RoutingRoleEnum" type="ENUM8">
+ <enum name="RoutingRoleEnum" type="enum8">
<cluster code="0x0035"/>
<item name="Unspecified" value="0x00"/>
<item name="Unassigned" value="0x01"/>
@@ -30,60 +30,60 @@
<item name="Router" value="0x05"/>
<item name="Leader" value="0x06"/>
</enum>
- <enum name="ConnectionStatusEnum" type="ENUM8">
+ <enum name="ConnectionStatusEnum" type="enum8">
<cluster code="0x0035"/>
<item name="Connected" value="0x00"/>
<item name="NotConnected" value="0x01"/>
</enum>
<struct name="NeighborTableStruct">
<cluster code="0x0035"/>
- <item name="ExtAddress" type="INT64U"/>
- <item name="Age" type="INT32U"/>
- <item name="Rloc16" type="INT16U"/>
- <item name="LinkFrameCounter" type="INT32U"/>
- <item name="MleFrameCounter" type="INT32U"/>
- <item name="LQI" type="INT8U"/>
- <item name="AverageRssi" type="INT8S" isNullable="true"/>
- <item name="LastRssi" type="INT8S" isNullable="true"/>
- <item name="FrameErrorRate" type="INT8U"/>
- <item name="MessageErrorRate" type="INT8U"/>
- <item name="RxOnWhenIdle" type="BOOLEAN"/>
- <item name="FullThreadDevice" type="BOOLEAN"/>
- <item name="FullNetworkData" type="BOOLEAN"/>
- <item name="IsChild" type="BOOLEAN"/>
+ <item name="ExtAddress" type="int64u"/>
+ <item name="Age" type="int32u"/>
+ <item name="Rloc16" type="int16u"/>
+ <item name="LinkFrameCounter" type="int32u"/>
+ <item name="MleFrameCounter" type="int32u"/>
+ <item name="LQI" type="int8u"/>
+ <item name="AverageRssi" type="int8s" isNullable="true"/>
+ <item name="LastRssi" type="int8s" isNullable="true"/>
+ <item name="FrameErrorRate" type="int8u"/>
+ <item name="MessageErrorRate" type="int8u"/>
+ <item name="RxOnWhenIdle" type="boolean"/>
+ <item name="FullThreadDevice" type="boolean"/>
+ <item name="FullNetworkData" type="boolean"/>
+ <item name="IsChild" type="boolean"/>
</struct>
<struct name="RouteTableStruct">
<cluster code="0x0035"/>
- <item name="ExtAddress" type="INT64U"/>
- <item name="Rloc16" type="INT16U"/>
- <item name="RouterId" type="INT8U"/>
- <item name="NextHop" type="INT8U"/>
- <item name="PathCost" type="INT8U"/>
- <item name="LQIIn" type="INT8U"/>
- <item name="LQIOut" type="INT8U"/>
- <item name="Age" type="INT8U"/>
- <item name="Allocated" type="BOOLEAN"/>
- <item name="LinkEstablished" type="BOOLEAN"/>
+ <item name="ExtAddress" type="int64u"/>
+ <item name="Rloc16" type="int16u"/>
+ <item name="RouterId" type="int8u"/>
+ <item name="NextHop" type="int8u"/>
+ <item name="PathCost" type="int8u"/>
+ <item name="LQIIn" type="int8u"/>
+ <item name="LQIOut" type="int8u"/>
+ <item name="Age" type="int8u"/>
+ <item name="Allocated" type="boolean"/>
+ <item name="LinkEstablished" type="boolean"/>
</struct>
<struct name="SecurityPolicy">
<cluster code="0x0035"/>
- <item name="RotationTime" type="INT16U"/>
- <item name="Flags" type="INT16U"/>
+ <item name="RotationTime" type="int16u"/>
+ <item name="Flags" type="int16u"/>
</struct>
<struct name="OperationalDatasetComponents">
<cluster code="0x0035"/>
- <item name="ActiveTimestampPresent" type="BOOLEAN"/>
- <item name="PendingTimestampPresent" type="BOOLEAN"/>
- <item name="MasterKeyPresent" type="BOOLEAN"/>
- <item name="NetworkNamePresent" type="BOOLEAN"/>
- <item name="ExtendedPanIdPresent" type="BOOLEAN"/>
- <item name="MeshLocalPrefixPresent" type="BOOLEAN"/>
- <item name="DelayPresent" type="BOOLEAN"/>
- <item name="PanIdPresent" type="BOOLEAN"/>
- <item name="ChannelPresent" type="BOOLEAN"/>
- <item name="PskcPresent" type="BOOLEAN"/>
- <item name="SecurityPolicyPresent" type="BOOLEAN"/>
- <item name="ChannelMaskPresent" type="BOOLEAN"/>
+ <item name="ActiveTimestampPresent" type="boolean"/>
+ <item name="PendingTimestampPresent" type="boolean"/>
+ <item name="MasterKeyPresent" type="boolean"/>
+ <item name="NetworkNamePresent" type="boolean"/>
+ <item name="ExtendedPanIdPresent" type="boolean"/>
+ <item name="MeshLocalPrefixPresent" type="boolean"/>
+ <item name="DelayPresent" type="boolean"/>
+ <item name="PanIdPresent" type="boolean"/>
+ <item name="ChannelPresent" type="boolean"/>
+ <item name="PskcPresent" type="boolean"/>
+ <item name="SecurityPolicyPresent" type="boolean"/>
+ <item name="ChannelMaskPresent" type="boolean"/>
</struct>
<cluster>
<domain>General</domain>
@@ -91,67 +91,67 @@
<code>0x0035</code>
<define>THREAD_NETWORK_DIAGNOSTICS_CLUSTER</define>
<description>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</description>
- <attribute side="server" code="0x00" define="CHANNEL" type="INT16U" min="0x00" max="0xFFFF" writable="false" isNullable="true" optional="false">Channel</attribute>
+ <attribute side="server" code="0x00" define="CHANNEL" type="int16u" min="0x00" max="0xFFFF" writable="false" isNullable="true" optional="false">Channel</attribute>
<attribute side="server" code="0x01" define="ROUTING_ROLE" type="RoutingRoleEnum" writable="false" isNullable="true" optional="false">RoutingRole</attribute>
- <attribute side="server" code="0x02" define="NETWORK_NAME" type="CHAR_STRING" length="16" writable="false" default="" isNullable="true" optional="false">NetworkName</attribute>
- <attribute side="server" code="0x03" define="DIAG_PAN_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" isNullable="true" optional="false">PanId</attribute>
- <attribute side="server" code="0x04" define="DIAG_EXTENDED_PAN_ID" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="false">ExtendedPanId</attribute>
- <attribute side="server" code="0x05" define="MESH_LOCAL_PREFIX" type="OCTET_STRING" length="17" writable="false" isNullable="true" optional="false">MeshLocalPrefix</attribute>
- <attribute side="server" code="0x06" define="DIAG_OVERRUN_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">OverrunCount</attribute>
+ <attribute side="server" code="0x02" define="NETWORK_NAME" type="char_string" length="16" writable="false" default="" isNullable="true" optional="false">NetworkName</attribute>
+ <attribute side="server" code="0x03" define="DIAG_PAN_ID" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" isNullable="true" optional="false">PanId</attribute>
+ <attribute side="server" code="0x04" define="DIAG_EXTENDED_PAN_ID" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="false">ExtendedPanId</attribute>
+ <attribute side="server" code="0x05" define="MESH_LOCAL_PREFIX" type="octet_string" length="17" writable="false" isNullable="true" optional="false">MeshLocalPrefix</attribute>
+ <attribute side="server" code="0x06" define="DIAG_OVERRUN_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" optional="true">OverrunCount</attribute>
<attribute side="server" code="0x07" define="NEIGHBOR_TABLE" type="ARRAY" entryType="NeighborTableStruct" length="254" writable="false" optional="false">NeighborTable</attribute>
<attribute side="server" code="0x08" define="ROUTE_TABLE" type="ARRAY" entryType="RouteTableStruct" length="254" writable="false" optional="false">RouteTable</attribute>
- <attribute side="server" code="0x09" define="PARTITION_ID" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" isNullable="true" optional="false">PartitionId</attribute>
- <attribute side="server" code="0x0A" define="WEIGHTING" type="INT8U" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">Weighting</attribute>
- <attribute side="server" code="0x0B" define="DATA_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">DataVersion</attribute>
- <attribute side="server" code="0x0C" define="STABLE_DATA_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">StableDataVersion</attribute>
- <attribute side="server" code="0x0D" define="LEADER_ROUTER_ID" type="INT8U" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">LeaderRouterId</attribute>
- <attribute side="server" code="0x0E" define="DETACHED_ROLE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">DetachedRoleCount</attribute>
- <attribute side="server" code="0x0F" define="CHILD_ROLE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ChildRoleCount</attribute>
- <attribute side="server" code="0x10" define="ROUTER_ROLE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">RouterRoleCount</attribute>
- <attribute side="server" code="0x11" define="LEADER_ROLE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">LeaderRoleCount</attribute>
- <attribute side="server" code="0x12" define="ATTACH_ATTEMPT_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">AttachAttemptCount</attribute>
- <attribute side="server" code="0x13" define="PARTITION_ID_CHANGE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">PartitionIdChangeCount</attribute>
- <attribute side="server" code="0x14" define="BETTER_PARTITION_ATTACH_ATTEMPT_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">BetterPartitionAttachAttemptCount</attribute>
- <attribute side="server" code="0x15" define="PARENT_CHANGE_COUNT" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ParentChangeCount</attribute>
- <attribute side="server" code="0x16" define="TX_TOTAL_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxTotalCount</attribute>
- <attribute side="server" code="0x17" define="TX_UNICAST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxUnicastCount</attribute>
- <attribute side="server" code="0x18" define="TX_BROADCAST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBroadcastCount</attribute>
- <attribute side="server" code="0x19" define="TX_ACK_REQUESTED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxAckRequestedCount</attribute>
- <attribute side="server" code="0x1A" define="TX_ACKED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxAckedCount</attribute>
- <attribute side="server" code="0x1B" define="TX_NO_ACK_REQUESTED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxNoAckRequestedCount</attribute>
- <attribute side="server" code="0x1C" define="TX_DATA_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDataCount</attribute>
- <attribute side="server" code="0x1D" define="TX_DATA_POLL_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDataPollCount</attribute>
- <attribute side="server" code="0x1E" define="TX_BEACON_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBeaconCount</attribute>
- <attribute side="server" code="0x1F" define="TX_BEACON_REQUEST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBeaconRequestCount</attribute>
- <attribute side="server" code="0x20" define="TX_OTHER_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxOtherCount</attribute>
- <attribute side="server" code="0x21" define="TX_RETRY_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxRetryCount</attribute>
- <attribute side="server" code="0x22" define="TX_DIRECT_MAX_RETRY_EXPIRY_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDirectMaxRetryExpiryCount</attribute>
- <attribute side="server" code="0x23" define="TX_INDIRECT_MAX_RETRY_EXPIRY_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxIndirectMaxRetryExpiryCount</attribute>
- <attribute side="server" code="0x24" define="TX_ERR_CCA_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrCcaCount</attribute>
- <attribute side="server" code="0x25" define="TX_ERR_ABORT_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrAbortCount</attribute>
- <attribute side="server" code="0x26" define="TX_ERR_BUSY_CHANNEL_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrBusyChannelCount</attribute>
- <attribute side="server" code="0x27" define="RX_TOTAL_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxTotalCount</attribute>
- <attribute side="server" code="0x28" define="RX_UNICAST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxUnicastCount</attribute>
- <attribute side="server" code="0x29" define="RX_BROADCAST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBroadcastCount</attribute>
- <attribute side="server" code="0x2A" define="RX_DATA_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDataCount</attribute>
- <attribute side="server" code="0x2B" define="RX_DATA_POLL_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDataPollCount</attribute>
- <attribute side="server" code="0x2C" define="RX_BEACON_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBeaconCount</attribute>
- <attribute side="server" code="0x2D" define="RX_BEACON_REQUEST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBeaconRequestCount</attribute>
- <attribute side="server" code="0x2E" define="RX_OTHER_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxOtherCount</attribute>
- <attribute side="server" code="0x2F" define="RX_ADDRESS_FILTERED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxAddressFilteredCount</attribute>
- <attribute side="server" code="0x30" define="RX_DESTADDR_FILTERED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDestAddrFilteredCount</attribute>
- <attribute side="server" code="0x31" define="RX_DUPLICATED_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDuplicatedCount</attribute>
- <attribute side="server" code="0x32" define="RX_ERR_NO_FRAME_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrNoFrameCount</attribute>
- <attribute side="server" code="0x33" define="RX_ERR_UNKNOWN_NEIGHBOR_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrUnknownNeighborCount</attribute>
- <attribute side="server" code="0x34" define="RX_ERR_INVALID_SRC_ADDR_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrInvalidSrcAddrCount</attribute>
- <attribute side="server" code="0x35" define="RX_ERR_SEC_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrSecCount</attribute>
- <attribute side="server" code="0x36" define="RX_ERR_FCS_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrFcsCount</attribute>
- <attribute side="server" code="0x37" define="RX_ERR_OTHER_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrOtherCount</attribute>
- <attribute side="server" code="0x38" define="ACTIVE_TIMESTAMP" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">ActiveTimestamp</attribute>
- <attribute side="server" code="0x39" define="PENDING_TIMESTAMP" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">PendingTimestamp</attribute>
- <attribute side="server" code="0x3A" define="DELAY" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" isNullable="true" optional="true">Delay</attribute>
+ <attribute side="server" code="0x09" define="PARTITION_ID" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" isNullable="true" optional="false">PartitionId</attribute>
+ <attribute side="server" code="0x0A" define="WEIGHTING" type="int8u" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">Weighting</attribute>
+ <attribute side="server" code="0x0B" define="DATA_VERSION" type="int8u" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">DataVersion</attribute>
+ <attribute side="server" code="0x0C" define="STABLE_DATA_VERSION" type="int8u" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">StableDataVersion</attribute>
+ <attribute side="server" code="0x0D" define="LEADER_ROUTER_ID" type="int8u" min="0x00" max="0xFF" writable="false" isNullable="true" optional="false">LeaderRouterId</attribute>
+ <attribute side="server" code="0x0E" define="DETACHED_ROLE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">DetachedRoleCount</attribute>
+ <attribute side="server" code="0x0F" define="CHILD_ROLE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ChildRoleCount</attribute>
+ <attribute side="server" code="0x10" define="ROUTER_ROLE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">RouterRoleCount</attribute>
+ <attribute side="server" code="0x11" define="LEADER_ROLE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">LeaderRoleCount</attribute>
+ <attribute side="server" code="0x12" define="ATTACH_ATTEMPT_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">AttachAttemptCount</attribute>
+ <attribute side="server" code="0x13" define="PARTITION_ID_CHANGE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">PartitionIdChangeCount</attribute>
+ <attribute side="server" code="0x14" define="BETTER_PARTITION_ATTACH_ATTEMPT_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">BetterPartitionAttachAttemptCount</attribute>
+ <attribute side="server" code="0x15" define="PARENT_CHANGE_COUNT" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">ParentChangeCount</attribute>
+ <attribute side="server" code="0x16" define="TX_TOTAL_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxTotalCount</attribute>
+ <attribute side="server" code="0x17" define="TX_UNICAST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxUnicastCount</attribute>
+ <attribute side="server" code="0x18" define="TX_BROADCAST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBroadcastCount</attribute>
+ <attribute side="server" code="0x19" define="TX_ACK_REQUESTED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxAckRequestedCount</attribute>
+ <attribute side="server" code="0x1A" define="TX_ACKED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxAckedCount</attribute>
+ <attribute side="server" code="0x1B" define="TX_NO_ACK_REQUESTED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxNoAckRequestedCount</attribute>
+ <attribute side="server" code="0x1C" define="TX_DATA_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDataCount</attribute>
+ <attribute side="server" code="0x1D" define="TX_DATA_POLL_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDataPollCount</attribute>
+ <attribute side="server" code="0x1E" define="TX_BEACON_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBeaconCount</attribute>
+ <attribute side="server" code="0x1F" define="TX_BEACON_REQUEST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxBeaconRequestCount</attribute>
+ <attribute side="server" code="0x20" define="TX_OTHER_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxOtherCount</attribute>
+ <attribute side="server" code="0x21" define="TX_RETRY_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxRetryCount</attribute>
+ <attribute side="server" code="0x22" define="TX_DIRECT_MAX_RETRY_EXPIRY_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxDirectMaxRetryExpiryCount</attribute>
+ <attribute side="server" code="0x23" define="TX_INDIRECT_MAX_RETRY_EXPIRY_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxIndirectMaxRetryExpiryCount</attribute>
+ <attribute side="server" code="0x24" define="TX_ERR_CCA_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrCcaCount</attribute>
+ <attribute side="server" code="0x25" define="TX_ERR_ABORT_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrAbortCount</attribute>
+ <attribute side="server" code="0x26" define="TX_ERR_BUSY_CHANNEL_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">TxErrBusyChannelCount</attribute>
+ <attribute side="server" code="0x27" define="RX_TOTAL_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxTotalCount</attribute>
+ <attribute side="server" code="0x28" define="RX_UNICAST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxUnicastCount</attribute>
+ <attribute side="server" code="0x29" define="RX_BROADCAST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBroadcastCount</attribute>
+ <attribute side="server" code="0x2A" define="RX_DATA_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDataCount</attribute>
+ <attribute side="server" code="0x2B" define="RX_DATA_POLL_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDataPollCount</attribute>
+ <attribute side="server" code="0x2C" define="RX_BEACON_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBeaconCount</attribute>
+ <attribute side="server" code="0x2D" define="RX_BEACON_REQUEST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxBeaconRequestCount</attribute>
+ <attribute side="server" code="0x2E" define="RX_OTHER_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxOtherCount</attribute>
+ <attribute side="server" code="0x2F" define="RX_ADDRESS_FILTERED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxAddressFilteredCount</attribute>
+ <attribute side="server" code="0x30" define="RX_DESTADDR_FILTERED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDestAddrFilteredCount</attribute>
+ <attribute side="server" code="0x31" define="RX_DUPLICATED_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxDuplicatedCount</attribute>
+ <attribute side="server" code="0x32" define="RX_ERR_NO_FRAME_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrNoFrameCount</attribute>
+ <attribute side="server" code="0x33" define="RX_ERR_UNKNOWN_NEIGHBOR_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrUnknownNeighborCount</attribute>
+ <attribute side="server" code="0x34" define="RX_ERR_INVALID_SRC_ADDR_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrInvalidSrcAddrCount</attribute>
+ <attribute side="server" code="0x35" define="RX_ERR_SEC_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrSecCount</attribute>
+ <attribute side="server" code="0x36" define="RX_ERR_FCS_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrFcsCount</attribute>
+ <attribute side="server" code="0x37" define="RX_ERR_OTHER_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" optional="true">RxErrOtherCount</attribute>
+ <attribute side="server" code="0x38" define="ACTIVE_TIMESTAMP" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">ActiveTimestamp</attribute>
+ <attribute side="server" code="0x39" define="PENDING_TIMESTAMP" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">PendingTimestamp</attribute>
+ <attribute side="server" code="0x3A" define="DELAY" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x0000" isNullable="true" optional="true">Delay</attribute>
<attribute side="server" code="0x3B" define="SECURITY_POLICY" type="SecurityPolicy" writable="false" isNullable="true" optional="false">SecurityPolicy</attribute>
- <attribute side="server" code="0x3C" define="DIAG_CHANNEL_MASK" type="OCTET_STRING" length="4" writable="false" isNullable="true" optional="false">ChannelPage0Mask</attribute>
+ <attribute side="server" code="0x3C" define="DIAG_CHANNEL_MASK" type="octet_string" length="4" writable="false" isNullable="true" optional="false">ChannelPage0Mask</attribute>
<attribute side="server" code="0x3D" define="OPERATIONAL_DATASET_COMPONENTS" type="OperationalDatasetComponents" writable="false" isNullable="true" optional="false">OperationalDatasetComponents</attribute>
<attribute side="server" code="0x3E" define="ACTIVE_THREAD_NETWORK_FAULTS" type="ARRAY" entryType="NetworkFaultEnum" length="4" writable="false" optional="false">ActiveNetworkFaultsList</attribute>
<command source="client" code="0x00" name="ResetCounts" optional="true" cli="chip thread_network_diagnostics resetcounts">
@@ -167,7 +167,7 @@
<field id="1" name="Previous" type="NetworkFaultEnum" array="true"/>
</event>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0035"/>
<field name="PacketCounts" mask="0x1"/>
<field name="ErrorCounts" mask="0x2"/>
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 ee4468c..e9c48e9 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 @@
-->
<configurator>
<domain name="CHIP" />
- <enum name="HourFormatEnum" type="ENUM8">
+ <enum name="HourFormatEnum" type="enum8">
<cluster code="0x002c"/>
<item name="12hr" value="0x00"/>
<item name="24hr" value="0x01"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x002c"/>
<field name="CalendarFormat" mask="0x1"/>
</bitmap>
- <enum name="CalendarTypeEnum" type="ENUM8">
+ <enum name="CalendarTypeEnum" type="enum8">
<cluster code="0x002c"/>
<item name="Buddhist" value="0x00"/>
<item name="Chinese" value="0x01"/>
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 29ed6a0..7ac3ca0 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 @@
<configurator>
<domain name="CHIP"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0038"/>
<field name="TimeZone" mask="0x1"/>
<field name="NTPClient" mask="0x2"/>
@@ -27,12 +27,12 @@
<!-- NOTE: This type is not defined as an enum in the spec, but the Status Codes section
of this cluster defines these status codes, and we're choosing to represent them as an enum. -->
- <enum name="StatusCode" type="ENUM8">
+ <enum name="StatusCode" type="enum8">
<cluster code="0x0038"/>
<item name="TimeNotAccepted" value="0x02"/>
</enum>
- <enum name="GranularityEnum" type="ENUM8">
+ <enum name="GranularityEnum" type="enum8">
<cluster code="0x0038"/>
<item name="NoTimeGranularity" value="0x00"/>
<item name="MinutesGranularity" value="0x01"/>
@@ -41,7 +41,7 @@
<item name="MicrosecondsGranularity" value="0x04"/>
</enum>
- <enum name="TimeSourceEnum" type="ENUM8">
+ <enum name="TimeSourceEnum" type="enum8">
<cluster code="0x0038"/>
<item name="None" value="0x00"/>
<item name="Unknown" value="0x01"/>
@@ -62,7 +62,7 @@
<item name="GNSS" value="0x10"/>
</enum>
- <enum name="TimeZoneDatabaseEnum" type="ENUM8">
+ <enum name="TimeZoneDatabaseEnum" type="enum8">
<cluster code="0x0038"/>
<item name="Full" value="0x00"/>
<item name="Partial" value="0x01"/>
@@ -84,14 +84,14 @@
<struct name="TimeZoneStruct">
<cluster code="0x0038"/>
- <item fieldId="0" name="Offset" type="INT32S" min="-43200" max="50400"/>
+ <item fieldId="0" name="Offset" type="int32s" min="-43200" max="50400"/>
<item fieldId="1" name="ValidAt" type="epoch_us"/>
- <item fieldId="2" name="Name" type="CHAR_STRING" length="64" optional="true"/>
+ <item fieldId="2" name="Name" type="char_string" length="64" optional="true"/>
</struct>
<struct name="DSTOffsetStruct">
<cluster code="0x0038"/>
- <item fieldId="0" name="Offset" type="INT32S"/>
+ <item fieldId="0" name="Offset" type="int32s"/>
<item fieldId="1" name="ValidStarting" type="epoch_us"/>
<item fieldId="2" name="ValidUntil" type="epoch_us" isNullable="true"/>
</struct>
@@ -110,14 +110,14 @@
<attribute side="server" code="0x0001" define="GRANULARITY" type="GranularityEnum" default="0x00" optional="false">Granularity</attribute>
<attribute side="server" code="0x0002" define="TIME_SOURCE" type="TimeSourceEnum" default="0x00" optional="true">TimeSource</attribute>
<attribute side="server" code="0x0003" define="TRUSTED_TIME_SOURCE" type="TrustedTimeSourceStruct" isNullable="true" optional="true">TrustedTimeSource</attribute>
- <attribute side="server" code="0x0004" define="DEFAULT_NTP" type="CHAR_STRING" length="128" isNullable="true" optional="true">DefaultNTP</attribute>
+ <attribute side="server" code="0x0004" define="DEFAULT_NTP" type="char_string" length="128" isNullable="true" optional="true">DefaultNTP</attribute>
<attribute side="server" code="0x0005" define="TIME_ZONE" type="ARRAY" entryType="TimeZoneStruct" optional="true">TimeZone</attribute>
<attribute side="server" code="0x0006" define="DST_OFFSET" type="ARRAY" entryType="DSTOffsetStruct" optional="true">DSTOffset</attribute>
<attribute side="server" code="0x0007" define="LOCAL_TIME" type="epoch_us" default="0xFFFFFFFFFFFFFFFF" isNullable="true" optional="true">LocalTime</attribute>
<attribute side="server" code="0x0008" define="TIME_ZONE_DATABASE" type="TimeZoneDatabaseEnum" default="2" optional="true">TimeZoneDatabase</attribute>
<attribute side="server" code="0x0009" define="NTP_SERVER_AVAILABLE" type="boolean" default="false" optional="true">NTPServerAvailable</attribute>
- <attribute side="server" code="0x000A" define="TIME_ZONE_LIST_MAX_SIZE" type="INT8U" min="1" max="2" optional="true">TimeZoneListMaxSize</attribute>
- <attribute side="server" code="0x000B" define="DST_OFFSET_LIST_MAX_SIZE" type="INT8U" min="1" optional="true">DSTOffsetListMaxSize</attribute>
+ <attribute side="server" code="0x000A" define="TIME_ZONE_LIST_MAX_SIZE" type="int8u" min="1" max="2" optional="true">TimeZoneListMaxSize</attribute>
+ <attribute side="server" code="0x000B" define="DST_OFFSET_LIST_MAX_SIZE" type="int8u" min="1" optional="true">DSTOffsetListMaxSize</attribute>
<attribute side="server" code="0x000C" define="SUPPORTS_DNS_RESOLVE" type="boolean" default="false" optional="true">SupportsDNSResolve</attribute>
<command source="client" code="0x00" name="SetUTCTime" optional="false">
@@ -153,7 +153,7 @@
<command source="client" code="0x05" name="SetDefaultNTP" optional="true">
<description>This command is used to set DefaultNTP.</description>
- <arg name="DefaultNTP" type="CHAR_STRING" length="128" isNullable="true"/>
+ <arg name="DefaultNTP" type="char_string" length="128" isNullable="true"/>
<access op="invoke" privilege="administer"/>
</command>
@@ -168,8 +168,8 @@
<event code="0x0002" name="TimeZoneStatus" priority="info" side="server" optional="true">
<description>This event SHALL be generated when the server changes its time zone offset or name.</description>
- <field id="0" name="Offset" type="INT32S"/>
- <field id="1" name="Name" type="CHAR_STRING" length="64" optional="true"/>
+ <field id="0" name="Offset" type="int32s"/>
+ <field id="1" name="Name" type="char_string" length="64" optional="true"/>
</event>
<event code="0x0003" name="TimeFailure" priority="info" side="server" optional="false">
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 9c9f1ba..22dfff5 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 @@
-->
<configurator>
<domain name="CHIP" />
- <enum name="TempUnitEnum" type="ENUM8">
+ <enum name="TempUnitEnum" type="enum8">
<cluster code="0x002d"/>
<item name="Fahrenheit" value="0x00"/>
<item name="Celsius" value="0x01"/>
@@ -37,7 +37,7 @@
<!-- Base data types -->
<attribute side="server" code="0x00" define="TEMPERATURE_UNIT" type="TempUnitEnum" min="0" max="2" writable="true" optional="true">TemperatureUnit</attribute>
</cluster>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x002d"/>
<field name="TemperatureUnit" mask="0x1"/>
</bitmap>
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 5b64207..e9ad2ea 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 @@
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
<description>This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol.</description>
- <attribute side="server" code="0x0000" define="WAKE_ON_LAN_MAC_ADDRESS" type="CHAR_STRING" length="32" writable="false" optional="true">MACAddress</attribute>
+ <attribute side="server" code="0x0000" define="WAKE_ON_LAN_MAC_ADDRESS" type="char_string" length="32" writable="false" optional="true">MACAddress</attribute>
</cluster>
</configurator>
\ 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 0a11025..0f1640b 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 @@
<configurator>
<domain name="CHIP"/>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0053"/>
<field mask="0x01" name="Spin"/>
<field mask="0x02" name="Rinse"/>
</bitmap>
- <enum name="NumberOfRinsesEnum" type="ENUM8">
+ <enum name="NumberOfRinsesEnum" type="enum8">
<cluster code="0x0053"/>
<item name="None" value="0x0"/>
<item name="Normal" value="0x1"/>
@@ -42,8 +42,8 @@
<globalAttribute side="server" code="0xFFFD" value="1" />
- <attribute side="server" code="0x0000" define="SPIN_SPEEDS" type="ARRAY" entryType="CHAR_STRING" writable="false" isNullable="false" optional="true">SpinSpeeds</attribute>
- <attribute side="server" code="0x0001" define="SPIN_SPEED_CURRENT" type="INT8U" min="0x00" max="0x1F" writable="true" isNullable="true" optional="true">SpinSpeedCurrent</attribute>
+ <attribute side="server" code="0x0000" define="SPIN_SPEEDS" type="ARRAY" entryType="char_string" writable="false" isNullable="false" optional="true">SpinSpeeds</attribute>
+ <attribute side="server" code="0x0001" define="SPIN_SPEED_CURRENT" type="int8u" min="0x00" max="0x1F" writable="true" isNullable="true" optional="true">SpinSpeedCurrent</attribute>
<attribute side="server" code="0x0002" define="NUMBER_OF_RINSES" type="NumberOfRinsesEnum" writable="true" isNullable="false" optional="true">NumberOfRinses</attribute>
<attribute side="server" code="0x0003" define="SUPPORTED_RINSES" type="ARRAY" entryType="NumberOfRinsesEnum" writable="false" isNullable="false" optional="true">SupportedRinses</attribute>
</cluster>
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 3c81539..65e1772 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 @@
-->
<configurator>
<domain name="CHIP"/>
- <enum name="SecurityTypeEnum" type="ENUM8">
+ <enum name="SecurityTypeEnum" type="enum8">
<cluster code="0x0036"/>
<item name="Unspecified" value="0x00"/>
<item name="None" value="0x01"/>
@@ -25,7 +25,7 @@
<item name="WPA2" value="0x04"/>
<item name="WPA3" value="0x05"/>
</enum>
- <enum name="WiFiVersionEnum" type="ENUM8">
+ <enum name="WiFiVersionEnum" type="enum8">
<cluster code="0x0036"/>
<item name="a" value="0x00"/>
<item name="b" value="0x01"/>
@@ -35,19 +35,19 @@
<item name="ax" value="0x05"/>
<item name="ah" value="0x06"/>
</enum>
- <enum name="AssociationFailureCauseEnum" type="ENUM8">
+ <enum name="AssociationFailureCauseEnum" type="enum8">
<cluster code="0x0036"/>
<item name="Unknown" value="0x00"/>
<item name="AssociationFailed" value="0x01"/>
<item name="AuthenticationFailed" value="0x02"/>
<item name="SsidNotFound" value="0x03"/>
</enum>
- <enum name="ConnectionStatusEnum" type="ENUM8">
+ <enum name="ConnectionStatusEnum" type="enum8">
<cluster code="0x0036"/>
<item name="Connected" value="0x00"/>
<item name="NotConnected" value="0x01"/>
</enum>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0036"/>
<field name="PacketCounts" mask="0x1"/>
<field name="ErrorCounts" mask="0x2"/>
@@ -58,30 +58,30 @@
<code>0x0036</code>
<define>WIFI_NETWORK_DIAGNOSTICS_CLUSTER</define>
<description>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.</description>
- <attribute side="server" code="0x00" define="BSSID" type="OCTET_STRING" length="6" writable="false" isNullable="true" optional="false">BSSID</attribute>
+ <attribute side="server" code="0x00" define="BSSID" type="octet_string" length="6" writable="false" isNullable="true" optional="false">BSSID</attribute>
<attribute side="server" code="0x01" define="SECURITY_TYPE" type="SecurityTypeEnum" writable="false" isNullable="true" optional="false">SecurityType</attribute>
<attribute side="server" code="0x02" define="WIFI_VERSION" type="WiFiVersionEnum" writable="false" isNullable="true" optional="false">WiFiVersion</attribute>
- <attribute side="server" code="0x03" define="CHANNEL_NUMBER" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" isNullable="true" optional="false">ChannelNumber</attribute>
- <attribute side="server" code="0x04" define="RSSI" type="INT8S" min="-120" max="0" writable="false" isNullable="true" optional="false">RSSI</attribute>
- <attribute side="server" code="0x05" define="BEACON_LOST_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">BeaconLostCount</attribute>
- <attribute side="server" code="0x06" define="BEACON_RX_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">BeaconRxCount</attribute>
- <attribute side="server" code="0x07" define="PACKET_MULTICAST_RX_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketMulticastRxCount</attribute>
- <attribute side="server" code="0x08" define="PACKET_MULTICAST_TX_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketMulticastTxCount</attribute>
- <attribute side="server" code="0x09" define="PACKET_UNICAST_RX_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketUnicastRxCount</attribute>
- <attribute side="server" code="0x0A" define="PACKET_UNICAST_TX_COUNT" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketUnicastTxCount</attribute>
- <attribute side="server" code="0x0B" define="CURRENT_MAX_RATE" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">CurrentMaxRate</attribute>
- <attribute side="server" code="0x0C" define="OVERRUN_COUNT" type="INT64U" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">OverrunCount</attribute>
+ <attribute side="server" code="0x03" define="CHANNEL_NUMBER" type="int16u" min="0x0000" max="0xFFFF" writable="false" default="0x0000" isNullable="true" optional="false">ChannelNumber</attribute>
+ <attribute side="server" code="0x04" define="RSSI" type="int8s" min="-120" max="0" writable="false" isNullable="true" optional="false">RSSI</attribute>
+ <attribute side="server" code="0x05" define="BEACON_LOST_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">BeaconLostCount</attribute>
+ <attribute side="server" code="0x06" define="BEACON_RX_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">BeaconRxCount</attribute>
+ <attribute side="server" code="0x07" define="PACKET_MULTICAST_RX_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketMulticastRxCount</attribute>
+ <attribute side="server" code="0x08" define="PACKET_MULTICAST_TX_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketMulticastTxCount</attribute>
+ <attribute side="server" code="0x09" define="PACKET_UNICAST_RX_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketUnicastRxCount</attribute>
+ <attribute side="server" code="0x0A" define="PACKET_UNICAST_TX_COUNT" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" isNullable="true" optional="true">PacketUnicastTxCount</attribute>
+ <attribute side="server" code="0x0B" define="CURRENT_MAX_RATE" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">CurrentMaxRate</attribute>
+ <attribute side="server" code="0x0C" define="OVERRUN_COUNT" type="int64u" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFF" writable="false" default="0x0000000000000000" isNullable="true" optional="true">OverrunCount</attribute>
<command source="client" code="0x00" name="ResetCounts" optional="true" cli="chip wifi_network_diagnostics resetcounts">
<description>Reception of this command SHALL reset the Breacon and Packet related count attributes to 0</description>
</command>
<event side="server" code="0x00" name="Disconnection" priority="info" optional="true">
<description>Indicate that a Node’s Wi-Fi connection has been disconnected as a result of de-authenticated or dis-association and indicates the reason.</description>
- <field id="0" name="ReasonCode" type="INT16U"/>
+ <field id="0" name="ReasonCode" type="int16u"/>
</event>
<event side="server" code="0x01" name="AssociationFailure" priority="info" optional="true">
<description>Indicate that a Node has failed to connect, or reconnect, to a Wi-Fi access point.</description>
<field id="0" name="AssociationFailure" type="AssociationFailureCauseEnum"/>
- <field id="1" name="Status" type="INT16U"/>
+ <field id="1" name="Status" type="int16u"/>
</event>
<event side="server" code="0x02" name="ConnectionStatus" priority="info" optional="true">
<description>Indicate that a Node’s connection status to a Wi-Fi network has changed.</description>
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 1af4eeb..e98329a 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 @@
<!-- Conformance feature M -->
<attribute side="server" writable="false" code="0x0000" define="WC_TYPE" type="Type" min="0x00" max="0x09" default="0x00" optional="false">Type</attribute>
<!-- Conformance feature [LF & PA_LF & ABS] - for now optional -->
- <attribute side="server" writable="false" code="0x0001" define="WC_PHYSICAL_CLOSED_LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >PhysicalClosedLimitLift</attribute>
+ <attribute side="server" writable="false" code="0x0001" define="WC_PHYSICAL_CLOSED_LIMIT_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >PhysicalClosedLimitLift</attribute>
<!-- Conformance feature [TL & PA_TL & ABS] - for now optional -->
- <attribute side="server" writable="false" code="0x0002" define="WC_PHYSICAL_CLOSED_LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >PhysicalClosedLimitTilt</attribute>
+ <attribute side="server" writable="false" code="0x0002" define="WC_PHYSICAL_CLOSED_LIMIT_TILT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >PhysicalClosedLimitTilt</attribute>
<!-- Conformance feature [LF & PA_LF & ABS] - for now optional -->
- <attribute side="server" writable="false" code="0x0003" define="WC_CURRENT_POSITION_LIFT" type="INT16U" min="0x0000" max="0xFFFF" isNullable="true" optional="true">CurrentPositionLift</attribute>
+ <attribute side="server" writable="false" code="0x0003" define="WC_CURRENT_POSITION_LIFT" type="int16u" min="0x0000" max="0xFFFF" isNullable="true" optional="true">CurrentPositionLift</attribute>
<!-- Conformance feature [TL & PA_TL & ABS] - for now optional -->
- <attribute side="server" writable="false" code="0x0004" define="WC_CURRENT_POSITION_TILT" type="INT16U" min="0x0000" max="0xFFFF" isNullable="true" optional="true">CurrentPositionTilt</attribute>
+ <attribute side="server" writable="false" code="0x0004" define="WC_CURRENT_POSITION_TILT" type="int16u" min="0x0000" max="0xFFFF" isNullable="true" optional="true">CurrentPositionTilt</attribute>
<!-- Conformance feature [LF] - for now optional -->
- <attribute side="server" writable="false" code="0x0005" define="WC_NUMBER_OF_ACTUATIONS_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >NumberOfActuationsLift</attribute>
+ <attribute side="server" writable="false" code="0x0005" define="WC_NUMBER_OF_ACTUATIONS_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >NumberOfActuationsLift</attribute>
<!-- Conformance feature [TL] - for now optional -->
- <attribute side="server" writable="false" code="0x0006" define="WC_NUMBER_OF_ACTUATIONS_TILT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >NumberOfActuationsTilt</attribute>
+ <attribute side="server" writable="false" code="0x0006" define="WC_NUMBER_OF_ACTUATIONS_TILT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >NumberOfActuationsTilt</attribute>
<!-- Conformance feature M -->
<attribute side="server" writable="false" code="0x0007" define="WC_CONFIG_STATUS" type="ConfigStatus" min="0x00" max="0x7F" default="0x03" optional="false">ConfigStatus</attribute>
<!-- Conformance feature [LF & PA_LF] - for now optional -->
- <attribute side="server" writable="false" code="0x0008" define="WC_CURRENT_POSITION_LIFT_PERCENTAGE" type="Percent" min="0" max="100" isNullable="true" optional="true" reportable="true" >CurrentPositionLiftPercentage</attribute>
+ <attribute side="server" writable="false" code="0x0008" define="WC_CURRENT_POSITION_LIFT_PERCENTAGE" type="percent" min="0" max="100" isNullable="true" optional="true" reportable="true" >CurrentPositionLiftPercentage</attribute>
<!-- Conformance feature [TL & PA_TL] - for now optional -->
- <attribute side="server" writable="false" code="0x0009" define="WC_CURRENT_POSITION_TILT_PERCENTAGE" type="Percent" min="0" max="100" isNullable="true" optional="true" reportable="true" >CurrentPositionTiltPercentage</attribute>
+ <attribute side="server" writable="false" code="0x0009" define="WC_CURRENT_POSITION_TILT_PERCENTAGE" type="percent" min="0" max="100" isNullable="true" optional="true" reportable="true" >CurrentPositionTiltPercentage</attribute>
<!-- Conformance feature M -->
<attribute side="server" writable="false" code="0x000A" define="WC_OPERATIONAL_STATUS" type="OperationalStatus" min="0x00" max="0x7F" default="0x00" optional="false" reportable="true" >OperationalStatus</attribute>
<!-- Conformance feature LF & PA_LF - for now optional -->
- <attribute side="server" writable="false" code="0x000B" define="WC_TARGET_POSITION_LIFT_PERCENT100THS" type="Percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >TargetPositionLiftPercent100ths</attribute>
+ <attribute side="server" writable="false" code="0x000B" define="WC_TARGET_POSITION_LIFT_PERCENT100THS" type="percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >TargetPositionLiftPercent100ths</attribute>
<!-- Conformance feature TL & PA_TL - for now optional -->
- <attribute side="server" writable="false" code="0x000C" define="WC_TARGET_POSITION_TILT_PERCENT100THS" type="Percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >TargetPositionTiltPercent100ths</attribute>
+ <attribute side="server" writable="false" code="0x000C" define="WC_TARGET_POSITION_TILT_PERCENT100THS" type="percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >TargetPositionTiltPercent100ths</attribute>
<!-- Conformance feature M -->
<attribute side="server" writable="false" code="0x000D" define="WC_END_PRODUCT_TYPE" type="EndProductType" min="0x00" max="0x20" default="0x00" optional="false" >EndProductType</attribute>
<!-- Conformance feature LF & PA_LF - for now optional -->
- <attribute side="server" writable="false" code="0x000E" define="WC_CURRENT_POSITION_LIFT_PERCENT100THS" type="Percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >CurrentPositionLiftPercent100ths</attribute>
+ <attribute side="server" writable="false" code="0x000E" define="WC_CURRENT_POSITION_LIFT_PERCENT100THS" type="percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >CurrentPositionLiftPercent100ths</attribute>
<!-- Conformance feature TL & PA_TL - for now optional -->
- <attribute side="server" writable="false" code="0x000F" define="WC_CURRENT_POSITION_TILT_PERCENT100THS" type="Percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >CurrentPositionTiltPercent100ths</attribute>
+ <attribute side="server" writable="false" code="0x000F" define="WC_CURRENT_POSITION_TILT_PERCENT100THS" type="percent100ths" min="0" max="10000" isNullable="true" optional="true" reportable="true" >CurrentPositionTiltPercent100ths</attribute>
<!-- Window Covering Settings Attribute Set -->
<!-- Conformance feature LF & PA_LF & ABS - for now optional -->
- <attribute side="server" writable="false" code="0x0010" define="WC_INSTALLED_OPEN_LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >InstalledOpenLimitLift</attribute>
- <attribute side="server" writable="false" code="0x0011" define="WC_INSTALLED_CLOSED_LIMIT_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0xFFFF" optional="true" >InstalledClosedLimitLift</attribute>
+ <attribute side="server" writable="false" code="0x0010" define="WC_INSTALLED_OPEN_LIMIT_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >InstalledOpenLimitLift</attribute>
+ <attribute side="server" writable="false" code="0x0011" define="WC_INSTALLED_CLOSED_LIMIT_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0xFFFF" optional="true" >InstalledClosedLimitLift</attribute>
<!-- Conformance feature TL & PA_TL & ABS - for now optional -->
- <attribute side="server" writable="false" code="0x0012" define="WC_INSTALLED_OPEN_LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >InstalledOpenLimitTilt</attribute>
- <attribute side="server" writable="false" code="0x0013" define="WC_INSTALLED_CLOSED_LIMIT_TILT" type="INT16U" min="0x0000" max="0xFFFF" default="0xFFFF" optional="true" >InstalledClosedLimitTilt</attribute>
+ <attribute side="server" writable="false" code="0x0012" define="WC_INSTALLED_OPEN_LIMIT_TILT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >InstalledOpenLimitTilt</attribute>
+ <attribute side="server" writable="false" code="0x0013" define="WC_INSTALLED_CLOSED_LIMIT_TILT" type="int16u" min="0x0000" max="0xFFFF" default="0xFFFF" optional="true" >InstalledClosedLimitTilt</attribute>
<!-- Conformance Deprecated -->
- <!-- attribute side="server" writable="true" code="0x0014" define="WC_VELOCITY_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >VelocityLift -->
- <!-- attribute side="server" writable="true" code="0x0015" define="WC_ACCELERATION_TIME_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >AccelerationTimeLift -->
- <!-- attribute side="server" writable="true" code="0x0016" define="WC_DECELERATION_TIME_LIFT" type="INT16U" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >DecelerationTimeLift -->
+ <!-- attribute side="server" writable="true" code="0x0014" define="WC_VELOCITY_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >VelocityLift -->
+ <!-- attribute side="server" writable="true" code="0x0015" define="WC_ACCELERATION_TIME_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >AccelerationTimeLift -->
+ <!-- attribute side="server" writable="true" code="0x0016" define="WC_DECELERATION_TIME_LIFT" type="int16u" min="0x0000" max="0xFFFF" default="0x0000" optional="true" >DecelerationTimeLift -->
<!-- Conformance feature M -->
<attribute side="server" writable="true" code="0x0017" define="WC_MODE" type="Mode" min="0x00" max="0x0F" default="0x00" optional="false" >
<description>Mode</description>
@@ -85,8 +85,8 @@
<access op="write" role="manage" />
</attribute>
<!-- Conformance Deprecated -->
- <!-- attribute side="server" writable="true" code="0x0018" define="WC_INTERMEDIATE_SETPOINTS_LIFT" type="OCTET_STRING" length="254" default="1,0x0000" optional="true" >IntermediateSetpointsLift</attribute> -->
- <!-- attribute side="server" writable="true" code="0x0019" define="WC_INTERMEDIATE_SETPOINTS_TILT" type="OCTET_STRING" length="254" default="1,0x0000" optional="true" >IntermediateSetpointsTilt</attribute> -->
+ <!-- attribute side="server" writable="true" code="0x0018" define="WC_INTERMEDIATE_SETPOINTS_LIFT" type="octet_string" length="254" default="1,0x0000" optional="true" >IntermediateSetpointsLift</attribute> -->
+ <!-- attribute side="server" writable="true" code="0x0019" define="WC_INTERMEDIATE_SETPOINTS_TILT" type="octet_string" length="254" default="1,0x0000" optional="true" >IntermediateSetpointsTilt</attribute> -->
<!-- Conformance feature Optional -->
<attribute side="server" writable="false" code="0x001A" define="WC_SAFETY_STATUS" type="SafetyStatus" min="0x0000" max="0xFFFF" default="0x0000" optional="true" reportable="true" >SafetyStatus</attribute>
@@ -104,27 +104,27 @@
<!-- Conformance feature [LF & ABS] - for now optional -->
<command source="client" code="0x04" name="GoToLiftValue" optional="true" cli="zcl WindowCovering GoToLiftValue">
<description>Go to lift value specified</description>
- <arg name="liftValue" type="INT16U"/>
+ <arg name="liftValue" type="int16u"/>
</command>
<!-- Conformance feature LF & PA_LF | [LF] - for now optional -->
<command source="client" code="0x05" name="GoToLiftPercentage" optional="true" cli="zcl WindowCovering GoToLiftPercentage">
<description>Go to lift percentage specified</description>
- <arg name="liftPercent100thsValue" type="Percent100ths"/>
+ <arg name="liftPercent100thsValue" type="percent100ths"/>
</command>
<!-- Conformance feature [TL & ABS] - for now optional -->
<command source="client" code="0x07" name="GoToTiltValue" optional="true" cli="zcl WindowCovering GoToTiltValue">
<description>Go to tilt value specified</description>
- <arg name="tiltValue" type="INT16U"/>
+ <arg name="tiltValue" type="int16u"/>
</command>
<!-- Conformance feature TL & PA_TL | [TL] - for now optional -->
<command source="client" code="0x08" name="GoToTiltPercentage" optional="true" cli="zcl WindowCovering GoToTiltPercentage">
<description>Go to tilt percentage specified</description>
- <arg name="tiltPercent100thsValue" type="Percent100ths"/>
+ <arg name="tiltPercent100thsValue" type="percent100ths"/>
</command>
</cluster>
<!-- Window Covering Descriptive Enum Set -->
- <enum name="Type" type="ENUM8">
+ <enum name="Type" type="enum8">
<cluster code="0x0102"/>
<item value="00" name="RollerShade"/>
<item value="01" name="RollerShade2Motor"/>
@@ -139,7 +139,7 @@
<item value="255" name="Unknown"/>
</enum>
- <enum name="EndProductType" type="ENUM8">
+ <enum name="EndProductType" type="enum8">
<cluster code="0x0102"/>
<item value="00" name="RollerShade"/>
<item value="01" name="RomanShade"/>
@@ -169,7 +169,7 @@
</enum>
<!-- Window Covering BitFlag Meaning Set -->
- <bitmap name="Mode" type="BITMAP8">
+ <bitmap name="Mode" type="bitmap8">
<cluster code="0x0102"/>
<field mask="0x01" name="MotorDirectionReversed"/>
<field mask="0x02" name="CalibrationMode"/>
@@ -177,14 +177,14 @@
<field mask="0x08" name="LedFeedback"/>
</bitmap>
- <bitmap name="OperationalStatus" type="BITMAP8">
+ <bitmap name="OperationalStatus" type="bitmap8">
<cluster code="0x0102"/>
<field mask="0x03" name="Global"/>
<field mask="0x0C" name="Lift"/>
<field mask="0x30" name="Tilt"/>
</bitmap>
- <bitmap name="ConfigStatus" type="BITMAP8">
+ <bitmap name="ConfigStatus" type="bitmap8">
<cluster code="0x0102"/>
<field mask="0x01" name="Operational"/>
<field mask="0x02" name="OnlineReserved"/>
@@ -195,7 +195,7 @@
<field mask="0x40" name="TiltEncoderControlled"/>
</bitmap>
- <bitmap name="SafetyStatus" type="BITMAP16">
+ <bitmap name="SafetyStatus" type="bitmap16">
<cluster code="0x0102"/>
<field mask="0x0001" name="RemoteLockout"/>
<field mask="0x0002" name="TamperDetection"/>
@@ -211,7 +211,7 @@
<field mask="0x0800" name="Protection"/>
</bitmap>
- <bitmap name="Feature" type="BITMAP32">
+ <bitmap name="Feature" type="bitmap32">
<cluster code="0x0102"/>
<field mask="0x01" name="Lift" />
<field mask="0x02" name="Tilt" />
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 746b435..3e18ec7 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 @@
limitations under the License.
-->
<configurator>
- <enum name="ProductTypeId" type="ENUM16">
+ <enum name="ProductTypeId" type="enum16">
<item name="WhiteGoods" value="0x0000"/>
<item name="Dishwasher" value="0x5601"/>
<item name="TumbleDryer" value="0x5602"/>
@@ -27,7 +27,7 @@
<item name="RefrigeratorFreezer" value="0x6601"/>
</enum>
- <enum name="CecedSpecificationVersion" type="ENUM8">
+ <enum name="CecedSpecificationVersion" type="enum8">
<item name="CompliantWithV10NotCertified" value="0x10"/>
<item name="CompliantWithV10Certified" value="0x1A"/>
</enum>
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 d807b23..af51f6a 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 @@
<configurator>
<domain name="Closures"/>
- <bitmap name="BarrierControlCapabilities" type="BITMAP8">
+ <bitmap name="BarrierControlCapabilities" type="bitmap8">
<cluster code="0x0103"/>
<field name="partialBarrier" mask="0x01"/>
</bitmap>
- <bitmap name="BarrierControlSafetyStatus" type="BITMAP16">
+ <bitmap name="BarrierControlSafetyStatus" type="bitmap16">
<cluster code="0x0103"/>
<field name="remoteLockout" mask="0x01"/>
<field name="temperDetected" mask="0x02"/>
@@ -30,13 +30,13 @@
<field name="positionFailure" mask="0x08"/>
</bitmap>
- <enum name="BarrierControlBarrierPosition" type="INT8U">
+ <enum name="BarrierControlBarrierPosition" type="int8u">
<item name="Closed" value="0"/>
<item name="Open" value="100"/>
<item name="Unknown" value="0xFF"/>
</enum>
- <enum name="BarrierControlMovingState" type="ENUM8">
+ <enum name="BarrierControlMovingState" type="enum8">
<item name="Stopped" value="0x00"/>
<item name="Closing" value="0x01"/>
<item name="Opening" value="0x02"/>
@@ -52,22 +52,22 @@
<client init="false" tick="false">true</client>
<server init="false" tick="false">true</server>
- <attribute side="server" code="0x0001" define="BARRIER_MOVING_STATE" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="false">barrier moving state</attribute>
- <attribute side="server" code="0x0002" define="BARRIER_SAFETY_STATUS" type="BITMAP16" min="0x0000" max="0xFFFF" writable="false" optional="false">barrier safety status</attribute>
- <attribute side="server" code="0x0003" define="BARRIER_CAPABILITIES" type="BITMAP8" min="0x00" max="0xFF" writable="false" optional="false">barrier capabilities</attribute>
- <attribute side="server" code="0x0004" define="BARRIER_OPEN_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier open events</attribute>
- <attribute side="server" code="0x0005" define="BARRIER_CLOSE_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier close events</attribute>
- <attribute side="server" code="0x0006" define="BARRIER_COMMAND_OPEN_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command open events</attribute>
- <attribute side="server" code="0x0007" define="BARRIER_COMMAND_CLOSE_EVENTS" type="INT16U" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command close events</attribute>
- <attribute side="server" code="0x0008" define="BARRIER_OPEN_PERIOD" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier open period</attribute>
- <attribute side="server" code="0x0009" define="BARRIER_CLOSE_PERIOD" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier close period</attribute>
- <attribute side="server" code="0x000A" define="BARRIER_POSITION" type="INT8U" min="0x0000" max="0xFF" writable="false" optional="false">barrier position</attribute>
+ <attribute side="server" code="0x0001" define="BARRIER_MOVING_STATE" type="enum8" min="0x00" max="0xFF" writable="false" optional="false">barrier moving state</attribute>
+ <attribute side="server" code="0x0002" define="BARRIER_SAFETY_STATUS" type="bitmap16" min="0x0000" max="0xFFFF" writable="false" optional="false">barrier safety status</attribute>
+ <attribute side="server" code="0x0003" define="BARRIER_CAPABILITIES" type="bitmap8" min="0x00" max="0xFF" writable="false" optional="false">barrier capabilities</attribute>
+ <attribute side="server" code="0x0004" define="BARRIER_OPEN_EVENTS" type="int16u" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier open events</attribute>
+ <attribute side="server" code="0x0005" define="BARRIER_CLOSE_EVENTS" type="int16u" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier close events</attribute>
+ <attribute side="server" code="0x0006" define="BARRIER_COMMAND_OPEN_EVENTS" type="int16u" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command open events</attribute>
+ <attribute side="server" code="0x0007" define="BARRIER_COMMAND_CLOSE_EVENTS" type="int16u" min="0x0000" max="0xFFFE" writable="true" default="0x0000" optional="true">barrier command close events</attribute>
+ <attribute side="server" code="0x0008" define="BARRIER_OPEN_PERIOD" type="int16u" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier open period</attribute>
+ <attribute side="server" code="0x0009" define="BARRIER_CLOSE_PERIOD" type="int16u" min="0x0000" max="0xFFFE" writable="true" optional="true">barrier close period</attribute>
+ <attribute side="server" code="0x000A" define="BARRIER_POSITION" type="int8u" min="0x0000" max="0xFF" writable="false" optional="false">barrier position</attribute>
<command source="client" code="0x00" name="BarrierControlGoToPercent" optional="false">
<description>
Command to instruct a barrier to go to a percent open state.
</description>
- <arg name="percentOpen" type="INT8U"/>
+ <arg name="percentOpen" type="int8u"/>
</command>
<command source="client" code="0x01" name="BarrierControlStop" optional="false">
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 b1e8b72..3fca450 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 @@
<globalAttribute side="either" code="0xFFFD" value="3"/>
- <attribute side="server" code="0x0000" define="MEASUREMENT_TYPE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x000000" optional="true">measurement type</attribute>
- <attribute side="server" code="0x0100" define="DC_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage</attribute>
- <attribute side="server" code="0x0101" define="DC_VOLTAGE_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage min</attribute>
- <attribute side="server" code="0x0102" define="DC_VOLTAGE_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage max</attribute>
- <attribute side="server" code="0x0103" define="DC_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current</attribute>
- <attribute side="server" code="0x0104" define="DC_CURRENT_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current min</attribute>
- <attribute side="server" code="0x0105" define="DC_CURRENT_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current max</attribute>
- <attribute side="server" code="0x0106" define="DC_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power</attribute>
- <attribute side="server" code="0x0107" define="DC_POWER_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power min</attribute>
- <attribute side="server" code="0x0108" define="DC_POWER_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power max</attribute>
- <attribute side="server" code="0x0200" define="DC_VOLTAGE_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage multiplier</attribute>
- <attribute side="server" code="0x0201" define="DC_VOLTAGE_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage divisor</attribute>
- <attribute side="server" code="0x0202" define="DC_CURRENT_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current multiplier</attribute>
- <attribute side="server" code="0x0203" define="DC_CURRENT_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current divisor</attribute>
- <attribute side="server" code="0x0204" define="DC_POWER_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power multiplier</attribute>
- <attribute side="server" code="0x0205" define="DC_POWER_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power divisor</attribute>
- <attribute side="server" code="0x0300" define="AC_FREQUENCY" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency</attribute>
- <attribute side="server" code="0x0301" define="AC_FREQUENCY_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency min</attribute>
- <attribute side="server" code="0x0302" define="AC_FREQUENCY_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency max</attribute>
- <attribute side="server" code="0x0303" define="NEUTRAL_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x0000" optional="true">neutral current</attribute>
- <attribute side="server" code="0x0304" define="TOTAL_ACTIVE_POWER" type="INT32S" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total active power</attribute>
- <attribute side="server" code="0x0305" define="TOTAL_REACTIVE_POWER" type="INT32S" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total reactive power</attribute>
- <attribute side="server" code="0x0306" define="TOTAL_APPARENT_POWER" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">total apparent power</attribute>
- <attribute side="server" code="0x0307" define="MEASURED_1ST_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 1st harmonic current</attribute>
- <attribute side="server" code="0x0308" define="MEASURED_3RD_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 3rd harmonic current</attribute>
- <attribute side="server" code="0x0309" define="MEASURED_5TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 5th harmonic current</attribute>
- <attribute side="server" code="0x030A" define="MEASURED_7TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 7th harmonic current</attribute>
- <attribute side="server" code="0x030B" define="MEASURED_9TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 9th harmonic current</attribute>
- <attribute side="server" code="0x030C" define="MEASURED_11TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 11th harmonic current</attribute>
- <attribute side="server" code="0x030D" define="MEASURED_PHASE_1ST_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 1st harmonic current</attribute>
- <attribute side="server" code="0x030E" define="MEASURED_PHASE_3RD_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 3rd harmonic current</attribute>
- <attribute side="server" code="0x030F" define="MEASURED_PHASE_5TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 5th harmonic current</attribute>
- <attribute side="server" code="0x0310" define="MEASURED_PHASE_7TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 7th harmonic current</attribute>
- <attribute side="server" code="0x0311" define="MEASURED_PHASE_9TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 9th harmonic current</attribute>
- <attribute side="server" code="0x0312" define="MEASURED_PHASE_11TH_HARMONIC_CURRENT" type="INT16S" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 11th harmonic current</attribute>
- <attribute side="server" code="0x0400" define="AC_FREQUENCY_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency multiplier</attribute>
- <attribute side="server" code="0x0401" define="AC_FREQUENCY_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency divisor</attribute>
- <attribute side="server" code="0x0402" define="POWER_MULTIPLIER" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power multiplier</attribute>
- <attribute side="server" code="0x0403" define="POWER_DIVISOR" type="INT32U" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power divisor</attribute>
- <attribute side="server" code="0x0404" define="HARMONIC_CURRENT_MULTIPLIER" type="INT8S" min="-127" max="127" writable="false" default="0x00" optional="true">harmonic current multiplier</attribute>
- <attribute side="server" code="0x0405" define="PHASE_HARMONIC_CURRENT_MULTIPLIER" type="INT8S" min="-127" max="127" writable="false" default="0x00" optional="true">phase harmonic current multiplier</attribute>
- <attribute side="server" code="0x0500" define="INSTANTANEOUS_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous voltage</attribute>
- <attribute side="server" code="0x0501" define="INSTANTANEOUS_LINE_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">instantaneous line current</attribute>
- <attribute side="server" code="0x0502" define="INSTANTANEOUS_ACTIVE_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous active current</attribute>
- <attribute side="server" code="0x0503" define="INSTANTANEOUS_REACTIVE_CURRENT" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous reactive current</attribute>
- <attribute side="server" code="0x0504" define="INSTANTANEOUS_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous power</attribute>
- <attribute side="server" code="0x0505" define="RMS_VOLTAGE" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms voltage</attribute>
- <attribute side="server" code="0x0506" define="RMS_VOLTAGE_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage min</attribute>
- <attribute side="server" code="0x0507" define="RMS_VOLTAGE_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage max</attribute>
- <attribute side="server" code="0x0508" define="RMS_CURRENT" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current</attribute>
- <attribute side="server" code="0x0509" define="RMS_CURRENT_MIN" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current min</attribute>
- <attribute side="server" code="0x050A" define="RMS_CURRENT_MAX" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current max</attribute>
- <attribute side="server" code="0x050B" define="ACTIVE_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power</attribute>
- <attribute side="server" code="0x050C" define="ACTIVE_POWER_MIN" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min</attribute>
- <attribute side="server" code="0x050D" define="ACTIVE_POWER_MAX" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max</attribute>
- <attribute side="server" code="0x050E" define="REACTIVE_POWER" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power</attribute>
- <attribute side="server" code="0x050F" define="APPARENT_POWER" type="INT16U" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">apparent power</attribute>
- <attribute side="server" code="0x0510" define="AC_POWER_FACTOR" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor</attribute>
- <attribute side="server" code="0x0511" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms voltage measurement period</attribute>
- <attribute side="server" code="0x0513" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms under voltage counter</attribute>
- <attribute side="server" code="0x0514" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme over voltage period</attribute>
- <attribute side="server" code="0x0515" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme under voltage period</attribute>
- <attribute side="server" code="0x0516" define="RMS_VOLTAGE_SAG_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage sag period</attribute>
- <attribute side="server" code="0x0517" define="RMS_VOLTAGE_SWELL_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage swell period</attribute>
- <attribute side="server" code="0x0600" define="AC_VOLTAGE_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage multiplier</attribute>
- <attribute side="server" code="0x0601" define="AC_VOLTAGE_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage divisor</attribute>
- <attribute side="server" code="0x0602" define="AC_CURRENT_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current multiplier</attribute>
- <attribute side="server" code="0x0603" define="AC_CURRENT_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current divisor</attribute>
- <attribute side="server" code="0x0604" define="AC_POWER_MULTIPLIER" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power multiplier</attribute>
- <attribute side="server" code="0x0605" define="AC_POWER_DIVISOR" type="INT16U" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power divisor</attribute>
- <attribute side="server" code="0x0700" define="DC_OVERLOAD_ALARMS_MASK" type="BITMAP8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">overload alarms mask</attribute>
- <attribute side="server" code="0x0701" define="DC_VOLTAGE_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">voltage overload</attribute>
- <attribute side="server" code="0x0702" define="DC_CURRENT_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">current overload</attribute>
- <attribute side="server" code="0x0800" define="AC_OVERLOAD_ALARMS_MASK" type="BITMAP16" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">ac overload alarms mask</attribute>
- <attribute side="server" code="0x0801" define="AC_VOLTAGE_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac voltage overload</attribute>
- <attribute side="server" code="0x0802" define="AC_CURRENT_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac current overload</attribute>
- <attribute side="server" code="0x0803" define="AC_POWER_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac active power overload</attribute>
- <attribute side="server" code="0x0804" define="AC_REACTIVE_POWER_OVERLOAD" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac reactive power overload</attribute>
- <attribute side="server" code="0x0805" define="AVERAGE_RMS_OVER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms over voltage</attribute>
- <attribute side="server" code="0x0806" define="AVERAGE_RMS_UNDER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms under voltage</attribute>
- <attribute side="server" code="0x0807" define="RMS_EXTREME_OVER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme over voltage</attribute>
- <attribute side="server" code="0x0808" define="RMS_EXTREME_UNDER_VOLTAGE" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme under voltage</attribute>
- <attribute side="server" code="0x0809" define="RMS_VOLTAGE_SAG" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage sag</attribute>
- <attribute side="server" code="0x080A" define="RMS_VOLTAGE_SWELL" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage swell</attribute>
- <attribute side="server" code="0x0901" define="LINE_CURRENT_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase b</attribute>
- <attribute side="server" code="0x0902" define="ACTIVE_CURRENT_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase b</attribute>
- <attribute side="server" code="0x0903" define="REACTIVE_CURRENT_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase b</attribute>
- <attribute side="server" code="0x0905" define="RMS_VOLTAGE_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase b</attribute>
- <attribute side="server" code="0x0906" define="RMS_VOLTAGE_MIN_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase b</attribute>
- <attribute side="server" code="0x0907" define="RMS_VOLTAGE_MAX_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase b</attribute>
- <attribute side="server" code="0x0908" define="RMS_CURRENT_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase b</attribute>
- <attribute side="server" code="0x0909" define="RMS_CURRENT_MIN_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase b</attribute>
- <attribute side="server" code="0x090A" define="RMS_CURRENT_MAX_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase b</attribute>
- <attribute side="server" code="0x090B" define="ACTIVE_POWER_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase b</attribute>
- <attribute side="server" code="0x090C" define="ACTIVE_POWER_MIN_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase b</attribute>
- <attribute side="server" code="0x090D" define="ACTIVE_POWER_MAX_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase b</attribute>
- <attribute side="server" code="0x090E" define="REACTIVE_POWER_PHASE_B" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase b</attribute>
- <attribute side="server" code="0x090F" define="APPARENT_POWER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase b</attribute>
- <attribute side="server" code="0x0910" define="POWER_FACTOR_PHASE_B" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase b</attribute>
- <attribute side="server" code="0x0911" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase b</attribute>
- <attribute side="server" code="0x0912" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase b</attribute>
- <attribute side="server" code="0x0913" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase b</attribute>
- <attribute side="server" code="0x0914" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase b</attribute>
- <attribute side="server" code="0x0915" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase b</attribute>
- <attribute side="server" code="0x0916" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase b</attribute>
- <attribute side="server" code="0x0917" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_B" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase b</attribute>
- <attribute side="server" code="0x0A01" define="LINE_CURRENT_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase c</attribute>
- <attribute side="server" code="0x0A02" define="ACTIVE_CURRENT_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase c</attribute>
- <attribute side="server" code="0x0A03" define="REACTIVE_CURRENT_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase c</attribute>
- <attribute side="server" code="0x0A05" define="RMS_VOLTAGE_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase c</attribute>
- <attribute side="server" code="0x0A06" define="RMS_VOLTAGE_MIN_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase c</attribute>
- <attribute side="server" code="0x0A07" define="RMS_VOLTAGE_MAX_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase c</attribute>
- <attribute side="server" code="0x0A08" define="RMS_CURRENT_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase c</attribute>
- <attribute side="server" code="0x0A09" define="RMS_CURRENT_MIN_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase c</attribute>
- <attribute side="server" code="0x0A0A" define="RMS_CURRENT_MAX_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase c</attribute>
- <attribute side="server" code="0x0A0B" define="ACTIVE_POWER_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase c</attribute>
- <attribute side="server" code="0x0A0C" define="ACTIVE_POWER_MIN_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase c</attribute>
- <attribute side="server" code="0x0A0D" define="ACTIVE_POWER_MAX_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase c</attribute>
- <attribute side="server" code="0x0A0E" define="REACTIVE_POWER_PHASE_C" type="INT16S" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase c</attribute>
- <attribute side="server" code="0x0A0F" define="APPARENT_POWER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase c</attribute>
- <attribute side="server" code="0x0A10" define="POWER_FACTOR_PHASE_C" type="INT8S" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase c</attribute>
- <attribute side="server" code="0x0A11" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase c</attribute>
- <attribute side="server" code="0x0A12" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase c</attribute>
- <attribute side="server" code="0x0A13" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase c</attribute>
- <attribute side="server" code="0x0A14" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase c</attribute>
- <attribute side="server" code="0x0A15" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase c</attribute>
- <attribute side="server" code="0x0A16" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase c</attribute>
- <attribute side="server" code="0x0A17" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_C" type="INT16U" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase c</attribute>
+ <attribute side="server" code="0x0000" define="MEASUREMENT_TYPE" type="bitmap32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x000000" optional="true">measurement type</attribute>
+ <attribute side="server" code="0x0100" define="DC_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage</attribute>
+ <attribute side="server" code="0x0101" define="DC_VOLTAGE_MIN" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage min</attribute>
+ <attribute side="server" code="0x0102" define="DC_VOLTAGE_MAX" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc voltage max</attribute>
+ <attribute side="server" code="0x0103" define="DC_CURRENT" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current</attribute>
+ <attribute side="server" code="0x0104" define="DC_CURRENT_MIN" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current min</attribute>
+ <attribute side="server" code="0x0105" define="DC_CURRENT_MAX" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc current max</attribute>
+ <attribute side="server" code="0x0106" define="DC_POWER" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power</attribute>
+ <attribute side="server" code="0x0107" define="DC_POWER_MIN" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power min</attribute>
+ <attribute side="server" code="0x0108" define="DC_POWER_MAX" type="int16s" min="-32768" max="32767" writable="false" default="0x8000" optional="true">dc power max</attribute>
+ <attribute side="server" code="0x0200" define="DC_VOLTAGE_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage multiplier</attribute>
+ <attribute side="server" code="0x0201" define="DC_VOLTAGE_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc voltage divisor</attribute>
+ <attribute side="server" code="0x0202" define="DC_CURRENT_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current multiplier</attribute>
+ <attribute side="server" code="0x0203" define="DC_CURRENT_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc current divisor</attribute>
+ <attribute side="server" code="0x0204" define="DC_POWER_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power multiplier</attribute>
+ <attribute side="server" code="0x0205" define="DC_POWER_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">dc power divisor</attribute>
+ <attribute side="server" code="0x0300" define="AC_FREQUENCY" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency</attribute>
+ <attribute side="server" code="0x0301" define="AC_FREQUENCY_MIN" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency min</attribute>
+ <attribute side="server" code="0x0302" define="AC_FREQUENCY_MAX" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">ac frequency max</attribute>
+ <attribute side="server" code="0x0303" define="NEUTRAL_CURRENT" type="int16u" min="0" max="0xFFFF" writable="false" default="0x0000" optional="true">neutral current</attribute>
+ <attribute side="server" code="0x0304" define="TOTAL_ACTIVE_POWER" type="int32s" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total active power</attribute>
+ <attribute side="server" code="0x0305" define="TOTAL_REACTIVE_POWER" type="int32s" min="0x800001" max="0x7FFFFF" writable="false" default="0x000000" optional="true">total reactive power</attribute>
+ <attribute side="server" code="0x0306" define="TOTAL_APPARENT_POWER" type="int32u" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">total apparent power</attribute>
+ <attribute side="server" code="0x0307" define="MEASURED_1ST_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 1st harmonic current</attribute>
+ <attribute side="server" code="0x0308" define="MEASURED_3RD_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 3rd harmonic current</attribute>
+ <attribute side="server" code="0x0309" define="MEASURED_5TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 5th harmonic current</attribute>
+ <attribute side="server" code="0x030A" define="MEASURED_7TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 7th harmonic current</attribute>
+ <attribute side="server" code="0x030B" define="MEASURED_9TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 9th harmonic current</attribute>
+ <attribute side="server" code="0x030C" define="MEASURED_11TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured 11th harmonic current</attribute>
+ <attribute side="server" code="0x030D" define="MEASURED_PHASE_1ST_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 1st harmonic current</attribute>
+ <attribute side="server" code="0x030E" define="MEASURED_PHASE_3RD_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 3rd harmonic current</attribute>
+ <attribute side="server" code="0x030F" define="MEASURED_PHASE_5TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 5th harmonic current</attribute>
+ <attribute side="server" code="0x0310" define="MEASURED_PHASE_7TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 7th harmonic current</attribute>
+ <attribute side="server" code="0x0311" define="MEASURED_PHASE_9TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 9th harmonic current</attribute>
+ <attribute side="server" code="0x0312" define="MEASURED_PHASE_11TH_HARMONIC_CURRENT" type="int16s" min="-32768" max="323767" writable="false" default="0x8000" optional="true">measured phase 11th harmonic current</attribute>
+ <attribute side="server" code="0x0400" define="AC_FREQUENCY_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency multiplier</attribute>
+ <attribute side="server" code="0x0401" define="AC_FREQUENCY_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac frequency divisor</attribute>
+ <attribute side="server" code="0x0402" define="POWER_MULTIPLIER" type="int32u" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power multiplier</attribute>
+ <attribute side="server" code="0x0403" define="POWER_DIVISOR" type="int32u" min="0" max="0xFFFFFF" writable="false" default="0x000001" optional="true">power divisor</attribute>
+ <attribute side="server" code="0x0404" define="HARMONIC_CURRENT_MULTIPLIER" type="int8s" min="-127" max="127" writable="false" default="0x00" optional="true">harmonic current multiplier</attribute>
+ <attribute side="server" code="0x0405" define="PHASE_HARMONIC_CURRENT_MULTIPLIER" type="int8s" min="-127" max="127" writable="false" default="0x00" optional="true">phase harmonic current multiplier</attribute>
+ <attribute side="server" code="0x0500" define="INSTANTANEOUS_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous voltage</attribute>
+ <attribute side="server" code="0x0501" define="INSTANTANEOUS_LINE_CURRENT" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">instantaneous line current</attribute>
+ <attribute side="server" code="0x0502" define="INSTANTANEOUS_ACTIVE_CURRENT" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous active current</attribute>
+ <attribute side="server" code="0x0503" define="INSTANTANEOUS_REACTIVE_CURRENT" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous reactive current</attribute>
+ <attribute side="server" code="0x0504" define="INSTANTANEOUS_POWER" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">instantaneous power</attribute>
+ <attribute side="server" code="0x0505" define="RMS_VOLTAGE" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms voltage</attribute>
+ <attribute side="server" code="0x0506" define="RMS_VOLTAGE_MIN" type="int16u" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage min</attribute>
+ <attribute side="server" code="0x0507" define="RMS_VOLTAGE_MAX" type="int16u" min="0" max="0xFFFF" writable="false" default="0x8000" optional="true">rms voltage max</attribute>
+ <attribute side="server" code="0x0508" define="RMS_CURRENT" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current</attribute>
+ <attribute side="server" code="0x0509" define="RMS_CURRENT_MIN" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current min</attribute>
+ <attribute side="server" code="0x050A" define="RMS_CURRENT_MAX" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">rms current max</attribute>
+ <attribute side="server" code="0x050B" define="ACTIVE_POWER" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power</attribute>
+ <attribute side="server" code="0x050C" define="ACTIVE_POWER_MIN" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min</attribute>
+ <attribute side="server" code="0x050D" define="ACTIVE_POWER_MAX" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max</attribute>
+ <attribute side="server" code="0x050E" define="REACTIVE_POWER" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power</attribute>
+ <attribute side="server" code="0x050F" define="APPARENT_POWER" type="int16u" min="0" max="0xFFFF" writable="false" default="0xffff" optional="true">apparent power</attribute>
+ <attribute side="server" code="0x0510" define="AC_POWER_FACTOR" type="int8s" min="-100" max="100" writable="false" default="0x00" optional="true">power factor</attribute>
+ <attribute side="server" code="0x0511" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms voltage measurement period</attribute>
+ <attribute side="server" code="0x0513" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">average rms under voltage counter</attribute>
+ <attribute side="server" code="0x0514" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme over voltage period</attribute>
+ <attribute side="server" code="0x0515" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms extreme under voltage period</attribute>
+ <attribute side="server" code="0x0516" define="RMS_VOLTAGE_SAG_PERIOD" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage sag period</attribute>
+ <attribute side="server" code="0x0517" define="RMS_VOLTAGE_SWELL_PERIOD" type="int16u" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">rms voltage swell period</attribute>
+ <attribute side="server" code="0x0600" define="AC_VOLTAGE_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage multiplier</attribute>
+ <attribute side="server" code="0x0601" define="AC_VOLTAGE_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac voltage divisor</attribute>
+ <attribute side="server" code="0x0602" define="AC_CURRENT_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current multiplier</attribute>
+ <attribute side="server" code="0x0603" define="AC_CURRENT_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac current divisor</attribute>
+ <attribute side="server" code="0x0604" define="AC_POWER_MULTIPLIER" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power multiplier</attribute>
+ <attribute side="server" code="0x0605" define="AC_POWER_DIVISOR" type="int16u" min="1" max="0xFFFF" writable="false" default="0x01" optional="true">ac power divisor</attribute>
+ <attribute side="server" code="0x0700" define="DC_OVERLOAD_ALARMS_MASK" type="bitmap8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">overload alarms mask</attribute>
+ <attribute side="server" code="0x0701" define="DC_VOLTAGE_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">voltage overload</attribute>
+ <attribute side="server" code="0x0702" define="DC_CURRENT_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">current overload</attribute>
+ <attribute side="server" code="0x0800" define="AC_OVERLOAD_ALARMS_MASK" type="bitmap16" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">ac overload alarms mask</attribute>
+ <attribute side="server" code="0x0801" define="AC_VOLTAGE_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac voltage overload</attribute>
+ <attribute side="server" code="0x0802" define="AC_CURRENT_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac current overload</attribute>
+ <attribute side="server" code="0x0803" define="AC_POWER_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac active power overload</attribute>
+ <attribute side="server" code="0x0804" define="AC_REACTIVE_POWER_OVERLOAD" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">ac reactive power overload</attribute>
+ <attribute side="server" code="0x0805" define="AVERAGE_RMS_OVER_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms over voltage</attribute>
+ <attribute side="server" code="0x0806" define="AVERAGE_RMS_UNDER_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">average rms under voltage</attribute>
+ <attribute side="server" code="0x0807" define="RMS_EXTREME_OVER_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme over voltage</attribute>
+ <attribute side="server" code="0x0808" define="RMS_EXTREME_UNDER_VOLTAGE" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms extreme under voltage</attribute>
+ <attribute side="server" code="0x0809" define="RMS_VOLTAGE_SAG" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage sag</attribute>
+ <attribute side="server" code="0x080A" define="RMS_VOLTAGE_SWELL" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">rms voltage swell</attribute>
+ <attribute side="server" code="0x0901" define="LINE_CURRENT_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase b</attribute>
+ <attribute side="server" code="0x0902" define="ACTIVE_CURRENT_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase b</attribute>
+ <attribute side="server" code="0x0903" define="REACTIVE_CURRENT_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase b</attribute>
+ <attribute side="server" code="0x0905" define="RMS_VOLTAGE_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase b</attribute>
+ <attribute side="server" code="0x0906" define="RMS_VOLTAGE_MIN_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase b</attribute>
+ <attribute side="server" code="0x0907" define="RMS_VOLTAGE_MAX_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase b</attribute>
+ <attribute side="server" code="0x0908" define="RMS_CURRENT_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase b</attribute>
+ <attribute side="server" code="0x0909" define="RMS_CURRENT_MIN_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase b</attribute>
+ <attribute side="server" code="0x090A" define="RMS_CURRENT_MAX_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase b</attribute>
+ <attribute side="server" code="0x090B" define="ACTIVE_POWER_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase b</attribute>
+ <attribute side="server" code="0x090C" define="ACTIVE_POWER_MIN_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase b</attribute>
+ <attribute side="server" code="0x090D" define="ACTIVE_POWER_MAX_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase b</attribute>
+ <attribute side="server" code="0x090E" define="REACTIVE_POWER_PHASE_B" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase b</attribute>
+ <attribute side="server" code="0x090F" define="APPARENT_POWER_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase b</attribute>
+ <attribute side="server" code="0x0910" define="POWER_FACTOR_PHASE_B" type="int8s" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase b</attribute>
+ <attribute side="server" code="0x0911" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase b</attribute>
+ <attribute side="server" code="0x0912" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase b</attribute>
+ <attribute side="server" code="0x0913" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase b</attribute>
+ <attribute side="server" code="0x0914" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase b</attribute>
+ <attribute side="server" code="0x0915" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase b</attribute>
+ <attribute side="server" code="0x0916" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase b</attribute>
+ <attribute side="server" code="0x0917" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_B" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase b</attribute>
+ <attribute side="server" code="0x0A01" define="LINE_CURRENT_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">line current phase c</attribute>
+ <attribute side="server" code="0x0A02" define="ACTIVE_CURRENT_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active current phase c</attribute>
+ <attribute side="server" code="0x0A03" define="REACTIVE_CURRENT_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive current phase c</attribute>
+ <attribute side="server" code="0x0A05" define="RMS_VOLTAGE_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage phase c</attribute>
+ <attribute side="server" code="0x0A06" define="RMS_VOLTAGE_MIN_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage min phase c</attribute>
+ <attribute side="server" code="0x0A07" define="RMS_VOLTAGE_MAX_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms voltage max phase c</attribute>
+ <attribute side="server" code="0x0A08" define="RMS_CURRENT_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current phase c</attribute>
+ <attribute side="server" code="0x0A09" define="RMS_CURRENT_MIN_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current min phase c</attribute>
+ <attribute side="server" code="0x0A0A" define="RMS_CURRENT_MAX_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">rms current max phase c</attribute>
+ <attribute side="server" code="0x0A0B" define="ACTIVE_POWER_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power phase c</attribute>
+ <attribute side="server" code="0x0A0C" define="ACTIVE_POWER_MIN_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power min phase c</attribute>
+ <attribute side="server" code="0x0A0D" define="ACTIVE_POWER_MAX_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">active power max phase c</attribute>
+ <attribute side="server" code="0x0A0E" define="REACTIVE_POWER_PHASE_C" type="int16s" min="-32768" max="32767" writable="false" default="0xffff" optional="true">reactive power phase c</attribute>
+ <attribute side="server" code="0x0A0F" define="APPARENT_POWER_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0xffff" optional="true">apparent power phase c</attribute>
+ <attribute side="server" code="0x0A10" define="POWER_FACTOR_PHASE_C" type="int8s" min="-100" max="100" writable="false" default="0x00" optional="true">power factor phase c</attribute>
+ <attribute side="server" code="0x0A11" define="AVERAGE_RMS_VOLTAGE_MEASUREMENT_PERIOD_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms voltage measurement period phase c</attribute>
+ <attribute side="server" code="0x0A12" define="AVERAGE_RMS_OVER_VOLTAGE_COUNTER_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms over voltage counter phase c</attribute>
+ <attribute side="server" code="0x0A13" define="AVERAGE_RMS_UNDER_VOLTAGE_COUNTER_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">average rms under voltage counter phase c</attribute>
+ <attribute side="server" code="0x0A14" define="RMS_EXTREME_OVER_VOLTAGE_PERIOD_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme over voltage period phase c</attribute>
+ <attribute side="server" code="0x0A15" define="RMS_EXTREME_UNDER_VOLTAGE_PERIOD_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms extreme under voltage period phase c</attribute>
+ <attribute side="server" code="0x0A16" define="RMS_VOLTAGE_SAG_PERIOD_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage sag period phase c</attribute>
+ <attribute side="server" code="0x0A17" define="RMS_VOLTAGE_SWELL_PERIOD_PHASE_C" type="int16u" min="0x0000" max="0xffff" writable="false" default="0x0000" optional="true">rms voltage swell period phase c</attribute>
<command source="server" code="0x00" name="GetProfileInfoResponseCommand" optional="true" disableDefaultResponse="true">
<description>
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.
</description>
- <arg name="profileCount" type="INT8U"/>
- <arg name="profileIntervalPeriod" type="ENUM8"/>
- <arg name="maxNumberOfIntervals" type="INT8U"/>
- <arg name="listOfAttributes" type="INT16U" array="true"/>
+ <arg name="profileCount" type="int8u"/>
+ <arg name="profileIntervalPeriod" type="enum8"/>
+ <arg name="maxNumberOfIntervals" type="int8u"/>
+ <arg name="listOfAttributes" type="int16u" array="true"/>
</command>
<command source="server" code="0x01" name="GetMeasurementProfileResponseCommand" optional="true" disableDefaultResponse="true">
<description>
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
</description>
- <arg name="startTime" type="INT32U"/>
- <arg name="status" type="ENUM8"/>
- <arg name="profileIntervalPeriod" type="ENUM8"/>
- <arg name="numberOfIntervalsDelivered" type="INT8U"/>
- <arg name="attributeId" type="INT16U"/>
- <arg name="intervals" type="INT8U" array="true"/>
+ <arg name="startTime" type="int32u"/>
+ <arg name="status" type="enum8"/>
+ <arg name="profileIntervalPeriod" type="enum8"/>
+ <arg name="numberOfIntervalsDelivered" type="int8u"/>
+ <arg name="attributeId" type="int16u"/>
+ <arg name="intervals" type="int8u" array="true"/>
</command>
<command source="client" code="0x00" name="GetProfileInfoCommand" optional="true">
@@ -190,9 +190,9 @@
<description>
A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id requested.
</description>
- <arg name="attributeId" type="INT16U"/>
- <arg name="startTime" type="INT32U"/>
- <arg name="numberOfIntervals" type="ENUM8"/>
+ <arg name="attributeId" type="int16u"/>
+ <arg name="startTime" type="int32u"/>
+ <arg name="numberOfIntervals" type="enum8"/>
</command>
</cluster>
</configurator>
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 fec28d4..dc52fd7 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 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
- <attribute side="server" code="0x0004" define="ACTIVE_TEXT" type="CHAR_STRING" length="16" writable="true" default="" optional="true">active text</attribute>
- <attribute side="server" code="0x001C" define="DESCRIPTION" type="CHAR_STRING" length="16" writable="true" default="" optional="true">description</attribute>
- <attribute side="server" code="0x002E" define="INACTIVE_TEXT" type="CHAR_STRING" length="16" writable="true" default="" optional="true">inactive text</attribute>
- <attribute side="server" code="0x0051" define="OUT_OF_SERVICE" type="BOOLEAN" min="0x00" max="0x01" writable="true" default="0x00" optional="false">out of service</attribute>
- <attribute side="server" code="0x0054" define="POLARITY" type="ENUM8" writable="false" default="0x00" optional="true">polarity</attribute>
- <attribute side="server" code="0x0055" define="PRESENT_VALUE" type="BOOLEAN" writable="true" reportable="true" optional="false">present value</attribute>
- <attribute side="server" code="0x0067" define="RELIABILITY" type="ENUM8" writable="true" default="0x00" optional="true">reliability</attribute>
- <attribute side="server" code="0x006F" define="STATUS_FLAGS" type="BITMAP8" min="0x00" max="0x0F" writable="false" default="0x00" reportable="true" optional="false">status flags</attribute>
- <attribute side="server" code="0x0100" define="APPLICATION_TYPE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">application type</attribute>
+ <attribute side="server" code="0x0004" define="ACTIVE_TEXT" type="char_string" length="16" writable="true" default="" optional="true">active text</attribute>
+ <attribute side="server" code="0x001C" define="DESCRIPTION" type="char_string" length="16" writable="true" default="" optional="true">description</attribute>
+ <attribute side="server" code="0x002E" define="INACTIVE_TEXT" type="char_string" length="16" writable="true" default="" optional="true">inactive text</attribute>
+ <attribute side="server" code="0x0051" define="OUT_OF_SERVICE" type="boolean" min="0x00" max="0x01" writable="true" default="0x00" optional="false">out of service</attribute>
+ <attribute side="server" code="0x0054" define="POLARITY" type="enum8" writable="false" default="0x00" optional="true">polarity</attribute>
+ <attribute side="server" code="0x0055" define="PRESENT_VALUE" type="boolean" writable="true" reportable="true" optional="false">present value</attribute>
+ <attribute side="server" code="0x0067" define="RELIABILITY" type="enum8" writable="true" default="0x00" optional="true">reliability</attribute>
+ <attribute side="server" code="0x006F" define="STATUS_FLAGS" type="bitmap8" min="0x00" max="0x0F" writable="false" default="0x00" reportable="true" optional="false">status flags</attribute>
+ <attribute side="server" code="0x0100" define="APPLICATION_TYPE" type="int32u" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">application type</attribute>
</cluster>
</configurator>
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 c1fdaf0..7cd3041 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 @@
limitations under the License.
-->
<configurator>
- <enum name="MeterTypeId" type="ENUM16">
+ <enum name="MeterTypeId" type="enum16">
<item name="UtilityPrimaryMeter" value="0x0000"/>
<item name="UtilityProductionMeter" value="0x0001"/>
<item name="UtilitySecondaryMeter" value="0x0002"/>
@@ -24,7 +24,7 @@
<item name="GenericMeter" value="0x0110"/>
</enum>
- <enum name="DataQualityId" type="ENUM16">
+ <enum name="DataQualityId" type="enum16">
<item name="AllDataCertified" value="0x0000"/>
<item name="OnlyInstantaneousPowerNotCertified" value="0x0001"/>
<item name="OnlyCumulatedConsumptionNotCertified" value="0x0002"/>
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 5f6fd93..1662b2b 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 @@
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
- <attribute side="server" code="0x0000" define="SWITCH_TYPE" type="ENUM8" min="0x00" max="0x01" writable="false" optional="false">switch type</attribute>
- <attribute side="server" code="0x0010" define="SWITCH_ACTIONS" type="ENUM8" min="0x00" max="0x02" writable="true" default="0x00" optional="false">switch actions</attribute>
+ <attribute side="server" code="0x0000" define="SWITCH_TYPE" type="enum8" min="0x00" max="0x01" writable="false" optional="false">switch type</attribute>
+ <attribute side="server" code="0x0010" define="SWITCH_ACTIONS" type="enum8" min="0x00" max="0x02" writable="true" default="0x00" optional="false">switch actions</attribute>
</cluster>
</configurator>
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 bf9a38a..c31350d 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 @@
limitations under the License.
-->
<configurator>
- <bitmap name="BallastStatus" type="BITMAP8">
+ <bitmap name="BallastStatus" type="bitmap8">
<field name="NonOperational" mask="0x1"/>
<field name="LampNotInSocket" mask="0x2"/>
</bitmap>
- <bitmap name="LampAlarmMode" type="BITMAP8">
+ <bitmap name="LampAlarmMode" type="bitmap8">
<field name="lampBurnHours" mask="0x1"/>
</bitmap>
</configurator>
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 5f42386..9e35230 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 @@
limitations under the License.
-->
<configurator>
- <enum name="ColorControlOptions" type="BITMAP8">
+ <enum name="ColorControlOptions" type="bitmap8">
<item name="ExecuteIfOff" value="0x1"/>
</enum>
- <enum name="EnhancedColorMode" type="ENUM8">
+ <enum name="EnhancedColorMode" type="enum8">
<item name="CurrentHueAndCurrentSaturation" value="0x00"/>
<item name="CurrentXAndCurrentY" value="0x01"/>
<item name="ColorTemperature" value="0x02"/>
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 f692385..2f5d6b5 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 @@
limitations under the License.
-->
<configurator>
- <enum name="RelativeHumidityMode" type="ENUM8">
+ <enum name="RelativeHumidityMode" type="enum8">
<item name="measureLocally" value="0x0"/>
<item name="updatedOverTheNetwork" value="0x1"/>
</enum>
- <enum name="DehumidifcationLockout" type="ENUM8">
+ <enum name="DehumidifcationLockout" type="enum8">
<item name="notAllowed" value="0x0"/>
<item name="allowed" value="0x1"/>
</enum>
- <enum name="RelativeHumidityDisplay" type="ENUM8">
+ <enum name="RelativeHumidityDisplay" type="enum8">
<item name="notDisplayed" value="0x0"/>
<item name="displayed" value="0x1"/>
</enum>
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 c9037f3..f54aa99 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 @@
limitations under the License.
-->
<configurator>
- <enum name="DoorLockState" type="ENUM8">
+ <enum name="DoorLockState" type="enum8">
<item name="NotFullyLocked" value="0x00"/>
<item name="Locked" value="0x01"/>
<item name="Unlocked" value="0x02"/>
</enum>
- <enum name="DoorLockSoundVolume" type="ENUM8">
+ <enum name="DoorLockSoundVolume" type="enum8">
<item name="Silent" value="0x00"/>
<item name="Low" value="0x01"/>
<item name="High" value="0x02"/>
</enum>
- <enum name="DoorLockType" type="ENUM8">
+ <enum name="DoorLockType" type="enum8">
<item name="DeadBolt" value="0x00"/>
<item name="Magnetic" value="0x01"/>
<item name="Mortise" value="0x02"/>
@@ -40,7 +40,7 @@
<item name="Other" value="0x09"/>
</enum>
- <enum name="DoorState" type="ENUM8">
+ <enum name="DoorState" type="enum8">
<item name="Open" value="0x00"/>
<item name="Closed" value="0x01"/>
<item name="ErrorJammed" value="0x02"/>
@@ -48,7 +48,7 @@
<item name="ErrorUnspecified" value="0x04"/>
</enum>
- <enum name="DoorLockOperatingMode" type="ENUM8">
+ <enum name="DoorLockOperatingMode" type="enum8">
<item name="NormalMode" value="0x00"/>
<item name="VacationMode" value="0x01"/>
<item name="PrivacyMode" value="0x02"/>
@@ -57,18 +57,18 @@
<item name="PassageMode" value="0x05"/>
</enum>
- <enum name="DoorLockSecurityLevel" type="ENUM8">
+ <enum name="DoorLockSecurityLevel" type="enum8">
<item name="NetworkSecurity" value="0x00"/>
<item name="ApsSecurity" value="0x01"/>
</enum>
- <enum name="DoorLockEventType" type="ENUM8">
+ <enum name="DoorLockEventType" type="enum8">
<item name="Operation" value="0x00"/>
<item name="Programming" value="0x01"/>
<item name="Alarm" value="0x02"/>
</enum>
- <enum name="DoorLockEventSource" type="ENUM8">
+ <enum name="DoorLockEventSource" type="enum8">
<item name="Keypad" value="0x00"/>
<item name="Rf" value="0x01"/>
<item name="Manual" value="0x02"/>
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 5b578ec..04eedca 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 @@
limitations under the License.
-->
<configurator>
- <enum name="LevelStatus" type="ENUM8">
+ <enum name="LevelStatus" type="enum8">
<item name="OnTarget" value="0x0"/>
<item name="BelowTarget" value="0x1"/>
<item name="AboveTarget" value="0x2"/>
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 7d45f79..6e696a6 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 @@
limitations under the License.
-->
<configurator>
- <enum name="SwitchType" type="ENUM8">
+ <enum name="SwitchType" type="enum8">
<item name="Toggle" value="0x00"/>
<item name="Momentary" value="0x01"/>
<item name="MultiFunction" value="0x02" introducedIn="ha-1.2-05-3520-29"/>
</enum>
- <enum name="SwitchActions" type="ENUM8">
+ <enum name="SwitchActions" type="enum8">
<item name="On" value="0x0"/>
<item name="Off" value="0x1"/>
<item name="Toggle" value="0x2"/>
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 58f0de6..5e68d97 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 @@
limitations under the License.
-->
<configurator>
- <enum name="LevelStatus" type="ENUM8">
- <enum name="PowerProfileState" type="ENUM8">
+ <enum name="LevelStatus" type="enum8">
+ <enum name="PowerProfileState" type="enum8">
<item name="PowerProfileWaitingToStart" value="0x01"/>
<item name="PowerProfileStarted" value="0x02"/>
<item name="EnergyPhaseRunning" value="0x03"/>
@@ -27,7 +27,7 @@
<item name="PowerProfileScheduled" value="0x09"/>
</enum>
- <bitmap name="EnergyFormatting" type="BITMAP8">
+ <bitmap name="EnergyFormatting" type="bitmap8">
<field name="NumberOfDigitsToTheRightOfTheDecimalPoint" mask="0x07"/>
<field name="NumberOfDigitsToTheLeftOfTheDecimalPoint" mask="0x78"/>
<field name="SuppressLeadingZeros" mask="0x80"/>
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 cedbdcc..0604905 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 @@
limitations under the License.
-->
<configurator>
- <enum name="TemperatureDisplayMode" type="ENUM8">
+ <enum name="TemperatureDisplayMode" type="enum8">
<item name="celsius" value="0x0"/>
<item name="fahrenheit" value="0x1"/>
</enum>
- <enum name="KeypadLockout" type="ENUM8">
+ <enum name="KeypadLockout" type="enum8">
<item name="noLockout" value="0x0"/>
<item name="levelOneLockout" value="0x1"/>
<item name="levelTwoLockout" value="0x2"/>
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 a1b7e71..9264e13 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 @@
limitations under the License.
-->
<configurator>
- <bitmap name="ThermostatOccupancy" type="BITMAP8">
+ <bitmap name="ThermostatOccupancy" type="bitmap8">
<field name="occupied" mask="0x1"/>
</bitmap>
- <bitmap name="ThermostatSensing" type="BITMAP8">
+ <bitmap name="ThermostatSensing" type="bitmap8">
<field name="localTempSensedRemotely" mask="0x1"/>
<field name="outdoorTempSensedRemotely" mask="0x2"/>
<field name="occupancySensedRemotely" mask="0x4"/>
</bitmap>
- <bitmap name="ThermostatAlarmMask" type="BITMAP8">
+ <bitmap name="ThermostatAlarmMask" type="bitmap8">
<field name="initializationFailure" mask="0x1"/>
<field name="hardwareFailure" mask="0x2"/>
<field name="selfcalibrationFailure" mask="0x4"/>
</bitmap>
- <bitmap name="ThermostatRunningState" type="BITMAP16">
+ <bitmap name="ThermostatRunningState" type="bitmap16">
<field name="HeatStateOn" mask="0x0001"/>
<field name="CoolStateOn" mask="0x0002"/>
<field name="FanStateOn" mask="0x0004"/>
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 c10c691..795a0ce 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 @@
- Prefix: 0xFFF1 - Test vendor MC
- Suffix: 0x0001 - Non-global attribute id
-->
- <attribute side="server" code="0xFFF10001" define="MEI_EXTENSION" type="INT8U" writable="false" optional="true" isNullable="false">ManufacturerExtension</attribute>
+ <attribute side="server" code="0xFFF10001" define="MEI_EXTENSION" type="int8u" writable="false" optional="true" isNullable="false">ManufacturerExtension</attribute>
<!--
Manufacturer specific extension command:
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 036dcb9..cf5a9d6 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -35,7 +35,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct IdentifyRequest {
- INT16U identifyTime = 0;
+ int16u identifyTime = 0;
}
request struct TriggerEffectRequest {
@@ -69,11 +69,11 @@
request struct AddGroupRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
response struct AddGroupResponse = 0 {
- ENUM8 status = 0;
+ enum8 status = 0;
group_id groupID = 1;
}
@@ -82,9 +82,9 @@
}
response struct ViewGroupResponse = 1 {
- ENUM8 status = 0;
+ enum8 status = 0;
group_id groupID = 1;
- CHAR_STRING groupName = 2;
+ char_string groupName = 2;
}
request struct GetGroupMembershipRequest {
@@ -92,7 +92,7 @@
}
response struct GetGroupMembershipResponse = 2 {
- nullable INT8U capacity = 0;
+ nullable int8u capacity = 0;
group_id groupList[] = 1;
}
@@ -101,13 +101,13 @@
}
response struct RemoveGroupResponse = 3 {
- ENUM8 status = 0;
+ enum8 status = 0;
group_id groupID = 1;
}
request struct AddGroupIfIdentifyingRequest {
group_id groupID = 0;
- CHAR_STRING groupName = 1;
+ char_string groupName = 1;
}
/** Command description for AddGroup */
@@ -164,41 +164,41 @@
request struct AddSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
+ int8u sceneID = 1;
+ int16u transitionTime = 2;
+ char_string sceneName = 3;
ExtensionFieldSet extensionFieldSets[] = 4;
}
response struct AddSceneResponse = 0 {
status status = 0;
group_id groupID = 1;
- INT8U sceneID = 2;
+ int8u sceneID = 2;
}
request struct ViewSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
+ int8u sceneID = 1;
}
response struct ViewSceneResponse = 1 {
status status = 0;
group_id groupID = 1;
- INT8U sceneID = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
+ int8u sceneID = 2;
+ optional int16u transitionTime = 3;
+ optional char_string sceneName = 4;
optional ExtensionFieldSet extensionFieldSets[] = 5;
}
request struct RemoveSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
+ int8u sceneID = 1;
}
response struct RemoveSceneResponse = 2 {
status status = 0;
group_id groupID = 1;
- INT8U sceneID = 2;
+ int8u sceneID = 2;
}
request struct RemoveAllScenesRequest {
@@ -212,19 +212,19 @@
request struct StoreSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
+ int8u sceneID = 1;
}
response struct StoreSceneResponse = 4 {
status status = 0;
group_id groupID = 1;
- INT8U sceneID = 2;
+ int8u sceneID = 2;
}
request struct RecallSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
- optional nullable INT16U transitionTime = 2;
+ int8u sceneID = 1;
+ optional nullable int16u transitionTime = 2;
}
request struct GetSceneMembershipRequest {
@@ -233,51 +233,51 @@
response struct GetSceneMembershipResponse = 6 {
status status = 0;
- nullable INT8U capacity = 1;
+ nullable int8u capacity = 1;
group_id groupID = 2;
- optional INT8U sceneList[] = 3;
+ optional int8u sceneList[] = 3;
}
request struct EnhancedAddSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
- INT16U transitionTime = 2;
- CHAR_STRING sceneName = 3;
+ int8u sceneID = 1;
+ int16u transitionTime = 2;
+ char_string sceneName = 3;
ExtensionFieldSet extensionFieldSets[] = 4;
}
response struct EnhancedAddSceneResponse = 64 {
status status = 0;
group_id groupID = 1;
- INT8U sceneID = 2;
+ int8u sceneID = 2;
}
request struct EnhancedViewSceneRequest {
group_id groupID = 0;
- INT8U sceneID = 1;
+ int8u sceneID = 1;
}
response struct EnhancedViewSceneResponse = 65 {
status status = 0;
- group_Id groupID = 1;
- INT8U sceneID = 2;
- optional INT16U transitionTime = 3;
- optional CHAR_STRING sceneName = 4;
+ group_id groupID = 1;
+ int8u sceneID = 2;
+ optional int16u transitionTime = 3;
+ optional char_string sceneName = 4;
optional ExtensionFieldSet extensionFieldSets[] = 5;
}
request struct CopySceneRequest {
ScenesCopyMode mode = 0;
group_id groupIdentifierFrom = 1;
- INT8U sceneIdentifierFrom = 2;
+ int8u sceneIdentifierFrom = 2;
group_id groupIdentifierTo = 3;
- INT8U sceneIdentifierTo = 4;
+ int8u sceneIdentifierTo = 4;
}
response struct CopySceneResponse = 66 {
status status = 0;
- group_Id groupIdentifierFrom = 1;
- INT8U sceneIdentifierFrom = 2;
+ group_id groupIdentifierFrom = 1;
+ int8u sceneIdentifierFrom = 2;
}
/** Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}' */
@@ -428,23 +428,23 @@
readonly attribute int16u clusterRevision = 65533;
request struct MoveToLevelRequest {
- INT8U level = 0;
- nullable INT16U transitionTime = 1;
+ int8u level = 0;
+ nullable int16u transitionTime = 1;
LevelControlOptions optionsMask = 2;
LevelControlOptions optionsOverride = 3;
}
request struct MoveRequest {
MoveMode moveMode = 0;
- nullable INT8U rate = 1;
+ nullable int8u rate = 1;
LevelControlOptions optionsMask = 2;
LevelControlOptions optionsOverride = 3;
}
request struct StepRequest {
StepMode stepMode = 0;
- INT8U stepSize = 1;
- nullable INT16U transitionTime = 2;
+ int8u stepSize = 1;
+ nullable int16u transitionTime = 2;
LevelControlOptions optionsMask = 3;
LevelControlOptions optionsOverride = 4;
}
@@ -455,23 +455,23 @@
}
request struct MoveToLevelWithOnOffRequest {
- INT8U level = 0;
- nullable INT16U transitionTime = 1;
+ int8u level = 0;
+ nullable int16u transitionTime = 1;
LevelControlOptions optionsMask = 2;
LevelControlOptions optionsOverride = 3;
}
request struct MoveWithOnOffRequest {
MoveMode moveMode = 0;
- nullable INT8U rate = 1;
+ nullable int8u rate = 1;
LevelControlOptions optionsMask = 2;
LevelControlOptions optionsOverride = 3;
}
request struct StepWithOnOffRequest {
StepMode stepMode = 0;
- INT8U stepSize = 1;
- nullable INT16U transitionTime = 2;
+ int8u stepSize = 1;
+ nullable int16u transitionTime = 2;
LevelControlOptions optionsMask = 3;
LevelControlOptions optionsOverride = 4;
}
@@ -482,7 +482,7 @@
}
request struct MoveToClosestFrequencyRequest {
- INT16U frequency = 0;
+ int16u frequency = 0;
}
/** Command description for MoveToLevel */
@@ -554,9 +554,9 @@
}
readonly attribute DeviceTypeStruct deviceTypeList[] = 0;
- readonly attribute CLUSTER_ID serverList[] = 1;
- readonly attribute CLUSTER_ID clientList[] = 2;
- readonly attribute ENDPOINT_NO partsList[] = 3;
+ readonly attribute cluster_id serverList[] = 1;
+ readonly attribute cluster_id clientList[] = 2;
+ readonly attribute endpoint_no partsList[] = 3;
readonly attribute optional SemanticTagStruct tagList[] = 4;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -631,7 +631,7 @@
fabric_sensitive info event access(read: administer) AccessControlEntryChanged = 0 {
nullable node_id adminNodeID = 1;
- nullable INT16U adminPasscodeID = 2;
+ nullable int16u adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
nullable AccessControlEntryStruct latestValue = 4;
fabric_idx fabricIndex = 254;
@@ -639,7 +639,7 @@
fabric_sensitive info event access(read: administer) AccessControlExtensionChanged = 1 {
nullable node_id adminNodeID = 1;
- nullable INT16U adminPasscodeID = 2;
+ nullable int16u adminPasscodeID = 2;
ChangeTypeEnum changeType = 3;
nullable AccessControlExtensionStruct latestValue = 4;
fabric_idx fabricIndex = 254;
@@ -720,14 +720,14 @@
}
info event StateChanged = 0 {
- INT16U actionID = 0;
- INT32U invokeID = 1;
+ int16u actionID = 0;
+ int32u invokeID = 1;
ActionStateEnum newState = 2;
}
info event ActionFailed = 1 {
- INT16U actionID = 0;
- INT32U invokeID = 1;
+ int16u actionID = 0;
+ int32u invokeID = 1;
ActionStateEnum newState = 2;
ActionErrorEnum error = 3;
}
@@ -743,68 +743,68 @@
readonly attribute int16u clusterRevision = 65533;
request struct InstantActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct InstantActionWithTransitionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
- INT16U transitionTime = 2;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
+ int16u transitionTime = 2;
}
request struct StartActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct StartActionWithDurationRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
- INT32U duration = 2;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
+ int32u duration = 2;
}
request struct StopActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct PauseActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct PauseActionWithDurationRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
- INT32U duration = 2;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
+ int32u duration = 2;
}
request struct ResumeActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct EnableActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct EnableActionWithDurationRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
- INT32U duration = 2;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
+ int32u duration = 2;
}
request struct DisableActionRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
}
request struct DisableActionWithDurationRequest {
- INT16U actionID = 0;
- optional INT32U invokeID = 1;
- INT32U duration = 2;
+ int16u actionID = 0;
+ optional int32u invokeID = 1;
+ int32u duration = 2;
}
/** This command triggers an action (state change) on the involved endpoints. */
@@ -881,7 +881,7 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -957,39 +957,39 @@
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 */
@@ -1038,19 +1038,19 @@
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;
@@ -1068,7 +1068,7 @@
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;
}
@@ -1082,7 +1082,7 @@
they can be configured to use a user’s preferred language, units, etc */
client cluster LocalizationConfiguration = 43 {
attribute char_string<35> activeLocale = 0;
- readonly attribute CHAR_STRING supportedLocales[] = 1;
+ readonly attribute char_string supportedLocales[] = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -1157,7 +1157,7 @@
/** This cluster is used to describe the configuration and capabilities of a Device's power system. */
client cluster PowerSourceConfiguration = 46 {
- readonly attribute INT8U sources[] = 0;
+ readonly attribute int8u sources[] = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
@@ -1457,29 +1457,29 @@
readonly attribute int16u clusterRevision = 65533;
request struct ArmFailSafeRequest {
- INT16U expiryLengthSeconds = 0;
- INT64U breadcrumb = 1;
+ int16u expiryLengthSeconds = 0;
+ int64u breadcrumb = 1;
}
response struct ArmFailSafeResponse = 1 {
CommissioningErrorEnum errorCode = 0;
- CHAR_STRING debugText = 1;
+ char_string debugText = 1;
}
request struct SetRegulatoryConfigRequest {
RegulatoryLocationTypeEnum newRegulatoryConfig = 0;
- CHAR_STRING countryCode = 1;
- INT64U breadcrumb = 2;
+ char_string countryCode = 1;
+ int64u breadcrumb = 2;
}
response struct SetRegulatoryConfigResponse = 3 {
CommissioningErrorEnum errorCode = 0;
- CHAR_STRING debugText = 1;
+ char_string debugText = 1;
}
response struct CommissioningCompleteResponse = 5 {
CommissioningErrorEnum errorCode = 0;
- CHAR_STRING debugText = 1;
+ char_string debugText = 1;
}
/** Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock */
@@ -1572,54 +1572,54 @@
readonly attribute int16u clusterRevision = 65533;
request struct ScanNetworksRequest {
- optional nullable OCTET_STRING<32> ssid = 0;
- optional INT64U breadcrumb = 1;
+ optional nullable octet_string<32> ssid = 0;
+ optional int64u breadcrumb = 1;
}
response struct ScanNetworksResponse = 1 {
NetworkCommissioningStatusEnum networkingStatus = 0;
- optional CHAR_STRING debugText = 1;
+ optional char_string debugText = 1;
optional WiFiInterfaceScanResultStruct wiFiScanResults[] = 2;
optional ThreadInterfaceScanResultStruct threadScanResults[] = 3;
}
request struct AddOrUpdateWiFiNetworkRequest {
- OCTET_STRING<32> ssid = 0;
- OCTET_STRING<64> credentials = 1;
- optional INT64U breadcrumb = 2;
+ octet_string<32> ssid = 0;
+ octet_string<64> credentials = 1;
+ optional int64u breadcrumb = 2;
}
request struct AddOrUpdateThreadNetworkRequest {
- OCTET_STRING<254> operationalDataset = 0;
- optional INT64U breadcrumb = 1;
+ octet_string<254> operationalDataset = 0;
+ optional int64u breadcrumb = 1;
}
request struct RemoveNetworkRequest {
- OCTET_STRING<32> networkID = 0;
- optional INT64U breadcrumb = 1;
+ octet_string<32> networkID = 0;
+ optional int64u breadcrumb = 1;
}
response struct NetworkConfigResponse = 5 {
NetworkCommissioningStatusEnum networkingStatus = 0;
- optional CHAR_STRING<512> debugText = 1;
- optional INT8U networkIndex = 2;
+ optional char_string<512> debugText = 1;
+ optional int8u networkIndex = 2;
}
request struct ConnectNetworkRequest {
- OCTET_STRING<32> networkID = 0;
- optional INT64U breadcrumb = 1;
+ octet_string<32> networkID = 0;
+ optional int64u breadcrumb = 1;
}
response struct ConnectNetworkResponse = 7 {
NetworkCommissioningStatusEnum networkingStatus = 0;
- optional CHAR_STRING debugText = 1;
- nullable INT32S errorValue = 2;
+ optional char_string debugText = 1;
+ nullable int32s errorValue = 2;
}
request struct ReorderNetworkRequest {
- OCTET_STRING<32> networkID = 0;
- INT8U networkIndex = 1;
- optional INT64U breadcrumb = 2;
+ octet_string<32> networkID = 0;
+ int8u networkIndex = 1;
+ optional int64u breadcrumb = 2;
}
/** Detemine the set of networks the device sees as available. */
@@ -1667,7 +1667,7 @@
request struct RetrieveLogsRequestRequest {
IntentEnum intent = 0;
TransferProtocolEnum requestedProtocol = 1;
- optional CHAR_STRING<32> transferFileDesignator = 2;
+ optional char_string<32> transferFileDesignator = 2;
}
response struct RetrieveLogsResponse = 1 {
@@ -1780,8 +1780,8 @@
readonly attribute int16u clusterRevision = 65533;
request struct TestEventTriggerRequest {
- OCTET_STRING<16> enableKey = 0;
- INT64U eventTrigger = 1;
+ octet_string<16> enableKey = 0;
+ int64u eventTrigger = 1;
}
/** Provide a means for certification tests to trigger some test-plan-specific events */
@@ -1803,9 +1803,9 @@
}
info event SoftwareFault = 0 {
- INT64U id = 0;
- optional CHAR_STRING name = 1;
- optional OCTET_STRING faultRecording = 2;
+ int64u id = 0;
+ optional char_string name = 1;
+ optional octet_string faultRecording = 2;
}
readonly attribute optional ThreadMetricsStruct threadMetrics[] = 0;
@@ -2026,12 +2026,12 @@
}
info event Disconnection = 0 {
- INT16U reasonCode = 0;
+ int16u reasonCode = 0;
}
info event AssociationFailure = 1 {
AssociationFailureCauseEnum associationFailure = 0;
- INT16U status = 1;
+ int16u status = 1;
}
info event ConnectionStatus = 2 {
@@ -2180,8 +2180,8 @@
}
info event TimeZoneStatus = 2 {
- INT32S offset = 0;
- optional CHAR_STRING name = 1;
+ int32s offset = 0;
+ optional char_string name = 1;
}
info event TimeFailure = 3 {
@@ -2233,7 +2233,7 @@
}
request struct SetDefaultNTPRequest {
- nullable CHAR_STRING<128> defaultNTP = 0;
+ nullable char_string<128> defaultNTP = 0;
}
/** This command MAY be issued by Administrator to set the time. */
@@ -2292,7 +2292,7 @@
}
critical event StartUp = 0 {
- INT32U softwareVersion = 0;
+ int32u softwareVersion = 0;
}
critical event ShutDown = 1 {
@@ -2342,33 +2342,33 @@
}
info event SwitchLatched = 0 {
- INT8U newPosition = 0;
+ int8u newPosition = 0;
}
info event InitialPress = 1 {
- INT8U newPosition = 0;
+ int8u newPosition = 0;
}
info event LongPress = 2 {
- INT8U newPosition = 0;
+ int8u newPosition = 0;
}
info event ShortRelease = 3 {
- INT8U previousPosition = 0;
+ int8u previousPosition = 0;
}
info event LongRelease = 4 {
- INT8U previousPosition = 0;
+ int8u previousPosition = 0;
}
info event MultiPressOngoing = 5 {
- INT8U newPosition = 0;
- INT8U currentNumberOfPressesCounted = 1;
+ int8u newPosition = 0;
+ int8u currentNumberOfPressesCounted = 1;
}
info event MultiPressComplete = 6 {
- INT8U previousPosition = 0;
- INT8U totalNumberOfPressesCounted = 1;
+ int8u previousPosition = 0;
+ int8u totalNumberOfPressesCounted = 1;
}
readonly attribute int8u numberOfPositions = 0;
@@ -2407,15 +2407,15 @@
readonly attribute int16u clusterRevision = 65533;
request struct OpenCommissioningWindowRequest {
- INT16U commissioningTimeout = 0;
- OCTET_STRING PAKEPasscodeVerifier = 1;
- INT16U discriminator = 2;
- INT32U iterations = 3;
- OCTET_STRING salt = 4;
+ int16u commissioningTimeout = 0;
+ octet_string PAKEPasscodeVerifier = 1;
+ int16u discriminator = 2;
+ int32u iterations = 3;
+ octet_string salt = 4;
}
request struct OpenBasicCommissioningWindowRequest {
- INT16U commissioningTimeout = 0;
+ int16u commissioningTimeout = 0;
}
/** This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning method. */
@@ -2465,7 +2465,7 @@
readonly attribute FabricDescriptorStruct fabrics[] = 1;
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
- readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
+ readonly attribute octet_string trustedRootCertificates[] = 4;
readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -2475,12 +2475,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct AttestationRequestRequest {
- OCTET_STRING attestationNonce = 0;
+ octet_string attestationNonce = 0;
}
response struct AttestationResponse = 1 {
- OCTET_STRING attestationElements = 0;
- OCTET_STRING attestationSignature = 1;
+ octet_string attestationElements = 0;
+ octet_string attestationSignature = 1;
}
request struct CertificateChainRequestRequest {
@@ -2488,40 +2488,40 @@
}
response struct CertificateChainResponse = 3 {
- OCTET_STRING certificate = 0;
+ octet_string certificate = 0;
}
request struct CSRRequestRequest {
- OCTET_STRING CSRNonce = 0;
+ octet_string CSRNonce = 0;
optional boolean isForUpdateNOC = 1;
}
response struct CSRResponse = 5 {
- OCTET_STRING NOCSRElements = 0;
- OCTET_STRING attestationSignature = 1;
+ octet_string NOCSRElements = 0;
+ octet_string attestationSignature = 1;
}
request struct AddNOCRequest {
- OCTET_STRING NOCValue = 0;
- optional OCTET_STRING ICACValue = 1;
- OCTET_STRING IPKValue = 2;
- Int64u caseAdminSubject = 3;
- VENDOR_ID adminVendorId = 4;
+ octet_string NOCValue = 0;
+ optional octet_string ICACValue = 1;
+ octet_string IPKValue = 2;
+ int64u caseAdminSubject = 3;
+ vendor_id adminVendorId = 4;
}
request struct UpdateNOCRequest {
- OCTET_STRING NOCValue = 0;
- optional OCTET_STRING ICACValue = 1;
+ octet_string NOCValue = 0;
+ optional octet_string ICACValue = 1;
}
response struct NOCResponse = 8 {
NodeOperationalCertStatusEnum statusCode = 0;
optional fabric_idx fabricIndex = 1;
- optional CHAR_STRING debugText = 2;
+ optional char_string debugText = 2;
}
request struct UpdateFabricLabelRequest {
- CHAR_STRING<32> label = 0;
+ char_string<32> label = 0;
}
request struct RemoveFabricRequest {
@@ -2529,7 +2529,7 @@
}
request struct AddTrustedRootCertificateRequest {
- OCTET_STRING rootCACertificate = 0;
+ octet_string rootCACertificate = 0;
}
/** Sender is requesting attestation information from the receiver. */
@@ -2601,7 +2601,7 @@
}
request struct KeySetReadRequest {
- INT16U groupKeySetID = 0;
+ int16u groupKeySetID = 0;
}
response struct KeySetReadResponse = 2 {
@@ -2609,11 +2609,11 @@
}
request struct KeySetRemoveRequest {
- INT16U groupKeySetID = 0;
+ int16u groupKeySetID = 0;
}
response struct KeySetReadAllIndicesResponse = 5 {
- INT16U groupKeySetIDs[] = 0;
+ int16u groupKeySetIDs[] = 0;
}
/** Write a new set of keys for the given key set id. */
@@ -2731,18 +2731,18 @@
request struct RegisterClientRequest {
node_id checkInNodeID = 0;
- INT64U monitoredSubject = 1;
- OCTET_STRING<16> key = 2;
- optional OCTET_STRING<16> verificationKey = 3;
+ int64u monitoredSubject = 1;
+ octet_string<16> key = 2;
+ optional octet_string<16> verificationKey = 3;
}
response struct RegisterClientResponse = 1 {
- INT32U ICDCounter = 0;
+ int32u ICDCounter = 0;
}
request struct UnregisterClientRequest {
node_id checkInNodeID = 0;
- optional OCTET_STRING<16> verificationKey = 1;
+ optional octet_string<16> verificationKey = 1;
}
/** Register a client to the end device */
@@ -2784,7 +2784,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
/** On receipt of this command, if the NewMode field matches the Mode field in an entry of the SupportedModes list, the server SHALL set the CurrentMode attribute to the NewMode value, otherwise, the server SHALL respond with an INVALID_COMMAND status response. */
@@ -2827,12 +2827,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
response struct ChangeToModeResponse = 1 {
- ENUM8 status = 0;
- optional CHAR_STRING statusText = 1;
+ enum8 status = 0;
+ optional char_string statusText = 1;
}
/** This command is used to change device modes.
@@ -2874,12 +2874,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
response struct ChangeToModeResponse = 1 {
- ENUM8 status = 0;
- optional CHAR_STRING statusText = 1;
+ enum8 status = 0;
+ optional char_string statusText = 1;
}
/** This command is used to change device modes.
@@ -2901,7 +2901,7 @@
kRinse = 0x2;
}
- readonly attribute optional CHAR_STRING spinSpeeds[] = 0;
+ readonly attribute optional char_string spinSpeeds[] = 0;
attribute optional nullable int8u spinSpeedCurrent = 1;
attribute optional NumberOfRinsesEnum numberOfRinses = 2;
readonly attribute optional NumberOfRinsesEnum supportedRinses[] = 3;
@@ -2958,12 +2958,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
response struct ChangeToModeResponse = 1 {
- ENUM8 status = 0;
- optional CHAR_STRING statusText = 1;
+ enum8 status = 0;
+ optional char_string statusText = 1;
}
/** This command is used to change device modes.
@@ -3010,12 +3010,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
response struct ChangeToModeResponse = 1 {
- ENUM8 status = 0;
- optional CHAR_STRING statusText = 1;
+ enum8 status = 0;
+ optional char_string statusText = 1;
}
/** This command is used to change device modes.
@@ -3046,7 +3046,7 @@
request struct SetTemperatureRequest {
optional temperature targetTemperature = 0;
- optional INT8U targetTemperatureLevel = 1;
+ optional int8u targetTemperatureLevel = 1;
}
/** Set Temperature */
@@ -3112,12 +3112,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeToModeRequest {
- INT8U newMode = 0;
+ int8u newMode = 0;
}
response struct ChangeToModeResponse = 1 {
- ENUM8 status = 0;
- optional CHAR_STRING statusText = 1;
+ enum8 status = 0;
+ optional char_string statusText = 1;
}
/** This command is used to change device modes.
@@ -3342,12 +3342,12 @@
}
info event OperationCompletion = 1 {
- ENUM8 completionErrorCode = 0;
+ enum8 completionErrorCode = 0;
optional nullable elapsed_s totalOperationalTime = 1;
optional nullable elapsed_s pausedTime = 2;
}
- readonly attribute nullable CHAR_STRING phaseList[] = 0;
+ readonly attribute nullable char_string phaseList[] = 0;
readonly attribute nullable int8u currentPhase = 1;
readonly attribute optional nullable elapsed_s countdownTime = 2;
readonly attribute OperationalStateStruct operationalStateList[] = 3;
@@ -3409,12 +3409,12 @@
}
info event OperationCompletion = 1 {
- ENUM8 completionErrorCode = 0;
+ enum8 completionErrorCode = 0;
optional nullable elapsed_s totalOperationalTime = 1;
optional nullable elapsed_s pausedTime = 2;
}
- readonly attribute nullable CHAR_STRING phaseList[] = 0;
+ readonly attribute nullable char_string phaseList[] = 0;
readonly attribute nullable int8u currentPhase = 1;
readonly attribute optional nullable elapsed_s countdownTime = 2;
readonly attribute OperationalStateStruct operationalStateList[] = 3;
@@ -3892,9 +3892,9 @@
critical event LockOperation = 2 {
LockOperationTypeEnum lockOperationType = 0;
OperationSourceEnum operationSource = 1;
- nullable INT16U userIndex = 2;
+ nullable int16u userIndex = 2;
nullable fabric_idx fabricIndex = 3;
- nullable NODE_ID sourceNode = 4;
+ nullable node_id sourceNode = 4;
optional nullable CredentialStruct credentials[] = 5;
}
@@ -3902,9 +3902,9 @@
LockOperationTypeEnum lockOperationType = 0;
OperationSourceEnum operationSource = 1;
OperationErrorEnum operationError = 2;
- nullable INT16U userIndex = 3;
+ nullable int16u userIndex = 3;
nullable fabric_idx fabricIndex = 4;
- nullable NODE_ID sourceNode = 5;
+ nullable node_id sourceNode = 5;
optional nullable CredentialStruct credentials[] = 6;
}
@@ -3912,10 +3912,10 @@
LockDataTypeEnum lockDataType = 0;
DataOperationTypeEnum dataOperationType = 1;
OperationSourceEnum operationSource = 2;
- nullable INT16U userIndex = 3;
+ nullable int16u userIndex = 3;
nullable fabric_idx fabricIndex = 4;
- nullable NODE_ID sourceNode = 5;
- nullable INT16U dataIndex = 6;
+ nullable node_id sourceNode = 5;
+ nullable int16u dataIndex = 6;
}
readonly attribute nullable DlLockState lockState = 0;
@@ -3962,87 +3962,87 @@
readonly attribute int16u clusterRevision = 65533;
request struct LockDoorRequest {
- optional OCTET_STRING PINCode = 0;
+ optional octet_string PINCode = 0;
}
request struct UnlockDoorRequest {
- optional OCTET_STRING PINCode = 0;
+ optional octet_string PINCode = 0;
}
request struct UnlockWithTimeoutRequest {
- INT16U timeout = 0;
- optional OCTET_STRING PINCode = 1;
+ int16u timeout = 0;
+ optional octet_string PINCode = 1;
}
request struct SetWeekDayScheduleRequest {
- INT8U weekDayIndex = 0;
- INT16U userIndex = 1;
+ int8u weekDayIndex = 0;
+ int16u userIndex = 1;
DaysMaskMap daysMask = 2;
- INT8U startHour = 3;
- INT8U startMinute = 4;
- INT8U endHour = 5;
- INT8U endMinute = 6;
+ int8u startHour = 3;
+ int8u startMinute = 4;
+ int8u endHour = 5;
+ int8u endMinute = 6;
}
request struct GetWeekDayScheduleRequest {
- INT8U weekDayIndex = 0;
- INT16U userIndex = 1;
+ int8u weekDayIndex = 0;
+ int16u userIndex = 1;
}
response struct GetWeekDayScheduleResponse = 12 {
- INT8U weekDayIndex = 0;
- INT16U userIndex = 1;
+ int8u weekDayIndex = 0;
+ int16u userIndex = 1;
DlStatus status = 2;
optional DaysMaskMap daysMask = 3;
- optional INT8U startHour = 4;
- optional INT8U startMinute = 5;
- optional INT8U endHour = 6;
- optional INT8U endMinute = 7;
+ optional int8u startHour = 4;
+ optional int8u startMinute = 5;
+ optional int8u endHour = 6;
+ optional int8u endMinute = 7;
}
request struct ClearWeekDayScheduleRequest {
- INT8U weekDayIndex = 0;
- INT16U userIndex = 1;
+ int8u weekDayIndex = 0;
+ int16u userIndex = 1;
}
request struct SetYearDayScheduleRequest {
- INT8U yearDayIndex = 0;
- INT16U userIndex = 1;
+ int8u yearDayIndex = 0;
+ int16u userIndex = 1;
epoch_s localStartTime = 2;
epoch_s localEndTime = 3;
}
request struct GetYearDayScheduleRequest {
- INT8U yearDayIndex = 0;
- INT16U userIndex = 1;
+ int8u yearDayIndex = 0;
+ int16u userIndex = 1;
}
response struct GetYearDayScheduleResponse = 15 {
- INT8U yearDayIndex = 0;
- INT16U userIndex = 1;
+ int8u yearDayIndex = 0;
+ int16u userIndex = 1;
DlStatus status = 2;
optional epoch_s localStartTime = 3;
optional epoch_s localEndTime = 4;
}
request struct ClearYearDayScheduleRequest {
- INT8U yearDayIndex = 0;
- INT16U userIndex = 1;
+ int8u yearDayIndex = 0;
+ int16u userIndex = 1;
}
request struct SetHolidayScheduleRequest {
- INT8U holidayIndex = 0;
+ int8u holidayIndex = 0;
epoch_s localStartTime = 1;
epoch_s localEndTime = 2;
OperatingModeEnum operatingMode = 3;
}
request struct GetHolidayScheduleRequest {
- INT8U holidayIndex = 0;
+ int8u holidayIndex = 0;
}
response struct GetHolidayScheduleResponse = 18 {
- INT8U holidayIndex = 0;
+ int8u holidayIndex = 0;
DlStatus status = 1;
optional epoch_s localStartTime = 2;
optional epoch_s localEndTime = 3;
@@ -4050,53 +4050,53 @@
}
request struct ClearHolidayScheduleRequest {
- INT8U holidayIndex = 0;
+ int8u holidayIndex = 0;
}
request struct SetUserRequest {
DataOperationTypeEnum operationType = 0;
- INT16U userIndex = 1;
- nullable CHAR_STRING userName = 2;
- nullable INT32U userUniqueID = 3;
+ int16u userIndex = 1;
+ nullable char_string userName = 2;
+ nullable int32u userUniqueID = 3;
nullable UserStatusEnum userStatus = 4;
nullable UserTypeEnum userType = 5;
nullable CredentialRuleEnum credentialRule = 6;
}
request struct GetUserRequest {
- INT16U userIndex = 0;
+ int16u userIndex = 0;
}
response struct GetUserResponse = 28 {
- INT16U userIndex = 0;
- nullable CHAR_STRING userName = 1;
- nullable INT32U userUniqueID = 2;
+ int16u userIndex = 0;
+ nullable char_string userName = 1;
+ nullable int32u userUniqueID = 2;
nullable UserStatusEnum userStatus = 3;
nullable UserTypeEnum userType = 4;
nullable CredentialRuleEnum credentialRule = 5;
nullable CredentialStruct credentials[] = 6;
nullable fabric_idx creatorFabricIndex = 7;
nullable fabric_idx lastModifiedFabricIndex = 8;
- nullable INT16U nextUserIndex = 9;
+ nullable int16u nextUserIndex = 9;
}
request struct ClearUserRequest {
- INT16U userIndex = 0;
+ int16u userIndex = 0;
}
request struct SetCredentialRequest {
DataOperationTypeEnum operationType = 0;
CredentialStruct credential = 1;
LONG_OCTET_STRING credentialData = 2;
- nullable INT16U userIndex = 3;
+ nullable int16u userIndex = 3;
nullable UserStatusEnum userStatus = 4;
nullable UserTypeEnum userType = 5;
}
response struct SetCredentialResponse = 35 {
DlStatus status = 0;
- nullable INT16U userIndex = 1;
- nullable INT16U nextCredentialIndex = 2;
+ nullable int16u userIndex = 1;
+ nullable int16u nextCredentialIndex = 2;
}
request struct GetCredentialStatusRequest {
@@ -4105,10 +4105,10 @@
response struct GetCredentialStatusResponse = 37 {
boolean credentialExists = 0;
- nullable INT16U userIndex = 1;
+ nullable int16u userIndex = 1;
nullable fabric_idx creatorFabricIndex = 2;
nullable fabric_idx lastModifiedFabricIndex = 3;
- nullable INT16U nextCredentialIndex = 4;
+ nullable int16u nextCredentialIndex = 4;
}
request struct ClearCredentialRequest {
@@ -4116,7 +4116,7 @@
}
request struct UnboltDoorRequest {
- optional OCTET_STRING PINCode = 0;
+ optional octet_string PINCode = 0;
}
/** This command causes the lock device to lock the door. */
@@ -4257,14 +4257,14 @@
readonly attribute optional int16u numberOfActuationsLift = 5;
readonly attribute optional int16u numberOfActuationsTilt = 6;
readonly attribute ConfigStatus configStatus = 7;
- readonly attribute optional nullable Percent currentPositionLiftPercentage = 8;
- readonly attribute optional nullable Percent currentPositionTiltPercentage = 9;
+ readonly attribute optional nullable percent currentPositionLiftPercentage = 8;
+ readonly attribute optional nullable percent currentPositionTiltPercentage = 9;
readonly attribute OperationalStatus operationalStatus = 10;
- readonly attribute optional nullable Percent100ths targetPositionLiftPercent100ths = 11;
- readonly attribute optional nullable Percent100ths targetPositionTiltPercent100ths = 12;
+ readonly attribute optional nullable percent100ths targetPositionLiftPercent100ths = 11;
+ readonly attribute optional nullable percent100ths targetPositionTiltPercent100ths = 12;
readonly attribute EndProductType endProductType = 13;
- readonly attribute optional nullable Percent100ths currentPositionLiftPercent100ths = 14;
- readonly attribute optional nullable Percent100ths currentPositionTiltPercent100ths = 15;
+ readonly attribute optional nullable percent100ths currentPositionLiftPercent100ths = 14;
+ readonly attribute optional nullable percent100ths currentPositionTiltPercent100ths = 15;
readonly attribute optional int16u installedOpenLimitLift = 16;
readonly attribute optional int16u installedClosedLimitLift = 17;
readonly attribute optional int16u installedOpenLimitTilt = 18;
@@ -4279,19 +4279,19 @@
readonly attribute int16u clusterRevision = 65533;
request struct GoToLiftValueRequest {
- INT16U liftValue = 0;
+ int16u liftValue = 0;
}
request struct GoToLiftPercentageRequest {
- Percent100ths liftPercent100thsValue = 0;
+ percent100ths liftPercent100thsValue = 0;
}
request struct GoToTiltValueRequest {
- INT16U tiltValue = 0;
+ int16u tiltValue = 0;
}
request struct GoToTiltPercentageRequest {
- Percent100ths tiltPercent100thsValue = 0;
+ percent100ths tiltPercent100thsValue = 0;
}
/** Moves window covering to InstalledOpenLimitLift and InstalledOpenLimitTilt */
@@ -4341,7 +4341,7 @@
readonly attribute int16u clusterRevision = 65533;
request struct BarrierControlGoToPercentRequest {
- INT8U percentOpen = 0;
+ int8u percentOpen = 0;
}
/** Command to instruct a barrier to go to a percent open state. */
@@ -4597,18 +4597,18 @@
request struct SetpointRaiseLowerRequest {
SetpointAdjustMode mode = 0;
- INT8S amount = 1;
+ int8s amount = 1;
}
response struct GetWeeklyScheduleResponse = 0 {
- INT8U numberOfTransitionsForSequence = 0;
+ int8u numberOfTransitionsForSequence = 0;
DayOfWeek dayOfWeekForSequence = 1;
ModeForSequence modeForSequence = 2;
ThermostatScheduleTransition transitions[] = 3;
}
request struct SetWeeklyScheduleRequest {
- INT8U numberOfTransitionsForSequence = 0;
+ int8u numberOfTransitionsForSequence = 0;
DayOfWeek dayOfWeekForSequence = 1;
ModeForSequence modeForSequence = 2;
ThermostatScheduleTransition transitions[] = 3;
@@ -4682,8 +4682,8 @@
attribute FanModeEnum fanMode = 0;
attribute FanModeSequenceEnum fanModeSequence = 1;
- attribute nullable Percent percentSetting = 2;
- readonly attribute Percent percentCurrent = 3;
+ attribute nullable percent percentSetting = 2;
+ readonly attribute percent percentCurrent = 3;
readonly attribute optional int8u speedMax = 4;
attribute optional nullable int8u speedSetting = 5;
readonly attribute optional int8u speedCurrent = 6;
@@ -4853,151 +4853,151 @@
readonly attribute int16u clusterRevision = 65533;
request struct MoveToHueRequest {
- INT8U hue = 0;
+ int8u hue = 0;
HueDirection direction = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveHueRequest {
HueMoveMode moveMode = 0;
- INT8U rate = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int8u rate = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct StepHueRequest {
HueStepMode stepMode = 0;
- INT8U stepSize = 1;
- INT8U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int8u stepSize = 1;
+ int8u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveToSaturationRequest {
- INT8U saturation = 0;
- INT16U transitionTime = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int8u saturation = 0;
+ int16u transitionTime = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct MoveSaturationRequest {
SaturationMoveMode moveMode = 0;
- INT8U rate = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int8u rate = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct StepSaturationRequest {
SaturationStepMode stepMode = 0;
- INT8U stepSize = 1;
- INT8U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int8u stepSize = 1;
+ int8u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveToHueAndSaturationRequest {
- INT8U hue = 0;
- INT8U saturation = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int8u hue = 0;
+ int8u saturation = 1;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveToColorRequest {
- INT16U colorX = 0;
- INT16U colorY = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16u colorX = 0;
+ int16u colorY = 1;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveColorRequest {
- INT16S rateX = 0;
- INT16S rateY = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int16s rateX = 0;
+ int16s rateY = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct StepColorRequest {
- INT16S stepX = 0;
- INT16S stepY = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16s stepX = 0;
+ int16s stepY = 1;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct MoveToColorTemperatureRequest {
- INT16U colorTemperatureMireds = 0;
- INT16U transitionTime = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int16u colorTemperatureMireds = 0;
+ int16u transitionTime = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct EnhancedMoveToHueRequest {
- INT16U enhancedHue = 0;
+ int16u enhancedHue = 0;
HueDirection direction = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct EnhancedMoveHueRequest {
HueMoveMode moveMode = 0;
- INT16U rate = 1;
- BITMAP8 optionsMask = 2;
- BITMAP8 optionsOverride = 3;
+ int16u rate = 1;
+ bitmap8 optionsMask = 2;
+ bitmap8 optionsOverride = 3;
}
request struct EnhancedStepHueRequest {
HueStepMode stepMode = 0;
- INT16U stepSize = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16u stepSize = 1;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct EnhancedMoveToHueAndSaturationRequest {
- INT16U enhancedHue = 0;
- INT8U saturation = 1;
- INT16U transitionTime = 2;
- BITMAP8 optionsMask = 3;
- BITMAP8 optionsOverride = 4;
+ int16u enhancedHue = 0;
+ int8u saturation = 1;
+ int16u transitionTime = 2;
+ bitmap8 optionsMask = 3;
+ bitmap8 optionsOverride = 4;
}
request struct ColorLoopSetRequest {
ColorLoopUpdateFlags updateFlags = 0;
ColorLoopAction action = 1;
ColorLoopDirection direction = 2;
- INT16U time = 3;
- INT16U startHue = 4;
- BITMAP8 optionsMask = 5;
- BITMAP8 optionsOverride = 6;
+ int16u time = 3;
+ int16u startHue = 4;
+ bitmap8 optionsMask = 5;
+ bitmap8 optionsOverride = 6;
}
request struct StopMoveStepRequest {
- BITMAP8 optionsMask = 0;
- BITMAP8 optionsOverride = 1;
+ bitmap8 optionsMask = 0;
+ bitmap8 optionsOverride = 1;
}
request struct MoveColorTemperatureRequest {
HueMoveMode moveMode = 0;
- INT16U rate = 1;
- INT16U colorTemperatureMinimumMireds = 2;
- INT16U colorTemperatureMaximumMireds = 3;
- BITMAP8 optionsMask = 4;
- BITMAP8 optionsOverride = 5;
+ int16u rate = 1;
+ int16u colorTemperatureMinimumMireds = 2;
+ int16u colorTemperatureMaximumMireds = 3;
+ bitmap8 optionsMask = 4;
+ bitmap8 optionsOverride = 5;
}
request struct StepColorTemperatureRequest {
HueStepMode stepMode = 0;
- INT16U stepSize = 1;
- INT16U transitionTime = 2;
- INT16U colorTemperatureMinimumMireds = 3;
- INT16U colorTemperatureMaximumMireds = 4;
- BITMAP8 optionsMask = 5;
- BITMAP8 optionsOverride = 6;
+ int16u stepSize = 1;
+ int16u transitionTime = 2;
+ int16u colorTemperatureMinimumMireds = 3;
+ int16u colorTemperatureMaximumMireds = 4;
+ bitmap8 optionsMask = 5;
+ bitmap8 optionsOverride = 6;
}
/** Move to specified hue. */
@@ -5801,21 +5801,21 @@
readonly attribute int16u clusterRevision = 65533;
request struct ChangeChannelRequest {
- CHAR_STRING match = 0;
+ char_string match = 0;
}
response struct ChangeChannelResponse = 1 {
ChannelStatusEnum status = 0;
- optional CHAR_STRING data = 1;
+ optional char_string data = 1;
}
request struct ChangeChannelByNumberRequest {
- INT16U majorNumber = 0;
- INT16U minorNumber = 1;
+ int16u majorNumber = 0;
+ int16u minorNumber = 1;
}
request struct SkipChannelRequest {
- INT16S count = 0;
+ int16s count = 0;
}
/** Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. */
@@ -5849,13 +5849,13 @@
readonly attribute int16u clusterRevision = 65533;
request struct NavigateTargetRequest {
- INT8U target = 0;
- optional CHAR_STRING data = 1;
+ int8u target = 0;
+ optional char_string data = 1;
}
response struct NavigateTargetResponse = 1 {
TargetNavigatorStatusEnum status = 0;
- optional CHAR_STRING data = 1;
+ optional char_string data = 1;
}
/** Upon receipt, this SHALL navigation the UX to the target identified. */
@@ -5905,20 +5905,20 @@
readonly attribute int16u clusterRevision = 65533;
request struct SkipForwardRequest {
- INT64U deltaPositionMilliseconds = 0;
+ int64u deltaPositionMilliseconds = 0;
}
request struct SkipBackwardRequest {
- INT64U deltaPositionMilliseconds = 0;
+ int64u deltaPositionMilliseconds = 0;
}
response struct PlaybackResponse = 10 {
MediaPlaybackStatusEnum status = 0;
- optional CHAR_STRING data = 1;
+ optional char_string data = 1;
}
request struct SeekRequest {
- INT64U position = 0;
+ int64u position = 0;
}
/** Upon receipt, this SHALL play media. */
@@ -5983,12 +5983,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct SelectInputRequest {
- INT8U index = 0;
+ int8u index = 0;
}
request struct RenameInputRequest {
- INT8U index = 0;
- CHAR_STRING name = 1;
+ int8u index = 0;
+ char_string name = 1;
}
/** Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. */
@@ -6212,7 +6212,7 @@
optional StyleInformationStruct waterMark = 5;
}
- readonly attribute optional CHAR_STRING acceptHeader[] = 0;
+ readonly attribute optional char_string acceptHeader[] = 0;
attribute optional bitmap32 supportedStreamingProtocols = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -6223,19 +6223,19 @@
request struct LaunchContentRequest {
ContentSearchStruct search = 0;
- BOOLEAN autoPlay = 1;
- optional CHAR_STRING data = 2;
+ boolean autoPlay = 1;
+ optional char_string data = 2;
}
request struct LaunchURLRequest {
- CHAR_STRING contentURL = 0;
- optional CHAR_STRING displayString = 1;
+ char_string contentURL = 0;
+ optional char_string displayString = 1;
optional BrandingInformationStruct brandingInformation = 2;
}
response struct LauncherResponse = 2 {
ContentLaunchStatusEnum status = 0;
- optional CHAR_STRING data = 1;
+ optional char_string data = 1;
}
/** Upon receipt, this SHALL launch the specified content with optional search criteria. */
@@ -6275,12 +6275,12 @@
readonly attribute int16u clusterRevision = 65533;
request struct SelectOutputRequest {
- INT8U index = 0;
+ int8u index = 0;
}
request struct RenameOutputRequest {
- INT8U index = 0;
- CHAR_STRING name = 1;
+ int8u index = 0;
+ char_string name = 1;
}
/** Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. */
@@ -6311,7 +6311,7 @@
optional endpoint_no endpoint = 1;
}
- readonly attribute optional INT16U catalogList[] = 0;
+ readonly attribute optional int16u catalogList[] = 0;
attribute optional nullable ApplicationEPStruct currentApp = 1;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
@@ -6322,7 +6322,7 @@
request struct LaunchAppRequest {
optional ApplicationStruct application = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
request struct StopAppRequest {
@@ -6335,7 +6335,7 @@
response struct LauncherResponse = 3 {
ApplicationLauncherStatusEnum status = 0;
- optional OCTET_STRING data = 1;
+ optional octet_string data = 1;
}
/** Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns a Launch Response. */
@@ -6386,16 +6386,16 @@
readonly attribute int16u clusterRevision = 65533;
request struct GetSetupPINRequest {
- CHAR_STRING<100> tempAccountIdentifier = 0;
+ char_string<100> tempAccountIdentifier = 0;
}
response struct GetSetupPINResponse = 1 {
- CHAR_STRING setupPIN = 0;
+ char_string setupPIN = 0;
}
request struct LoginRequest {
- CHAR_STRING<100> tempAccountIdentifier = 0;
- CHAR_STRING setupPIN = 1;
+ char_string<100> tempAccountIdentifier = 0;
+ char_string setupPIN = 1;
}
/** Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the GetSetupPIN Response. */
@@ -6544,25 +6544,25 @@
readonly attribute int16u clusterRevision = 65533;
response struct GetProfileInfoResponseCommand = 0 {
- INT8U profileCount = 0;
- ENUM8 profileIntervalPeriod = 1;
- INT8U maxNumberOfIntervals = 2;
- INT16U listOfAttributes[] = 3;
+ int8u profileCount = 0;
+ enum8 profileIntervalPeriod = 1;
+ int8u maxNumberOfIntervals = 2;
+ int16u listOfAttributes[] = 3;
}
response struct GetMeasurementProfileResponseCommand = 1 {
- INT32U startTime = 0;
- ENUM8 status = 1;
- ENUM8 profileIntervalPeriod = 2;
- INT8U numberOfIntervalsDelivered = 3;
- INT16U attributeId = 4;
- INT8U intervals[] = 5;
+ int32u startTime = 0;
+ enum8 status = 1;
+ enum8 profileIntervalPeriod = 2;
+ int8u numberOfIntervalsDelivered = 3;
+ int16u attributeId = 4;
+ int8u intervals[] = 5;
}
request struct GetMeasurementProfileCommandRequest {
- INT16U attributeId = 0;
- INT32U startTime = 1;
- ENUM8 numberOfIntervals = 2;
+ int16u attributeId = 0;
+ int32u startTime = 1;
+ enum8 numberOfIntervals = 2;
}
/** A function which retrieves the power profiling information from the electrical measurement server. */
@@ -6677,9 +6677,9 @@
}
info event TestEvent = 1 {
- INT8U arg1 = 1;
+ int8u arg1 = 1;
SimpleEnum arg2 = 2;
- BOOLEAN arg3 = 3;
+ boolean arg3 = 3;
SimpleStruct arg4 = 4;
SimpleStruct arg5[] = 5;
SimpleEnum arg6[] = 6;
@@ -6715,8 +6715,8 @@
attribute single floatSingle = 23;
attribute double floatDouble = 24;
attribute octet_string<10> octetString = 25;
- attribute INT8U listInt8u[] = 26;
- attribute OCTET_STRING listOctetString[] = 27;
+ attribute int8u listInt8u[] = 26;
+ attribute octet_string listOctetString[] = 27;
attribute TestListStructOctet listStructOctetString[] = 28;
attribute long_octet_string<1000> longOctetString = 29;
attribute char_string<10> charString = 30;
@@ -6779,37 +6779,37 @@
readonly attribute int16u clusterRevision = 65533;
response struct TestSpecificResponse = 0 {
- INT8U returnValue = 0;
+ int8u returnValue = 0;
}
response struct TestAddArgumentsResponse = 1 {
- INT8U returnValue = 0;
+ int8u returnValue = 0;
}
response struct TestSimpleArgumentResponse = 2 {
- BOOLEAN returnValue = 0;
+ boolean returnValue = 0;
}
response struct TestStructArrayArgumentResponse = 3 {
NestedStructList arg1[] = 0;
SimpleStruct arg2[] = 1;
SimpleEnum arg3[] = 2;
- BOOLEAN arg4[] = 3;
+ boolean arg4[] = 3;
SimpleEnum arg5 = 4;
- BOOLEAN arg6 = 5;
+ boolean arg6 = 5;
}
request struct TestAddArgumentsRequest {
- INT8U arg1 = 0;
- INT8U arg2 = 1;
+ int8u arg1 = 0;
+ int8u arg2 = 1;
}
response struct TestListInt8UReverseResponse = 4 {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestSimpleArgumentRequestRequest {
- BOOLEAN arg1 = 0;
+ boolean arg1 = 0;
}
response struct TestEnumsResponse = 5 {
@@ -6821,16 +6821,16 @@
NestedStructList arg1[] = 0;
SimpleStruct arg2[] = 1;
SimpleEnum arg3[] = 2;
- BOOLEAN arg4[] = 3;
+ boolean arg4[] = 3;
SimpleEnum arg5 = 4;
- BOOLEAN arg6 = 5;
+ boolean arg6 = 5;
}
response struct TestNullableOptionalResponse = 6 {
- BOOLEAN wasPresent = 0;
- optional BOOLEAN wasNull = 1;
- optional INT8U value = 2;
- optional nullable INT8U originalValue = 3;
+ boolean wasPresent = 0;
+ optional boolean wasNull = 1;
+ optional int8u value = 2;
+ optional nullable int8u originalValue = 3;
}
request struct TestStructArgumentRequestRequest {
@@ -6838,33 +6838,33 @@
}
response struct TestComplexNullableOptionalResponse = 7 {
- BOOLEAN nullableIntWasNull = 0;
- optional INT16U nullableIntValue = 1;
- BOOLEAN optionalIntWasPresent = 2;
- optional INT16U optionalIntValue = 3;
- BOOLEAN nullableOptionalIntWasPresent = 4;
- optional BOOLEAN nullableOptionalIntWasNull = 5;
- optional INT16U nullableOptionalIntValue = 6;
- BOOLEAN nullableStringWasNull = 7;
- optional CHAR_STRING nullableStringValue = 8;
- BOOLEAN optionalStringWasPresent = 9;
- optional CHAR_STRING optionalStringValue = 10;
- BOOLEAN nullableOptionalStringWasPresent = 11;
- optional BOOLEAN nullableOptionalStringWasNull = 12;
- optional CHAR_STRING nullableOptionalStringValue = 13;
- BOOLEAN nullableStructWasNull = 14;
+ boolean nullableIntWasNull = 0;
+ optional int16u nullableIntValue = 1;
+ boolean optionalIntWasPresent = 2;
+ optional int16u optionalIntValue = 3;
+ boolean nullableOptionalIntWasPresent = 4;
+ optional boolean nullableOptionalIntWasNull = 5;
+ optional int16u nullableOptionalIntValue = 6;
+ boolean nullableStringWasNull = 7;
+ optional char_string nullableStringValue = 8;
+ boolean optionalStringWasPresent = 9;
+ optional char_string optionalStringValue = 10;
+ boolean nullableOptionalStringWasPresent = 11;
+ optional boolean nullableOptionalStringWasNull = 12;
+ optional char_string nullableOptionalStringValue = 13;
+ boolean nullableStructWasNull = 14;
optional SimpleStruct nullableStructValue = 15;
- BOOLEAN optionalStructWasPresent = 16;
+ boolean optionalStructWasPresent = 16;
optional SimpleStruct optionalStructValue = 17;
- BOOLEAN nullableOptionalStructWasPresent = 18;
- optional BOOLEAN nullableOptionalStructWasNull = 19;
+ boolean nullableOptionalStructWasPresent = 18;
+ optional boolean nullableOptionalStructWasNull = 19;
optional SimpleStruct nullableOptionalStructValue = 20;
- BOOLEAN nullableListWasNull = 21;
+ boolean nullableListWasNull = 21;
optional SimpleEnum nullableListValue[] = 22;
- BOOLEAN optionalListWasPresent = 23;
+ boolean optionalListWasPresent = 23;
optional SimpleEnum optionalListValue[] = 24;
- BOOLEAN nullableOptionalListWasPresent = 25;
- optional BOOLEAN nullableOptionalListWasNull = 26;
+ boolean nullableOptionalListWasPresent = 25;
+ optional boolean nullableOptionalListWasNull = 26;
optional SimpleEnum nullableOptionalListValue[] = 27;
}
@@ -6873,7 +6873,7 @@
}
response struct BooleanResponse = 8 {
- BOOLEAN value = 0;
+ boolean value = 0;
}
request struct TestListStructArgumentRequestRequest {
@@ -6885,11 +6885,11 @@
}
request struct TestListInt8UArgumentRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
response struct TestEmitTestEventResponse = 10 {
- INT64U value = 0;
+ int64u value = 0;
}
request struct TestNestedStructListArgumentRequestRequest {
@@ -6897,7 +6897,7 @@
}
response struct TestEmitTestFabricScopedEventResponse = 11 {
- INT64U value = 0;
+ int64u value = 0;
}
request struct TestListNestedStructListArgumentRequestRequest {
@@ -6905,7 +6905,7 @@
}
request struct TestListInt8UReverseRequestRequest {
- INT8U arg1[] = 0;
+ int8u arg1[] = 0;
}
request struct TestEnumsRequestRequest {
@@ -6914,16 +6914,16 @@
}
request struct TestNullableOptionalRequestRequest {
- optional nullable INT8U arg1 = 0;
+ optional nullable int8u arg1 = 0;
}
request struct TestComplexNullableOptionalRequestRequest {
- nullable INT16U nullableInt = 0;
- optional INT16U optionalInt = 1;
- optional nullable INT16U nullableOptionalInt = 2;
- nullable CHAR_STRING nullableString = 3;
- optional CHAR_STRING optionalString = 4;
- optional nullable CHAR_STRING nullableOptionalString = 5;
+ nullable int16u nullableInt = 0;
+ optional int16u optionalInt = 1;
+ optional nullable int16u nullableOptionalInt = 2;
+ nullable char_string nullableString = 3;
+ optional char_string optionalString = 4;
+ optional nullable char_string nullableOptionalString = 5;
nullable SimpleStruct nullableStruct = 6;
optional SimpleStruct optionalStruct = 7;
optional nullable SimpleStruct nullableOptionalStruct = 8;
@@ -6937,17 +6937,17 @@
}
request struct TestSimpleOptionalArgumentRequestRequest {
- optional BOOLEAN arg1 = 0;
+ optional boolean arg1 = 0;
}
request struct TestEmitTestEventRequestRequest {
- INT8U arg1 = 0;
+ int8u arg1 = 0;
SimpleEnum arg2 = 1;
- BOOLEAN arg3 = 2;
+ boolean arg3 = 2;
}
request struct TestEmitTestFabricScopedEventRequestRequest {
- INT8U arg1 = 0;
+ int8u arg1 = 0;
}
/** Simple command without any parameters and without a specific response */
@@ -7036,16 +7036,16 @@
request struct FailAtFaultRequest {
FaultType type = 0;
- INT32U id = 1;
- INT32U numCallsToSkip = 2;
- INT32U numCallsToFail = 3;
- BOOLEAN takeMutex = 4;
+ int32u id = 1;
+ int32u numCallsToSkip = 2;
+ int32u numCallsToFail = 3;
+ boolean takeMutex = 4;
}
request struct FailRandomlyAtFaultRequest {
FaultType type = 0;
- INT32U id = 1;
- INT8U percentage = 2;
+ int32u id = 1;
+ int8u percentage = 2;
}
/** Configure a fault to be triggered deterministically */
@@ -7065,12 +7065,12 @@
readonly attribute int16u clusterRevision = 65533;
response struct AddArgumentsResponse = 1 {
- INT8U returnValue = 0;
+ int8u returnValue = 0;
}
request struct AddArgumentsRequest {
- INT8U arg1 = 0;
- INT8U arg2 = 1;
+ int8u arg1 = 0;
+ int8u arg2 = 1;
}
/** Simple command without any parameters and without a response. */
diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
index ac2eb5e..258b943 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
+++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.h
@@ -1979,14 +1979,14 @@
} // namespace ConfigStatus
namespace CurrentPositionLiftPercentage {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // Percent
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // percent
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent> & value);
} // namespace CurrentPositionLiftPercentage
namespace CurrentPositionTiltPercentage {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // Percent
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // percent
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent> & value);
@@ -1999,14 +1999,14 @@
} // namespace OperationalStatus
namespace TargetPositionLiftPercent100ths {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // Percent100ths
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // percent100ths
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent100ths> & value);
} // namespace TargetPositionLiftPercent100ths
namespace TargetPositionTiltPercent100ths {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // Percent100ths
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // percent100ths
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent100ths> & value);
@@ -2018,14 +2018,14 @@
} // namespace EndProductType
namespace CurrentPositionLiftPercent100ths {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // Percent100ths
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // percent100ths
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent100ths> & value);
} // namespace CurrentPositionLiftPercent100ths
namespace CurrentPositionTiltPercent100ths {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // Percent100ths
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent100ths> & value); // percent100ths
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent100ths value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent100ths> & value);
@@ -2612,14 +2612,14 @@
} // namespace FanModeSequence
namespace PercentSetting {
-EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // Percent
+EmberAfStatus Get(chip::EndpointId endpoint, DataModel::Nullable<chip::Percent> & value); // percent
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value);
EmberAfStatus SetNull(chip::EndpointId endpoint);
EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullable<chip::Percent> & value);
} // namespace PercentSetting
namespace PercentCurrent {
-EmberAfStatus Get(chip::EndpointId endpoint, chip::Percent * value); // Percent
+EmberAfStatus Get(chip::EndpointId endpoint, chip::Percent * value); // percent
EmberAfStatus Set(chip::EndpointId endpoint, chip::Percent value);
} // namespace PercentCurrent
diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h
index 33fdf67..79f6ffd 100644
--- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h
+++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h
@@ -47135,7 +47135,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("percentSetting", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("percentSetting", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("percentSetting", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("percentSetting", [value unsignedCharValue], 100U));
}
@@ -47158,7 +47158,7 @@
VerifyOrReturn(CheckValue("status", err ? err.code : 0, 0));
- VerifyOrReturn(CheckConstraintType("percentCurrent", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("percentCurrent", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("percentCurrent", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("percentCurrent", [value unsignedCharValue], 100U));
@@ -102978,7 +102978,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -103003,7 +103003,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -103028,7 +103028,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -103053,7 +103053,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -103392,7 +103392,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 100U));
}
@@ -103417,7 +103417,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 100U));
}
@@ -104824,7 +104824,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -104849,7 +104849,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 100U));
}
@@ -104874,7 +104874,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -104899,7 +104899,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 100U));
}
@@ -105156,7 +105156,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105181,7 +105181,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 99U));
}
@@ -105206,7 +105206,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105231,7 +105231,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 99U));
}
@@ -105314,7 +105314,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105339,7 +105339,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105769,7 +105769,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105794,7 +105794,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 99U));
}
@@ -105819,7 +105819,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 9999U));
}
@@ -105844,7 +105844,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 0U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 99U));
}
@@ -106101,7 +106101,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionLiftPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -106126,7 +106126,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionLiftPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionLiftPercentage", [value unsignedCharValue], 100U));
}
@@ -106151,7 +106151,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("currentPositionTiltPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -106176,7 +106176,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "Percent", "Percent"));
+ VerifyOrReturn(CheckConstraintType("currentPositionTiltPercentage", "percent", "percent"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent>("currentPositionTiltPercentage", [value unsignedCharValue], 100U));
}
@@ -106259,7 +106259,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionLiftPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionLiftPercent100ths", [value unsignedShortValue], 10000U));
}
@@ -106284,7 +106284,7 @@
if (value != nil) {
- VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "Percent100ths", "Percent100ths"));
+ VerifyOrReturn(CheckConstraintType("targetPositionTiltPercent100ths", "percent100ths", "percent100ths"));
VerifyOrReturn(CheckConstraintMinValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 1U));
VerifyOrReturn(CheckConstraintMaxValue<chip::Percent100ths>("targetPositionTiltPercent100ths", [value unsignedShortValue], 10000U));
}