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 3a0bc89a7e6847..e1d48f4f655e42 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
@@ -1577,7 +1577,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -3477,7 +3477,7 @@ server cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationStatusEnum status = 5;
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 e2ad0498e02061..dac16c909b027a 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
@@ -1422,7 +1422,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter
index 8cd5035de3dd30..b47457480c4a44 100644
--- a/examples/bridge-app/bridge-common/bridge-app.matter
+++ b/examples/bridge-app/bridge-common/bridge-app.matter
@@ -1267,7 +1267,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
index f1d12e8a612b0b..cadd67a1fd1247 100644
--- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1235,7 +1235,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
index 208861c334f308..6bf99cf5abb818 100644
--- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
+++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
@@ -1114,7 +1114,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
index 70ca6ec6347735..d50c2189e0c6dd 100644
--- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
+++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
@@ -1369,7 +1369,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
index 74cfedb2c235f1..289a20f8500804 100644
--- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
+++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
index a55b3e4bd2daee..1a4a99c3aa7c54 100644
--- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
+++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter
@@ -1362,7 +1362,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
index 4fa09e3ae8a1f1..e9ac1fb1890303 100644
--- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
+++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
index 05810a920c2375..7943d5d9ee76c9 100644
--- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
+++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
index 70a2a926513a52..08f36aa6cf63fc 100644
--- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
+++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
index 5fdd540c0a2e77..0b364eeaa0d0f5 100644
--- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
+++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
@@ -1369,7 +1369,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
index d77ed04f6716b1..c6c4ac7930da4e 100644
--- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
+++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter
@@ -1428,7 +1428,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
index 0c4e0bd5a9e870..6654270b576023 100644
--- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
+++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter
@@ -1275,7 +1275,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
index c1085b8fcd4534..5ea7e699ff4785 100644
--- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
+++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
index 131573cd34d01e..7e7274afe8d39d 100644
--- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
+++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
@@ -1249,7 +1249,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
index 493113d5f38102..62ca53940e28d1 100644
--- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
+++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter
@@ -1127,7 +1127,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
index 49f626f23559bc..15abcd5da025e8 100644
--- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
+++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
@@ -1225,7 +1225,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
index 33fc686acfd41a..960e33569fac7c 100644
--- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
+++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter
@@ -1225,7 +1225,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/chip-tool/templates/helper.js b/examples/chip-tool/templates/helper.js
index 742cbf703ed8b2..6fdc65cc32090d 100644
--- a/examples/chip-tool/templates/helper.js
+++ b/examples/chip-tool/templates/helper.js
@@ -130,6 +130,19 @@ async function structs_with_cluster_name(options)
return templateUtil.collectBlocks(blocks, options, this);
}
+async function assertSameTestType(current, expected)
+{
+ if (current == expected) {
+ return '';
+ }
+
+ const filename = this.parent.parent.parent.filename;
+ const testName = this.parent.parent.parent.testName;
+ const error = `\nFile: ${filename}\nTest: ${testName}\nCluster ${this.parent.cluster} Attribute: ${this.name}: Constraint type "${
+ expected}" does not match the current type "${current}".`;
+ throw error;
+}
+
//
// Module exports
//
@@ -137,3 +150,4 @@ exports.asDelimitedCommand = asDelimitedCommand;
exports.asTypeMinValue = asTypeMinValue;
exports.asTypeMaxValue = asTypeMaxValue;
exports.structs_with_cluster_name = structs_with_cluster_name;
+exports.assertSameTestType = assertSameTestType;
diff --git a/examples/chip-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt b/examples/chip-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
index da6a6b6a230b14..95c52a5b934c46 100644
--- a/examples/chip-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
+++ b/examples/chip-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
@@ -9,8 +9,9 @@
{{~#chip_tests_iterate_constraints expectedConstraints}}
{{~#if (isStrEqual constraint "hasValue")}}
{{~! Already handled above~}}
- {{~else if (isStrEqual constraint "type")}}VerifyOrReturn(CheckConstraintType("{{asPropertyValue context=..}}", "", "{{value}}"));
-
+ {{~else if (isStrEqual constraint "type")}}
+ {{~assertSameTestType (asTestType ../type ../isArray) value~}}
+ VerifyOrReturn(CheckConstraintType("{{asPropertyValue context=..}}", "{{asTestType ../type ../isArray}}", "{{value}}"));
{{~else if (isStrEqual constraint "format")}}VerifyOrReturn(CheckConstraintFormat("{{asPropertyValue context=..}}", "", "{{value}}"));
{{~else if (isStrEqual constraint "startsWith")}}VerifyOrReturn(CheckConstraintStartsWith("{{asPropertyValue context=..}}", {{asPropertyValue context=..}}, "{{value}}"));
diff --git a/examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt b/examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
index 073efc9cab618e..26293b6314d470 100644
--- a/examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
+++ b/examples/darwin-framework-tool/templates/tests/partials/checks/maybeCheckExpectedConstraints.zapt
@@ -8,7 +8,7 @@
if ({{>actualValue}} != nil) {
{{/if}}
- {{#if (hasProperty expectedConstraints "type")}}VerifyOrReturn(CheckConstraintType("{{>item}}", "", "{{expectedConstraints.type}}"));{{/if}}
+ {{#if (hasProperty expectedConstraints "type")}}VerifyOrReturn(CheckConstraintType("{{>item}}", "{{asTestType type isArray}}", "{{expectedConstraints.type}}"));{{/if}}
{{~#if (hasProperty expectedConstraints "format")}}VerifyOrReturn(CheckConstraintFormat("{{>item}}", "", "{{expectedConstraints.format}}"));{{/if}}
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 9aaa6b1275064c..1229fc2c1fce3e 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
@@ -1319,7 +1319,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter
index 92f113bfc67417..5478b00116e3d5 100644
--- a/examples/lighting-app/lighting-common/lighting-app.matter
+++ b/examples/lighting-app/lighting-common/lighting-app.matter
@@ -1265,7 +1265,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter
index e83a47caf80c3e..1b71ec1e293514 100644
--- a/examples/lock-app/lock-common/lock-app.matter
+++ b/examples/lock-app/lock-common/lock-app.matter
@@ -1196,7 +1196,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
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 7356fef2cc2b99..23aeb22bb00d91 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
@@ -647,7 +647,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
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 0f1ff08464f01c..b5258a7d8f5dfb 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
@@ -664,7 +664,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter
index 3dd237d26dd2e7..ca1a1ec46e847d 100644
--- a/examples/placeholder/linux/apps/app1/config.matter
+++ b/examples/placeholder/linux/apps/app1/config.matter
@@ -1266,7 +1266,7 @@ client cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -1345,7 +1345,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -2554,7 +2554,7 @@ client cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
@@ -2582,7 +2582,7 @@ server cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter
index 3dd237d26dd2e7..ca1a1ec46e847d 100644
--- a/examples/placeholder/linux/apps/app2/config.matter
+++ b/examples/placeholder/linux/apps/app2/config.matter
@@ -1266,7 +1266,7 @@ client cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -1345,7 +1345,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -2554,7 +2554,7 @@ client cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
@@ -2582,7 +2582,7 @@ server cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
diff --git a/examples/pump-app/pump-common/pump-app.matter b/examples/pump-app/pump-common/pump-app.matter
index b70aea23e271b8..0ee873ccb5a72c 100644
--- a/examples/pump-app/pump-common/pump-app.matter
+++ b/examples/pump-app/pump-common/pump-app.matter
@@ -933,7 +933,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
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 52e33b8bb0a09e..7ea1db01b01dd7 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
@@ -837,7 +837,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
diff --git a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
index 4b995dd8f784f4..1dd938ce8febaa 100644
--- a/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
+++ b/examples/temperature-measurement-app/esp32/main/temperature-measurement.matter
@@ -677,7 +677,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter
index ad185bfb472d5f..c672a742dfdd51 100644
--- a/examples/thermostat/thermostat-common/thermostat.matter
+++ b/examples/thermostat/thermostat-common/thermostat.matter
@@ -1231,7 +1231,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter
index f608722f57202c..a509109ec75045 100644
--- a/examples/tv-app/tv-common/tv-app.matter
+++ b/examples/tv-app/tv-common/tv-app.matter
@@ -1273,7 +1273,7 @@ client cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -1373,7 +1373,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -2079,7 +2079,7 @@ server cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
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 ee30eb74dae50e..24841d02cad66a 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
@@ -1477,7 +1477,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
@@ -2095,7 +2095,7 @@ client cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationStatusEnum status = 5;
diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter
index 8c36f1069f3fec..23d2eb55874595 100644
--- a/examples/window-app/common/window-app.matter
+++ b/examples/window-app/common/window-app.matter
@@ -1275,7 +1275,7 @@ server cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
diff --git a/src/app/tests/suites/OTA_SuccessfulTransfer.yaml b/src/app/tests/suites/OTA_SuccessfulTransfer.yaml
index f15d5ded5013f4..4e186d4fd5b815 100644
--- a/src/app/tests/suites/OTA_SuccessfulTransfer.yaml
+++ b/src/app/tests/suites/OTA_SuccessfulTransfer.yaml
@@ -17,34 +17,34 @@ name: Test OTA Software Update Successful Transfer
config:
endpoint: 0
requestorNodeId:
- type: NODE_ID
+ type: node_id
defaultValue: 0x12344321
providerNodeId:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC0FFEE
providerPayload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0IX4122-.548G00" # This value needs to be generated
providerDiscriminator:
- type: INT16U
+ type: int16u
defaultValue: 50
providerPort:
- type: INT16U
+ type: int16u
defaultValue: 5560
providerKvs:
- type: CHAR_STRING
+ type: char_string
defaultValue: "/tmp/chip_kvs_provider"
otaImageFilePath:
- type: CHAR_STRING
+ type: char_string
defaultValue: "/tmp/otaImage"
rawImageFilePath:
- type: CHAR_STRING
+ type: char_string
defaultValue: "/tmp/rawImage"
rawImageContent:
- type: CHAR_STRING
+ type: char_string
defaultValue: "Have a hootenanny!"
downloadImageFilePath:
- type: CHAR_STRING
+ type: char_string
defaultValue: "/tmp/downloadedImage"
tests:
diff --git a/src/app/tests/suites/TestClusterMultiFabric.yaml b/src/app/tests/suites/TestClusterMultiFabric.yaml
index 6c934778872783..6a1bef07b816b1 100644
--- a/src/app/tests/suites/TestClusterMultiFabric.yaml
+++ b/src/app/tests/suites/TestClusterMultiFabric.yaml
@@ -18,10 +18,10 @@ config:
nodeId: 0x12344321
endpoint: 1
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
diff --git a/src/app/tests/suites/TestConfigVariables.yaml b/src/app/tests/suites/TestConfigVariables.yaml
index 5889887896fd69..eff8a39aaa106c 100644
--- a/src/app/tests/suites/TestConfigVariables.yaml
+++ b/src/app/tests/suites/TestConfigVariables.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Test Cluster"
endpoint: 1
arg1:
- type: INT8U
+ type: int8u
defaultValue: 5
returnValueWithArg1:
- type: INT8U
+ type: int8u
defaultValue: 25
tests:
diff --git a/src/app/tests/suites/TestDiscovery.yaml b/src/app/tests/suites/TestDiscovery.yaml
index b1d889d9406eff..febff676e13b64 100644
--- a/src/app/tests/suites/TestDiscovery.yaml
+++ b/src/app/tests/suites/TestDiscovery.yaml
@@ -18,16 +18,16 @@ config:
nodeId: 0x12344321
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
vendorId:
- type: INT16U
+ type: int16u
defaultValue: 65521
productId:
- type: INT16U
+ type: int16u
defaultValue: 32769
deviceType:
- type: INT16U
+ type: int16u
defaultValue: 5
tests:
diff --git a/src/app/tests/suites/TestFabricRemovalWhileSubscribed.yaml b/src/app/tests/suites/TestFabricRemovalWhileSubscribed.yaml
index 5271f380749cf1..cdd8fded717805 100644
--- a/src/app/tests/suites/TestFabricRemovalWhileSubscribed.yaml
+++ b/src/app/tests/suites/TestFabricRemovalWhileSubscribed.yaml
@@ -21,10 +21,10 @@ config:
cluster: "Operational Credentials"
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
@@ -42,7 +42,7 @@ tests:
response:
value: 1
constraints:
- type: uint8
+ type: int8u
- label: "Read current fabric index"
command: "readAttribute"
@@ -50,7 +50,7 @@ tests:
response:
saveAs: ourFabricIndex
constraints:
- type: uint8
+ type: int8u
# 0 is not a valid value, but past that we have no idea what the
# other side will claim here.
minValue: 1
diff --git a/src/app/tests/suites/TestGeneralCommissioning.yaml b/src/app/tests/suites/TestGeneralCommissioning.yaml
index 42c24b93b79ac8..dbd7072d3e8b39 100644
--- a/src/app/tests/suites/TestGeneralCommissioning.yaml
+++ b/src/app/tests/suites/TestGeneralCommissioning.yaml
@@ -19,10 +19,10 @@ config:
cluster: "General Commissioning"
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
@@ -271,4 +271,4 @@ tests:
attribute: "SupportsConcurrentConnection"
response:
constraints:
- type: bool
+ type: boolean
diff --git a/src/app/tests/suites/TestGroupMessaging.yaml b/src/app/tests/suites/TestGroupMessaging.yaml
index 36ce37b69596ea..df7355429e8dba 100644
--- a/src/app/tests/suites/TestGroupMessaging.yaml
+++ b/src/app/tests/suites/TestGroupMessaging.yaml
@@ -23,13 +23,13 @@ config:
cluster: "Basic"
endpoint: 0
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0x43211234
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
diff --git a/src/app/tests/suites/TestMultiAdmin.yaml b/src/app/tests/suites/TestMultiAdmin.yaml
index 9ae6519ffcab7b..ff45d1bbe1d985 100644
--- a/src/app/tests/suites/TestMultiAdmin.yaml
+++ b/src/app/tests/suites/TestMultiAdmin.yaml
@@ -17,20 +17,20 @@ name: Test Multi Admin
config:
nodeId: 0x12344321
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
diff --git a/src/app/tests/suites/TestOperationalCredentialsCluster.yaml b/src/app/tests/suites/TestOperationalCredentialsCluster.yaml
index 12a0ee83a486b2..7bc03fb52a9b18 100644
--- a/src/app/tests/suites/TestOperationalCredentialsCluster.yaml
+++ b/src/app/tests/suites/TestOperationalCredentialsCluster.yaml
@@ -33,7 +33,7 @@ tests:
attribute: "SupportedFabrics"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 4
- label: "Read number of commissioned fabrics"
@@ -41,7 +41,7 @@ tests:
attribute: "CommissionedFabrics"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 1
- label: "Read current fabric index"
@@ -50,7 +50,7 @@ tests:
response:
saveAs: ourFabricIndex
constraints:
- type: uint8
+ type: int8u
# 0 is not a valid value, but past that we have no idea what the
# other side will claim here.
minValue: 1
diff --git a/src/app/tests/suites/TestSelfFabricRemoval.yaml b/src/app/tests/suites/TestSelfFabricRemoval.yaml
index 4c7dfcf8ff22ab..9e2295fe09099f 100644
--- a/src/app/tests/suites/TestSelfFabricRemoval.yaml
+++ b/src/app/tests/suites/TestSelfFabricRemoval.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint8
+ type: int8u
- label: "Read current fabric index"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
saveAs: ourFabricIndex
constraints:
- type: uint8
+ type: int8u
# 0 is not a valid value, but past that we have no idea what the
# other side will claim here.
minValue: 1
diff --git a/src/app/tests/suites/TestSystemCommands.yaml b/src/app/tests/suites/TestSystemCommands.yaml
index d9df986451d7cc..f4ad90f14e42ac 100644
--- a/src/app/tests/suites/TestSystemCommands.yaml
+++ b/src/app/tests/suites/TestSystemCommands.yaml
@@ -19,7 +19,7 @@ config:
cluster: "SystemCommands"
endpoint: 0
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0IX4122-.548G00" # This value needs to be generated
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
index b634523a3d2301..29d85932b5e9ce 100644
--- a/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_ACT_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml
index 14fc3be363f2a6..a5ab639f85d669 100644
--- a/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml
+++ b/src/app/tests/suites/certification/Test_TC_ALOGIN_1_12.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -44,7 +44,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml
index df987420e2e045..e6b473d7bfe496 100644
--- a/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APBSC_1_10.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -44,7 +44,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml b/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml
index 41fe02b98672e5..73ac569a6c095a 100644
--- a/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APBSC_9_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "VendorName"
response:
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "Reads the VendorID attribute"
@@ -43,7 +43,7 @@ tests:
attribute: "VendorID"
response:
constraints:
- type: vendor-id
+ type: vendor_id
saveAs: vendorID
- label: "Reads the ApplicationName attribute"
@@ -52,7 +52,7 @@ tests:
attribute: "ApplicationName"
response:
constraints:
- type: string
+ type: char_string
maxLength: 256
- label: "Reads the ProductID attribute"
@@ -61,7 +61,7 @@ tests:
attribute: "ProductID"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -71,7 +71,7 @@ tests:
attribute: "Application"
response:
constraints:
- type: struct
+ type: ApplicationBasicApplication
- label: "Reads the Status attribute"
PICS: APBSC.S.A0005
@@ -88,7 +88,7 @@ tests:
attribute: "ApplicationVersion"
response:
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "Reads the AllowedVendorList attribute"
diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml
index 6e6fd9324c13ac..7b9eecd1ced204 100644
--- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_1_3.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: APPLAUNCHER.S.AP
@@ -45,7 +45,7 @@ tests:
response:
value: 1
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: FeatureMap"
PICS: " !APPLAUNCHER.S.AP "
@@ -54,7 +54,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml
index fd6c9337b31c20..88ebf1183b5d55 100644
--- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_7.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Application Launcher"
endpoint: 1
catalogVendorId:
- type: INT16U
+ type: int16u
defaultValue: 123
applicationId:
- type: CHAR_STRING
+ type: char_string
defaultValue: "exampleid"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml
index caa412e0171b04..cff97c0e92b2b3 100644
--- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_8.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Application Launcher"
endpoint: 1
catalogVendorId:
- type: INT16U
+ type: int16u
defaultValue: 123
applicationId:
- type: CHAR_STRING
+ type: char_string
defaultValue: "exampleid"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml
index 08b966f0e45e31..c233063ad86216 100644
--- a/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml
+++ b/src/app/tests/suites/certification/Test_TC_APPLAUNCHER_3_9.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Application Launcher"
endpoint: 1
catalogVendorId:
- type: INT16U
+ type: int16u
defaultValue: 123
applicationId:
- type: CHAR_STRING
+ type: char_string
defaultValue: "exampleid"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml
index f59c26a9caff9c..d3fef20d04f878 100644
--- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml
+++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_1_8.yaml
@@ -36,14 +36,14 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 3
diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml
index ebc17cc9dbc7f2..f43a7c27fb1103 100644
--- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "OutputList"
response:
constraints:
- type: OutPutInfo
+ type: list
- label: "Sends a SelectAudioOutput command"
PICS: AUDIOOUTPUT.S.C0000
diff --git a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml
index 43acc9f3ce66a9..258970c1ad8d50 100644
--- a/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_AUDIOOUTPUT_7_2.yaml
@@ -35,7 +35,7 @@ tests:
response:
saveAs: audioOutputListValues
constraints:
- type: OutPutInfo
+ type: list
- label: "Sends a RenameOutput command"
PICS: AUDIOOUTPUT.S.C0001
diff --git a/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
index d3f5a9ed0cc5fb..2756ffad7d6405 100644
--- a/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_BINFO_2_1.yaml
@@ -62,7 +62,7 @@ tests:
response:
saveAs: DataModelRevisionValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65534
@@ -89,7 +89,7 @@ tests:
response:
saveAs: VendorNameValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes VendorName from the DUT."
@@ -115,7 +115,7 @@ tests:
response:
saveAs: VendorIDValue
constraints:
- type: uint16
+ type: vendor_id
minValue: 1
maxValue: 65521
@@ -142,7 +142,7 @@ tests:
response:
saveAs: ProductNameValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes ProductName from the DUT."
@@ -168,7 +168,7 @@ tests:
response:
saveAs: ProductIDValue
constraints:
- type: uint16
+ type: int16u
minValue: 1
maxValue: 65534
@@ -195,7 +195,7 @@ tests:
response:
saveAs: NodeLabelValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes NodeLabel from the DUT."
@@ -218,7 +218,7 @@ tests:
attribute: "Location"
response:
constraints:
- type: string
+ type: char_string
maxLength: 16
- label:
@@ -263,7 +263,7 @@ tests:
response:
saveAs: HardwareVersionValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65534
@@ -290,7 +290,7 @@ tests:
response:
saveAs: HardwareVersionStringValue
constraints:
- type: string
+ type: char_string
minLength: 1
maxLength: 64
@@ -382,7 +382,7 @@ tests:
response:
saveAs: ManufacturingDateValue
constraints:
- type: string
+ type: char_string
minLength: 8
maxLength: 16
@@ -422,7 +422,7 @@ tests:
response:
saveAs: PartNumberValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes PartNumber from the DUT."
@@ -448,7 +448,7 @@ tests:
response:
saveAs: ProductURLValue
constraints:
- type: string
+ type: long_char_string
maxLength: 256
- label:
@@ -487,7 +487,7 @@ tests:
response:
saveAs: ProductLabelValue
constraints:
- type: string
+ type: char_string
maxLength: 64
- label:
@@ -526,7 +526,7 @@ tests:
response:
saveAs: SerialNumberValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes SerialNumber from the DUT."
@@ -595,7 +595,7 @@ tests:
response:
saveAs: UniqueIDValue
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH writes UniqueID from the DUT."
diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
index b01bea003704f0..cb8965e96d17c1 100644
--- a/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_BOOL_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml
index 1d715f98b29ea2..79dac0d1a3e49e 100644
--- a/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_BOOL_2_1.yaml
@@ -34,4 +34,4 @@ tests:
attribute: "StateValue"
response:
constraints:
- type: bool
+ type: boolean
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml
index 6edc60eb000278..e0f14bd09c0120 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_10.yaml
@@ -20,23 +20,23 @@ config:
nodeId: 0x12344321
timeout: 700
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:0000000000I31506010"
payload2:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:0000000000I.0648G00"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
index c35bda367e1263..3607b092a20cc8 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_13.yaml
@@ -21,20 +21,20 @@ config:
nodeId: 0x12344321
timeout: 500
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml
index ded3a609fba3c4..0bb6f302830de6 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_3.yaml
@@ -18,14 +18,14 @@ config:
nodeId: 0x12344321
timeout: 300
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:0000000000I31506010" # This value needs to be generated automatically
tests:
@@ -76,7 +76,7 @@ tests:
response:
value: "chiptest"
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH_CR2 starts a commissioning process with DUT_CE"
@@ -143,7 +143,7 @@ tests:
response:
value: "chiptest1"
constraints:
- type: string
+ type: char_string
maxLength: 32
- label:
@@ -168,7 +168,7 @@ tests:
response:
value: "chiptest2"
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH_CR2 opens a commissioning window on DUT_CE using ECM"
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml
index 9b1183a5825568..196fa479025ee9 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_4.yaml
@@ -18,14 +18,14 @@ config:
nodeId: 0x12344321
timeout: 300
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00"
tests:
@@ -69,7 +69,7 @@ tests:
PICS: BINFO.S.A0005
response:
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH_CR2 starts a commissioning process with DUT_CE"
@@ -135,7 +135,7 @@ tests:
response:
value: "chiptest"
constraints:
- type: string
+ type: char_string
maxLength: 32
- label:
@@ -160,7 +160,7 @@ tests:
response:
value: "chiptest"
constraints:
- type: string
+ type: char_string
maxLength: 32
- label: "TH_CR2 opens a commissioning window on DUT_CE using BCM"
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml
index c7306e025f2268..ab1d4b0d236ed4 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_5.yaml
@@ -20,20 +20,20 @@ config:
nodeId: 0x12344321
timeout: 300
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml
index 78a7488f54dc62..867f4df1a9deee 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_6.yaml
@@ -20,20 +20,20 @@ config:
nodeId: 0x12344321
timeout: 300
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00" # This value needs to be generated automatically
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml
index ed094eb77d4399..5e0a0578b4d98b 100644
--- a/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CADMIN_1_9.yaml
@@ -20,23 +20,23 @@ config:
nodeId: 0x12344321
timeout: 700
nodeIdForDuplicateCommissioning:
- type: NODE_ID
+ type: node_id
defaultValue: 0x11
nodeId2:
- type: NODE_ID
+ type: node_id
defaultValue: 0xCAFE
nodeId3:
- type: NODE_ID
+ type: node_id
defaultValue: 0xC00FEE
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
payload:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:-24J0AFN00KA0648G00"
payload2:
- type: CHAR_STRING
+ type: char_string
defaultValue: "MT:0000000000I.0648G00"
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
index 9385a746cd65ce..e62e11283bfd57 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 5
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: (CC.S.F00 || CC.S.F01 || CC.S.F02 || CC.S.F03)
@@ -42,7 +42,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 31
diff --git a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml
index 8f5debd61f9b73..8dae8c05ea5ef5 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -44,7 +44,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -54,7 +54,7 @@ tests:
attribute: "RemainingTime"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -64,7 +64,7 @@ tests:
attribute: "CurrentX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -74,7 +74,7 @@ tests:
attribute: "CurrentY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -94,7 +94,7 @@ tests:
attribute: "CompensationText"
response:
constraints:
- type: string
+ type: char_string
maxLength: 254
- label: "TH reads ColorTemperatureMireds attribute from DUT"
@@ -103,7 +103,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -133,7 +133,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -153,7 +153,7 @@ tests:
attribute: "ColorLoopActive"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -163,7 +163,7 @@ tests:
attribute: "ColorLoopDirection"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -173,7 +173,7 @@ tests:
attribute: "ColorLoopTime"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -183,7 +183,7 @@ tests:
attribute: "ColorLoopStartEnhancedHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -193,7 +193,7 @@ tests:
attribute: "ColorLoopStoredEnhancedHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -210,7 +210,7 @@ tests:
response:
value: FeatureMapValue
constraints:
- type: map16
+ type: bitmap16
minValue: 0
maxValue: 31
@@ -220,7 +220,7 @@ tests:
attribute: "ColorTempPhysicalMinMireds"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -230,7 +230,7 @@ tests:
attribute: "ColorTempPhysicalMaxMireds"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -240,7 +240,7 @@ tests:
attribute: "CoupleColorTempToLevelMinMireds"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -250,7 +250,7 @@ tests:
attribute: "StartUpColorTemperatureMireds"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -261,7 +261,7 @@ tests:
attribute: "NumberOfPrimaries"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 6
@@ -645,7 +645,7 @@ tests:
attribute: "WhitePointX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -655,7 +655,7 @@ tests:
attribute: "WhitePointY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -665,7 +665,7 @@ tests:
attribute: "ColorPointRX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -675,7 +675,7 @@ tests:
attribute: "ColorPointRY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -685,7 +685,7 @@ tests:
attribute: "ColorPointRIntensity"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -695,7 +695,7 @@ tests:
attribute: "ColorPointGX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -705,7 +705,7 @@ tests:
attribute: "ColorPointGY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -715,7 +715,7 @@ tests:
attribute: "ColorPointGIntensity"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -725,7 +725,7 @@ tests:
attribute: "ColorPointBX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -735,7 +735,7 @@ tests:
attribute: "ColorPointBY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -745,6 +745,6 @@ tests:
attribute: "ColorPointBIntensity"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml
index 43fffa68aa63ab..fefa5d3edce2c6 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_3_1.yaml
@@ -20,16 +20,16 @@ config:
endpoint: 1
timeout: 150
hueShortestDistance:
- type: INT8U
+ type: int8u
defaultValue: 150
hueLongestDistance:
- type: INT8U
+ type: int8u
defaultValue: 200
hueDirectionUp:
- type: INT8U
+ type: int8u
defaultValue: 250
hueDirectionDown:
- type: INT8U
+ type: int8u
defaultValue: 170
tests:
@@ -65,7 +65,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -101,7 +101,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -119,7 +119,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -170,7 +170,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -188,7 +188,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -239,7 +239,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -257,7 +257,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -308,7 +308,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -326,7 +326,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml
index 75f8db02ce10e0..9295e1d7282cab 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_3_2.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
RateConfigValue:
- type: ENUM8
+ type: enum8
defaultValue: 50
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -87,7 +87,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -105,7 +105,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -123,7 +123,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -156,7 +156,7 @@ tests:
response:
saveAs: CurrentHueValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -203,7 +203,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -221,7 +221,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -239,7 +239,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -272,7 +272,7 @@ tests:
response:
saveAs: CurrentHueValueAfterStopmode
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml
index f4fd0c58e073f9..0dbfc5efd24bf4 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_3_3.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
StepSizeConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 5
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -90,7 +90,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 5
maxValue: 254
@@ -124,7 +124,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 249
diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml
index 8867ae02d7f323..fdbcdb8420c353 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_4_1.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
SaturationConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 90
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -89,7 +89,7 @@ tests:
response:
value: SaturationConfigValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml
index 25480f037c2808..bfca64ef26b3e1 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_4_2.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
RateConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 50
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -87,7 +87,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -105,7 +105,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -123,7 +123,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -155,7 +155,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -173,7 +173,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -191,7 +191,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -225,7 +225,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -260,7 +260,7 @@ tests:
response:
saveAs: CurrentSaturationStep4d
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -310,7 +310,7 @@ tests:
response:
saveAs: CurrentSaturationStep5b
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -328,7 +328,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: CurrentSaturationStep5b
@@ -363,7 +363,7 @@ tests:
response:
saveAs: CurrentSaturationStep5d
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml
index 6b9e9e0a8dbffd..c7243596ba8be1 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_4_3.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
StepSizeConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 15
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -90,7 +90,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -124,7 +124,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml
index 7562d93b6c38bb..30b6bc80f66f58 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_4_4.yaml
@@ -20,10 +20,10 @@ config:
cluster: "Color Control"
endpoint: 1
hueConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 40
SaturationConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 160
tests:
@@ -59,7 +59,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -69,7 +69,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -104,7 +104,7 @@ tests:
response:
value: hueConfigValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -116,7 +116,7 @@ tests:
response:
value: SaturationConfigValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml
index e03a667ae40cec..ff63e1a898d9bf 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_5_1.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Color Control"
endpoint: 1
colorXConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 400
colorYConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 500
tests:
@@ -58,7 +58,7 @@ tests:
attribute: "CurrentX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -68,7 +68,7 @@ tests:
attribute: "CurrentY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -103,7 +103,7 @@ tests:
response:
value: colorXConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -114,7 +114,7 @@ tests:
response:
value: colorYConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml
index 13cd8d94fc0037..d7c6f283e0658b 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_5_2.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Color Control"
endpoint: 1
RateXValue:
- type: INT16S
+ type: int16s
defaultValue: 50
RateYValue:
- type: INT16S
+ type: int16s
defaultValue: 50
tests:
@@ -59,7 +59,7 @@ tests:
response:
saveAs: CurrentXValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -70,7 +70,7 @@ tests:
response:
saveAs: CurrentYValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -103,7 +103,7 @@ tests:
response:
saveAs: CurrentXBeforeStopCommand
constraints:
- type: uint16
+ type: int16u
minValue: CurrentXValue
maxValue: 65279
@@ -114,7 +114,7 @@ tests:
response:
saveAs: CurrentYBeforeStopCommand
constraints:
- type: uint16
+ type: int16u
minValue: CurrentYValue
maxValue: 65279
@@ -134,7 +134,7 @@ tests:
attribute: "CurrentX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: CurrentXBeforeStopCommand
maxValue: 65279
@@ -144,7 +144,7 @@ tests:
attribute: "CurrentY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: CurrentYBeforeStopCommand
maxValue: 65279
diff --git a/src/app/tests/suites/certification/Test_TC_CC_5_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_5_3.yaml
index 8b81f353104070..a4b3141553f63f 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_5_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_5_3.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Color Control"
endpoint: 1
StepXConfigValue:
- type: INT16S
+ type: int16s
defaultValue: 100
StepYConfigValue:
- type: INT16S
+ type: int16s
defaultValue: 100
tests:
@@ -59,7 +59,7 @@ tests:
response:
saveAs: CurrentXValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -70,7 +70,7 @@ tests:
response:
saveAs: CurrentYValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -104,7 +104,7 @@ tests:
attribute: "CurrentX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: CurrentXValue
maxValue: 65279
@@ -114,7 +114,7 @@ tests:
attribute: "CurrentY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: CurrentYValue
maxValue: 65279
diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml
index f9daaa512ea1e9..1dd9eeba179f02 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_6_1.yaml
@@ -55,7 +55,7 @@ tests:
response:
saveAs: ColorTempPhysicalMinMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -66,7 +66,7 @@ tests:
response:
saveAs: ColorTempPhysicalMaxMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -76,7 +76,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -109,7 +109,7 @@ tests:
response:
value: ColorTempPhysicalMaxMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_2.yaml
index 255e36389327f4..d9d49ab601542e 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_6_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_6_2.yaml
@@ -54,7 +54,7 @@ tests:
response:
saveAs: ColorTempPhysicalMinMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -65,7 +65,7 @@ tests:
response:
saveAs: ColorTempPhysicalMaxMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -75,7 +75,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -111,7 +111,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -129,7 +129,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -147,7 +147,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -183,7 +183,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -201,7 +201,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -219,7 +219,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -274,7 +274,7 @@ tests:
response:
saveAs: ColorTemperatureValue
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -293,7 +293,7 @@ tests:
response:
value: ColorTemperatureValue
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -312,7 +312,7 @@ tests:
response:
value: ColorTemperatureValue
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -367,7 +367,7 @@ tests:
response:
saveAs: ColorTemperatureMoveModeStop
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -386,7 +386,7 @@ tests:
response:
value: ColorTemperatureMoveModeStop
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -405,7 +405,7 @@ tests:
response:
value: ColorTemperatureValue
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
diff --git a/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml
index 3a4f902eff0c7e..b68517cdfbe6f9 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_6_3.yaml
@@ -54,7 +54,7 @@ tests:
response:
saveAs: ColorTempPhysicalMinMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -65,7 +65,7 @@ tests:
response:
saveAs: ColorTempPhysicalMaxMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -75,7 +75,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorTempPhysicalMinMiredsValue
maxValue: ColorTempPhysicalMaxMiredsValue
@@ -113,7 +113,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -131,7 +131,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -149,7 +149,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -187,7 +187,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -205,7 +205,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -223,7 +223,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml
index df050ae7924d0c..67fea5a4dd70dc 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_7_1.yaml
@@ -20,19 +20,19 @@ config:
endpoint: 1
timeout: 150
EnhancedHueConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1025
EnhancedHueShortestDistanceConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1050
EnhancedHueLongestDistanceConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1200
EnhancedHueDirectionUpConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1300
EnhancedHueDirectionDownConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1100
tests:
@@ -85,7 +85,7 @@ tests:
response:
value: EnhancedHueConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -119,7 +119,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -137,7 +137,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -156,7 +156,7 @@ tests:
response:
value: EnhancedHueShortestDistanceConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -190,7 +190,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -208,7 +208,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -227,7 +227,7 @@ tests:
response:
value: EnhancedHueLongestDistanceConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -261,7 +261,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -279,7 +279,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -298,7 +298,7 @@ tests:
response:
value: EnhancedHueDirectionUpConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -332,7 +332,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -350,7 +350,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -369,7 +369,7 @@ tests:
response:
value: EnhancedHueDirectionDownConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml
index 7f946b8108d348..dc0ddd96cd6f9a 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_7_2.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
RateConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 50
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -87,7 +87,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -105,7 +105,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -123,7 +123,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -148,7 +148,7 @@ tests:
response:
saveAs: EnhancedCurrentHueStep3b
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -167,7 +167,7 @@ tests:
response:
value: EnhancedCurrentHueStep3b
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -199,7 +199,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -217,7 +217,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -235,7 +235,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -260,7 +260,7 @@ tests:
response:
saveAs: EnhancedCurrentHueStep5b
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -279,7 +279,7 @@ tests:
response:
value: EnhancedCurrentHueStep5b
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml
index 18b1be3cece7fc..d76467b3616b92 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_7_3.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Color Control"
endpoint: 1
StepSizeConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 50
tests:
@@ -55,7 +55,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -89,7 +89,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -123,7 +123,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml b/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml
index 7c747be7eb5575..5d6f66ba87aaaf 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_7_4.yaml
@@ -21,10 +21,10 @@ config:
cluster: "Color Control"
endpoint: 1
EnhancedHueConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1200
SaturationConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 90
tests:
@@ -60,7 +60,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -97,7 +97,7 @@ tests:
response:
value: EnhancedHueConfigValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_8_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_8_1.yaml
index e7411fb6c87cbf..87e6c8a8aa22ad 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_8_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_8_1.yaml
@@ -19,19 +19,19 @@ config:
cluster: "Color Control"
endpoint: 1
RateConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 50
RateXConfigValue:
- type: INT16S
+ type: int16s
defaultValue: 50
RateYConfigValue:
- type: INT16S
+ type: int16s
defaultValue: 50
ColorTemperatureMinMiredsConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 1
ColorTemperatureMaxMiredsConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 255
tests:
@@ -81,7 +81,7 @@ tests:
attribute: "CurrentHue"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -102,7 +102,7 @@ tests:
response:
saveAs: CurrentHueValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -121,7 +121,7 @@ tests:
response:
value: CurrentHueValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -145,7 +145,7 @@ tests:
attribute: "CurrentSaturation"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -166,7 +166,7 @@ tests:
response:
saveAs: CurrentSaturationValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -185,7 +185,7 @@ tests:
response:
value: CurrentSaturationValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -217,7 +217,7 @@ tests:
attribute: "CurrentX"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -227,7 +227,7 @@ tests:
attribute: "CurrentY"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -248,7 +248,7 @@ tests:
response:
saveAs: CurrentXValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -259,7 +259,7 @@ tests:
response:
saveAs: CurrentYValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -278,7 +278,7 @@ tests:
response:
value: CurrentXValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -289,7 +289,7 @@ tests:
response:
value: CurrentYValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -325,7 +325,7 @@ tests:
attribute: "ColorTemperature"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -346,7 +346,7 @@ tests:
response:
saveAs: ColorTemperatureMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -367,7 +367,7 @@ tests:
response:
value: ColorTemperatureMiredsValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65279
@@ -391,7 +391,7 @@ tests:
attribute: "EnhancedCurrentHue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -412,7 +412,7 @@ tests:
response:
saveAs: EnhancedCurrentHueValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -431,7 +431,7 @@ tests:
response:
value: EnhancedCurrentHueValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml
index be9e05812e5298..24486901098f3a 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_9_1.yaml
@@ -237,7 +237,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep5d
maxValue: 65535
@@ -255,7 +255,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep5d
maxValue: 65535
@@ -382,7 +382,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep8d
maxValue: 65535
@@ -400,7 +400,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep8d
maxValue: 65535
@@ -558,7 +558,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep12d
maxValue: 65535
@@ -576,7 +576,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep12d
maxValue: 65535
@@ -703,7 +703,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep15d
maxValue: 65535
@@ -721,7 +721,7 @@ tests:
PICS: CC.S.F02 && CC.S.F01 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueStep15d
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml
index 65cac0bef43279..1f1a465ff68c34 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_9_2.yaml
@@ -178,7 +178,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueValue
maxValue: 65535
@@ -196,7 +196,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueValue
maxValue: 65535
@@ -248,7 +248,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHue
maxValue: 65535
@@ -266,7 +266,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHue
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml b/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml
index 3a38d1b23cc858..771c1c1b265790 100644
--- a/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CC_9_3.yaml
@@ -177,7 +177,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueValue
maxValue: 65535
@@ -195,7 +195,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: ColorLoopStartEnhancedHueValue
maxValue: 65535
@@ -240,7 +240,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -258,7 +258,7 @@ tests:
PICS: CC.S.F01 && CC.S.F02 && CC.S.A4000 && CC.S.C44.Rsp
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml
index 983145e592e4b8..77e61062328056 100644
--- a/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CGEN_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml
index 9f318bb7e44166..c31563daf2a7ff 100644
--- a/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CGEN_2_1.yaml
@@ -37,7 +37,7 @@ tests:
attribute: "Breadcrumb"
response:
constraints:
- type: uint64
+ type: int64u
- label: "TH1 writes the BreadCrumb attribute as 1 to the DUT"
PICS: CGEN.S.A0000
@@ -88,4 +88,4 @@ tests:
attribute: "SupportsConcurrentConnection"
response:
constraints:
- type: bool
+ type: boolean
diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml
index db0e92fae503a6..95dfa5593d8b90 100644
--- a/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_1_6.yaml
@@ -35,7 +35,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: CHANNEL.S.CL || CHANNEL.S.LI
@@ -43,7 +43,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 3
diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml
index 5164e3b55f9f55..9e4cf9a9ea418b 100644
--- a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_2.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Channel"
endpoint: 1
majornumber:
- type: INT16U
+ type: int16u
defaultValue: 9
minornumber:
- type: INT16U
+ type: int16u
defaultValue: 1
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml
index 032adb8c97b8b1..f23782ec436c38 100644
--- a/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CHANNEL_5_3.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Channel"
endpoint: 1
majornumber:
- type: INT16U
+ type: int16u
defaultValue: 9
minornumber:
- type: INT16U
+ type: int16u
defaultValue: 1
tests:
@@ -84,4 +84,4 @@ tests:
response:
value: [majorNumber: majornumber, minorNumber: minornumber + 1]
constraints:
- type: list
+ type: ChannelInfo
diff --git a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_1.yaml b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_1.yaml
index c068e3ec2618d0..f2a2d722d37d95 100644
--- a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_10_1.yaml
@@ -42,4 +42,4 @@ tests:
attribute: "SupportedStreamingProtocols"
response:
constraints:
- type: map32
+ type: bitmap32
diff --git a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml
index 706496f82a2721..6ee6404350dc37 100644
--- a/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml
+++ b/src/app/tests/suites/certification/Test_TC_CONTENTLAUNCHER_1_11.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: CONTENTLAUNCHER.S.CS || CONTENTLAUNCHER.S.UP
@@ -44,7 +44,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 3
diff --git a/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
index de618503146889..1b76ec8d242429 100644
--- a/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DESC_1_1.yaml
@@ -35,7 +35,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -43,7 +43,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml
index a94faa0ebda955..8b6243027a7699 100644
--- a/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGETH_2_1.yaml
@@ -44,7 +44,7 @@ tests:
attribute: "FullDuplex"
response:
constraints:
- type: bool
+ type: boolean
#issue #13648
- label: "Read PacketRxCount attribute constraints"
@@ -53,7 +53,7 @@ tests:
attribute: "PacketRxCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read PacketRxCount value from DUT and verify the number of packets
@@ -80,7 +80,7 @@ tests:
attribute: "PacketTxCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read PacketTxCount value from DUT and verify the number of packets
@@ -107,7 +107,7 @@ tests:
attribute: "TxErrCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read TxErrCount value from DUT and verify value indicates the number
@@ -134,7 +134,7 @@ tests:
attribute: "CollisionCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read CollisionCount value from DUT and verify value indicates the
@@ -162,7 +162,7 @@ tests:
attribute: "OverrunCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read OverrunCount value from DUT and verify value indicates the
@@ -189,7 +189,7 @@ tests:
attribute: "CarrierDetect"
response:
constraints:
- type: bool
+ type: boolean
- label:
"Read CarrierDetect value from DUT and verify value indicates the
@@ -217,7 +217,7 @@ tests:
attribute: "TimeSinceReset"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read TimeSinceReset value from DUT and verify the value indicates the
diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml
index d27e6f29454356..290189a2deb587 100644
--- a/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGGEN_1_1.yaml
@@ -35,7 +35,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -43,7 +43,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml
index 968cccaffe22ca..478959957c5b08 100644
--- a/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGGEN_2_1.yaml
@@ -43,7 +43,7 @@ tests:
attribute: "RebootCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -99,7 +99,7 @@ tests:
attribute: "UpTime"
response:
constraints:
- type: uint64
+ type: int64u
- label: "TH reads a TotalOperationalHours attribute value from DUT."
PICS: DGGEN.S.A0003
@@ -107,7 +107,7 @@ tests:
attribute: "TotalOperationalHours"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFE
diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_2_1.yaml
index 9eacb0943f6fa3..6b68769f96fb79 100644
--- a/src/app/tests/suites/certification/Test_TC_DGSW_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGSW_2_1.yaml
@@ -44,7 +44,7 @@ tests:
PICS: DGSW.S.A0001
response:
constraints:
- type: uint64
+ type: int64u
- label: "Reads CurrentHeapUsed non-global attribute value from DUT"
command: "readAttribute"
@@ -52,7 +52,7 @@ tests:
PICS: DGSW.S.A0002
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Reads CurrentHeapHighWaterMark non-global attribute value from DUT"
@@ -61,4 +61,4 @@ tests:
PICS: DGSW.S.A0003
response:
constraints:
- type: uint64
+ type: int64u
diff --git a/src/app/tests/suites/certification/Test_TC_DGSW_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGSW_2_3.yaml
index b0d2902ff36b70..0c6fb332e0f795 100644
--- a/src/app/tests/suites/certification/Test_TC_DGSW_2_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGSW_2_3.yaml
@@ -47,7 +47,7 @@ tests:
PICS: DGSW.S.A0002
response:
constraints:
- type: uint64
+ type: int64u
#issue #830
- label: "Reads CurrentHeapHighWaterMark attribute value from DUT"
@@ -56,4 +56,4 @@ tests:
PICS: DGSW.S.A0003
response:
constraints:
- type: uint64
+ type: int64u
diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml
index 0835823ecfb43d..cf675507724109 100644
--- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "channel"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -44,7 +44,7 @@ tests:
attribute: "RoutingRole"
response:
constraints:
- type: RoutingRole
+ type: enum8
minValue: 0
maxValue: 6
@@ -56,7 +56,7 @@ tests:
attribute: "NetworkName"
response:
constraints:
- type: string
+ type: char_string
- label:
"Read NetworkName attribute from DUT and verify response value, If
@@ -90,7 +90,7 @@ tests:
attribute: "PanId"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -125,7 +125,7 @@ tests:
attribute: "ExtendedPanId"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"Read ExtendedPanId attribute from DUT and verify response value, If
@@ -180,7 +180,7 @@ tests:
attribute: "OverrunCount"
response:
constraints:
- type: uint64
+ type: int64u
- label:
"read OverrunCount attribute from DUT and verify response value, If
@@ -271,7 +271,7 @@ tests:
attribute: "PartitionId"
response:
constraints:
- type: uint32
+ type: int32u
- label: "TH reads Weighting attribute value from DUT"
PICS: DGTHREAD.S.A000a
@@ -279,7 +279,7 @@ tests:
attribute: "weighting"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -289,7 +289,7 @@ tests:
attribute: "DataVersion"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -299,7 +299,7 @@ tests:
attribute: "StableDataVersion"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -309,7 +309,7 @@ tests:
attribute: "LeaderRouterId"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -319,7 +319,7 @@ tests:
attribute: "DetachedRoleCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -329,7 +329,7 @@ tests:
attribute: "ChildRoleCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -339,7 +339,7 @@ tests:
attribute: "RouterRoleCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -349,7 +349,7 @@ tests:
attribute: "LeaderRoleCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -359,7 +359,7 @@ tests:
attribute: "AttachAttemptCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -369,7 +369,7 @@ tests:
attribute: "PartitionIdChangeCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -380,7 +380,7 @@ tests:
attribute: "BetterPartitionAttachAttemptCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -390,7 +390,7 @@ tests:
attribute: "ParentChangeCount"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -400,7 +400,7 @@ tests:
attribute: "ActiveTimestamp"
response:
constraints:
- type: uint64
+ type: int64u
- label: "TH reads PendingTimestamp attribute value from DUT"
PICS: DGTHREAD.S.A0039
@@ -408,7 +408,7 @@ tests:
attribute: "PendingTimestamp"
response:
constraints:
- type: uint64
+ type: int64u
- label: "TH reads Delay attribute value from DUT"
PICS: DGTHREAD.S.A003a
@@ -416,7 +416,7 @@ tests:
attribute: "delay"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -452,7 +452,7 @@ tests:
attribute: "ChannelMask"
response:
constraints:
- type: octstr
+ type: octet_string
#issue #14097
- label:
diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_2.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_2.yaml
index 6e2836a4a23a69..b2271fe4109bda 100644
--- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_2.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "TxTotalCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -44,7 +44,7 @@ tests:
attribute: "TxUnicastCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -54,7 +54,7 @@ tests:
attribute: "TxBroadcastCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -64,7 +64,7 @@ tests:
attribute: "TxAckRequestedCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -74,7 +74,7 @@ tests:
attribute: "TxAckedCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -84,7 +84,7 @@ tests:
attribute: "TxNoAckRequestedCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -94,7 +94,7 @@ tests:
attribute: "TxDataCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -104,7 +104,7 @@ tests:
attribute: "TxDataPollCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -114,7 +114,7 @@ tests:
attribute: "TxBeaconCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -124,7 +124,7 @@ tests:
attribute: "TxBeaconRequestCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -134,7 +134,7 @@ tests:
attribute: "TxOtherCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -144,7 +144,7 @@ tests:
attribute: "TxRetryCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -154,7 +154,7 @@ tests:
attribute: "TxDirectMaxRetryExpiryCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -164,7 +164,7 @@ tests:
attribute: "TxIndirectMaxRetryExpiryCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -174,7 +174,7 @@ tests:
attribute: "TxErrCcaCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -184,7 +184,7 @@ tests:
attribute: "TxErrAbortCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -194,6 +194,6 @@ tests:
attribute: "TxErrBusyChannelCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
diff --git a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_3.yaml
index 670d8413c70862..b0d995e9aee70b 100644
--- a/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGTHREAD_2_3.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "RxTotalCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -44,7 +44,7 @@ tests:
attribute: "RxUnicastCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -54,7 +54,7 @@ tests:
attribute: "RxBroadcastCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -64,7 +64,7 @@ tests:
attribute: "RxDataCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -74,7 +74,7 @@ tests:
attribute: "RxDataPollCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -84,7 +84,7 @@ tests:
attribute: "RxBeaconCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -94,7 +94,7 @@ tests:
attribute: "RxBeaconRequestCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -104,7 +104,7 @@ tests:
attribute: "RxOtherCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -114,7 +114,7 @@ tests:
attribute: "RxAddressFilteredCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -124,7 +124,7 @@ tests:
attribute: "RxDestAddrFilteredCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -134,7 +134,7 @@ tests:
attribute: "RxDuplicatedCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -144,7 +144,7 @@ tests:
attribute: "RxErrNoFrameCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -154,7 +154,7 @@ tests:
attribute: "RxErrUnknownNeighborCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -186,7 +186,7 @@ tests:
attribute: "RxErrSecCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -196,7 +196,7 @@ tests:
attribute: "RxErrFcsCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -206,6 +206,6 @@ tests:
attribute: "RxErrOtherCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml
index 4b3250de88e642..f6a0ab3ad1b014 100644
--- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "BSSID"
response:
constraints:
- type: octstr
+ type: octet_string
#issue #13645
- label: "Reads SecurityType attribute constraints"
@@ -43,7 +43,7 @@ tests:
attribute: "SecurityType"
response:
constraints:
- type: enum
+ type: enum8
- label: "Reads WiFiVersion attribute constraints"
PICS: DGWIFI.S.A0002
@@ -51,7 +51,7 @@ tests:
attribute: "WiFiVersion"
response:
constraints:
- type: enum
+ type: enum8
minValue: 0
maxValue: 5
@@ -61,7 +61,7 @@ tests:
attribute: "ChannelNumber"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -71,7 +71,7 @@ tests:
attribute: "RSSI"
response:
constraints:
- type: int8
+ type: int8s
minValue: -120
maxValue: 0
@@ -81,7 +81,7 @@ tests:
attribute: "BeaconLostCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -91,7 +91,7 @@ tests:
attribute: "BeaconRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -101,7 +101,7 @@ tests:
attribute: "PacketMulticastRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -111,7 +111,7 @@ tests:
attribute: "PacketMulticastTxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -121,7 +121,7 @@ tests:
attribute: "PacketUnicastRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -131,7 +131,7 @@ tests:
attribute: "PacketUnicastTxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -141,7 +141,7 @@ tests:
attribute: "CurrentMaxRate"
response:
constraints:
- type: uint64
+ type: int64u
- label: "Reads OverrunCount attribute constraints"
PICS: PICS_SKIP_SAMPLE_APP && DGWIFI.S.A000c
@@ -149,4 +149,4 @@ tests:
attribute: "OverrunCount"
response:
constraints:
- type: uint64
+ type: int64u
diff --git a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml
index c8520908ff3a39..71dc3d4f640376 100644
--- a/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_DGWIFI_2_3.yaml
@@ -41,7 +41,7 @@ tests:
attribute: "BeaconLostCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
@@ -51,7 +51,7 @@ tests:
attribute: "BeaconRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
@@ -61,7 +61,7 @@ tests:
attribute: "PacketMulticastRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
@@ -71,7 +71,7 @@ tests:
attribute: "PacketMulticastTxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
@@ -81,7 +81,7 @@ tests:
attribute: "PacketUnicastRxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
@@ -91,6 +91,6 @@ tests:
attribute: "PacketUnicastTxCount"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
diff --git a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml
index a8f56a9df5d383..3bc234e80b85c3 100644
--- a/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_FLW_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml
index 24b69a92b0e3c3..8f8abadc6dcbad 100644
--- a/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_FLW_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -44,7 +44,7 @@ tests:
attribute: "MinMeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -54,7 +54,7 @@ tests:
attribute: "MaxMeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -64,6 +64,6 @@ tests:
attribute: "Tolerance"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 2048
diff --git a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml
index 5bbd6c9197ab24..d2ca220cf4519f 100644
--- a/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_FLW_2_2.yaml
@@ -35,7 +35,7 @@ tests:
response:
saveAs: ValueBeforeChange
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -56,7 +56,7 @@ tests:
attribute: "MeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
notValue: ValueBeforeChange
diff --git a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml
index b5c7f29532ce5d..66e4cf05eb1f44 100644
--- a/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_ILL_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml
index 1d209e6a774514..4f6348cde9a247 100644
--- a/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_ILL_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65534
@@ -44,7 +44,7 @@ tests:
attribute: "MinMeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 1
maxValue: 65533
@@ -54,7 +54,7 @@ tests:
attribute: "MaxMeasuredValue"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 2
maxValue: 65534
@@ -64,7 +64,7 @@ tests:
attribute: "Tolerance"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 2048
diff --git a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml
index 296cbb8e9ab00e..ba3faef871404c 100644
--- a/src/app/tests/suites/certification/Test_TC_I_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_I_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 4
constraints:
- type: uint16
+ type: int16u
- label: "TH reads the FeatureMap attribute from the DUT"
PICS: " !I.S.F00 "
@@ -43,7 +43,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "TH reads the FeatureMap attribute from the DUT"
PICS: I.S.F00
@@ -52,7 +52,7 @@ tests:
response:
value: 1
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_I_2_1.yaml b/src/app/tests/suites/certification/Test_TC_I_2_1.yaml
index d34a86313d7fdf..695e0ba4b057cc 100644
--- a/src/app/tests/suites/certification/Test_TC_I_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_I_2_1.yaml
@@ -33,7 +33,7 @@ tests:
attribute: "identify time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml
index 7d7aa0e979a0e8..aa7df448634208 100644
--- a/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_KEYPADINPUT_1_2.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: KEYPADINPUT.S.NV || KEYPADINPUT.S.LK || KEYPADINPUT.S.NK
@@ -44,7 +44,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 7
diff --git a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml
index c9bb5e1803c760..7232c912e86270 100644
--- a/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LOWPOWER_1_1.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -44,7 +44,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml
index fe3bd7f1e55b46..51b0774a98f30f 100644
--- a/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LUNIT_3_1.yaml
@@ -37,7 +37,7 @@ tests:
attribute: "TemperatureUnit"
response:
constraints:
- type: uint8
+ type: enum8
- label: "TH writes 0 (Fahrenheit) to TemperatureUnit attribute"
PICS: LUNIT.C.A0000.Fahrenheit
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml
index a6f918ae210968..599a74ca31c732 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 5
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: LVL.S.F00 || LVL.S.F01 || LVL.S.F02
@@ -42,7 +42,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 7
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml
index 5a5cbfe3c5fb47..179ba1b5b9ecbb 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_2_1.yaml
@@ -35,7 +35,7 @@ tests:
response:
saveAs: CurrentLevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -45,7 +45,7 @@ tests:
attribute: "remaining time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -57,7 +57,7 @@ tests:
value: 1
saveAs: MinLevelValue
constraints:
- type: uint8
+ type: int8u
- label: "Reads the MinLevel attribute"
PICS: LVL.S.A0002 && !LVL.S.F01
@@ -66,7 +66,7 @@ tests:
response:
saveAs: MinLevelFeatureMapNotSupportedValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -78,7 +78,7 @@ tests:
value: 254
saveAs: MaxLevelValue
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelValue
- label: "Reads the MaxLevel attribute"
@@ -88,7 +88,7 @@ tests:
response:
saveAs: MaxLevelFeatureMapNotSupportedValue
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelFeatureMapNotSupportedValue
maxValue: 254
@@ -98,7 +98,7 @@ tests:
attribute: "current level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelValue
maxValue: MaxLevelValue
@@ -108,7 +108,7 @@ tests:
attribute: "current level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelFeatureMapNotSupportedValue
maxValue: MaxLevelFeatureMapNotSupportedValue
@@ -118,7 +118,7 @@ tests:
attribute: "current frequency"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -129,7 +129,7 @@ tests:
response:
saveAs: MinFrequencyValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -140,7 +140,7 @@ tests:
response:
saveAs: MaxFrequencyValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -150,7 +150,7 @@ tests:
attribute: "current frequency"
response:
constraints:
- type: uint16
+ type: int16u
minValue: MinFrequencyValue
maxValue: MaxFrequencyValue
@@ -160,7 +160,7 @@ tests:
attribute: "on off transition time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -170,7 +170,7 @@ tests:
attribute: "on level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelValue
maxValue: MaxLevelValue
@@ -180,7 +180,7 @@ tests:
attribute: "on level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: MinLevelFeatureMapNotSupportedValue
maxValue: MaxLevelFeatureMapNotSupportedValue
@@ -190,7 +190,7 @@ tests:
attribute: "on transition time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -200,7 +200,7 @@ tests:
attribute: "off transition time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -210,7 +210,7 @@ tests:
attribute: "default move rate"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -221,7 +221,7 @@ tests:
response:
value: 0
constraints:
- type: map8
+ type: bitmap8
- label: "Reads the StartUpCurrentLevel attribute "
PICS: LVL.S.A4000
@@ -229,6 +229,6 @@ tests:
attribute: "start up current level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml
index 44a5da74096567..d6a3ae0b17a032 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_2_2.yaml
@@ -19,22 +19,22 @@ config:
cluster: "Level Control"
endpoint: 1
OnOffTransitionTimeConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 10
OnLevelConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 5
OnTransitionTimeConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 5
OffTransitionTimeConfigValue:
- type: INT16U
+ type: int16u
defaultValue: 10
DefaultMoveRateConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 111
StartUpCurrentLevelConfigValue:
- type: INT8U
+ type: int8u
defaultValue: 5
tests:
@@ -53,7 +53,7 @@ tests:
response:
saveAs: OnOffTransitionTimeValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -71,7 +71,7 @@ tests:
response:
value: OnOffTransitionTimeConfigValue
constraints:
- type: uint16
+ type: int16u
notValue: OnOffTransitionTimeValue
- label: "Reads the OnLevel attribute from the DUT"
@@ -81,7 +81,7 @@ tests:
response:
saveAs: OnLevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -99,7 +99,7 @@ tests:
response:
value: OnLevelConfigValue
constraints:
- type: uint8
+ type: int8u
notValue: OnLevelValue
- label: "Reads the OnTransitionTime attribute from the DUT"
@@ -109,7 +109,7 @@ tests:
response:
saveAs: OnTransitionTimeValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -127,7 +127,7 @@ tests:
response:
value: OnTransitionTimeConfigValue
constraints:
- type: uint16
+ type: int16u
notValue: OnTransitionTimeValue
- label: "Reads the OffTransitionTime attribute from the DUT"
@@ -137,7 +137,7 @@ tests:
response:
saveAs: OffTransitionTimeValue
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -155,7 +155,7 @@ tests:
response:
value: OffTransitionTimeConfigValue
constraints:
- type: uint16
+ type: int16u
notValue: OffTransitionTimeValue
- label: "Reads the DefaultMoveRate attribute from the DUT"
@@ -165,7 +165,7 @@ tests:
response:
saveAs: DefaultMoveRatevalue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -183,7 +183,7 @@ tests:
response:
value: DefaultMoveRateConfigValue
constraints:
- type: uint8
+ type: int8u
notValue: DefaultMoveRatevalue
- label: "Reads the StartUpCurrentLevel attribute from the DUT"
@@ -193,7 +193,7 @@ tests:
response:
saveAs: StartUpCurrentLevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -211,7 +211,7 @@ tests:
response:
value: StartUpCurrentLevelConfigValue
constraints:
- type: uint8
+ type: int8u
notValue: StartUpCurrentLevelValue
#This is a reset step that is needed to reset the value of the attribute to the default values so as to not effect other test cases.
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml
index c71f7451a494cd..b1bafbe1a9c3ce 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_3_1.yaml
@@ -54,7 +54,7 @@ tests:
attribute: "min level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -64,7 +64,7 @@ tests:
attribute: "max level"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -161,7 +161,7 @@ tests:
attribute: "on off transition time"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml
index dfc9ae5e397817..f03caa284c3927 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_4_1.yaml
@@ -55,7 +55,7 @@ tests:
response:
saveAs: MinlevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -80,7 +80,7 @@ tests:
response:
saveAs: MaxlevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -180,7 +180,7 @@ tests:
response:
saveAs: DefaultMoveRateValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml
index e5690f1c9d704d..600b487af75e70 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_5_1.yaml
@@ -55,7 +55,7 @@ tests:
response:
saveAs: MinlevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -95,7 +95,7 @@ tests:
value: MinlevelValue + 1
saveAs: CurrentlevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -106,7 +106,7 @@ tests:
response:
value: 2
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 254
@@ -157,7 +157,7 @@ tests:
response:
value: 66
constraints:
- type: uint8
+ type: int8u
- label: "Reads current level attribute from DUT"
PICS: LVL.S.A0000 && LVL.S.C02.Rsp && !LVL.S.M.VarRate
@@ -166,7 +166,7 @@ tests:
response:
value: 66
constraints:
- type: uint8
+ type: int8u
- label: "Sends a StepWithOnOff command"
PICS: LVL.S.C06.Rsp && LVL.S.M.VarRate
diff --git a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml
index 98748b28b1a995..f68f33ec310669 100644
--- a/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_LVL_6_1.yaml
@@ -55,7 +55,7 @@ tests:
response:
saveAs: MinlevelValue
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml
index e6a22e1205adeb..54cab6a3183249 100644
--- a/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml
+++ b/src/app/tests/suites/certification/Test_TC_MEDIAINPUT_1_4.yaml
@@ -36,14 +36,14 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 1
diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml
index 0c2daf8ee39088..1f8e0acd5f5ade 100644
--- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml
+++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_1_7.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: MEDIAPLAYBACK.S.AS || MEDIAPLAYBACK.S.VS
@@ -44,7 +44,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 3
diff --git a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml
index c143a2a91b7cd8..cdf3b92190c987 100644
--- a/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_MEDIAPLAYBACK_6_3.yaml
@@ -19,7 +19,7 @@ config:
cluster: "Media Playback"
endpoint: 1
SeekPosition:
- type: INT64U
+ type: int64u
defaultValue: 100000000
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml
index 5852934e541aac..f4deeee328d384 100644
--- a/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_MOD_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "TH reads the FeatureMap attribute from the DUT"
PICS: MOD.S.F00
@@ -43,7 +43,7 @@ tests:
response:
value: 1
constraints:
- type: map32
+ type: bitmap32
- label: "TH reads the FeatureMap attribute from the DUT"
PICS: " !MOD.S.F00 "
@@ -52,7 +52,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "TH reads the AttributeList attribute from the DUT"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml
index ef2633b626f18c..f30a3b1cc381bb 100644
--- a/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_OCC_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml
index 228b64c7dbbb78..c559eea82eb7f8 100644
--- a/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_OCC_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "occupancy"
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 1
@@ -54,7 +54,7 @@ tests:
attribute: "occupancy sensor type bitmap"
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 1
maxValue: 273
@@ -65,7 +65,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -76,7 +76,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -88,7 +88,7 @@ tests:
response:
value: 1
constraints:
- type: uint8
+ type: int8u
minValue: 1
maxValue: 254
@@ -99,7 +99,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -110,7 +110,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -121,7 +121,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int8u
minValue: 1
maxValue: 254
@@ -134,7 +134,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -147,7 +147,7 @@ tests:
response:
value: 0
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -160,6 +160,6 @@ tests:
response:
value: 1
constraints:
- type: uint8
+ type: int8u
minValue: 1
maxValue: 254
diff --git a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml
index 2b2b11d863e00f..6c811f34c153d2 100644
--- a/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_OO_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 4
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -43,7 +43,7 @@ tests:
response:
value: 1
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -52,7 +52,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml
index bb6a000e8367a9..a471f39e6bce2f 100644
--- a/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_OO_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "OnOff"
response:
constraints:
- type: bool
+ type: boolean
- label: "Read LT attribute: GlobalSceneControl"
PICS: OO.S.A4000
@@ -42,7 +42,7 @@ tests:
attribute: "GlobalSceneControl"
response:
constraints:
- type: bool
+ type: boolean
- label: "Read LT attribute: OnTime"
PICS: OO.S.A4001
@@ -50,7 +50,7 @@ tests:
attribute: "OnTime"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -60,7 +60,7 @@ tests:
attribute: "OffWaitTime"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
diff --git a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml
index 1e2cbc501d9a90..a095cc771d2219 100644
--- a/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PCC_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: uint16
+ type: int16u
- label: "TH reads the FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "TH reads the AttributeList attribute from the DUT"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml
index 178930fc1754b5..d69ef7d98629e5 100644
--- a/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PCC_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MaxPressure"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -44,7 +44,7 @@ tests:
attribute: "MaxSpeed"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -54,7 +54,7 @@ tests:
attribute: "MaxFlow"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -64,7 +64,7 @@ tests:
attribute: "MinConstPressure"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -74,7 +74,7 @@ tests:
attribute: "MaxConstPressure"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -84,7 +84,7 @@ tests:
attribute: "MinCompPressure"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -94,7 +94,7 @@ tests:
attribute: "MaxCompPressure"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -104,7 +104,7 @@ tests:
attribute: "MinConstSpeed"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -114,7 +114,7 @@ tests:
attribute: "MaxConstSpeed"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -124,7 +124,7 @@ tests:
attribute: "MinConstFlow"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -134,7 +134,7 @@ tests:
attribute: "MaxConstFlow"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -144,7 +144,7 @@ tests:
attribute: "MinConstTemp"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -154,7 +154,7 @@ tests:
attribute: "MaxConstTemp"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -164,7 +164,7 @@ tests:
attribute: "PumpStatus"
response:
constraints:
- type: map16
+ type: bitmap16
minValue: 0
maxValue: 8
@@ -194,7 +194,7 @@ tests:
attribute: "Capacity"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -204,7 +204,7 @@ tests:
attribute: "Speed"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -214,7 +214,7 @@ tests:
attribute: "LifetimeRunningHours"
response:
constraints:
- type: uint24
+ type: int24u
minValue: 0
maxValue: 16777215
@@ -224,7 +224,7 @@ tests:
attribute: "Power"
response:
constraints:
- type: uint24
+ type: int24u
minValue: 0
maxValue: 16777215
@@ -234,7 +234,7 @@ tests:
attribute: "LifetimeEnergyConsumed"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 4294967295
diff --git a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml
index dd99ae2d50de7a..e7e8a142285b62 100644
--- a/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PRS_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: PRS.S.F00
@@ -43,7 +43,7 @@ tests:
response:
value: 1
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: FeatureMap"
PICS: " !PRS.S.F00 "
@@ -52,7 +52,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global mandatory attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml
index 86c74bfb54f6a6..cc541918a4bccc 100644
--- a/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PRS_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -44,7 +44,7 @@ tests:
attribute: "MinMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -54,7 +54,7 @@ tests:
attribute: "MaxMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -64,7 +64,7 @@ tests:
attribute: "Tolerance"
response:
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 2048
@@ -74,7 +74,7 @@ tests:
attribute: "ScaledValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -84,7 +84,7 @@ tests:
attribute: "MinScaledValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -94,7 +94,7 @@ tests:
attribute: "MaxScaledValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -32768
maxValue: 32767
@@ -104,7 +104,7 @@ tests:
attribute: "ScaledTolerance"
response:
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 2048
@@ -114,6 +114,6 @@ tests:
attribute: "Scale"
response:
constraints:
- type: int8
+ type: int8s
minValue: -127
maxValue: 127
diff --git a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml
index c355fc10682848..4053ea3195a19a 100644
--- a/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PSCFG_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "TH reads the FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "TH reads the AttributeList attribute from the DUT"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml
index ceeb27f0b3ba38..dc766658a7594c 100644
--- a/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PS_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS: PS.S.F00 || PS.S.F01 || PS.S.F02 || PS.S.F03
@@ -42,7 +42,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 0
maxValue: 15
diff --git a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml
index e76b9e49f9a167..969e453c6d1373 100644
--- a/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_PS_2_1.yaml
@@ -44,7 +44,7 @@ tests:
attribute: "Order"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -54,7 +54,7 @@ tests:
attribute: "Description"
response:
constraints:
- type: string
+ type: char_string
- label:
"Test Harness Client reads WiredAssessedInputVoltage attribue from
@@ -64,7 +64,7 @@ tests:
attribute: "WiredAssessedInputVoltage"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -76,7 +76,7 @@ tests:
attribute: "WiredAssessedInputFrequency"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -99,7 +99,7 @@ tests:
attribute: "WiredAssessedCurrent"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -109,7 +109,7 @@ tests:
attribute: "WiredNominalVoltage"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -119,7 +119,7 @@ tests:
attribute: "WiredMaximumCurrent"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -129,7 +129,7 @@ tests:
attribute: "WiredPresent"
response:
constraints:
- type: bool
+ type: boolean
- label: "Test Harness Client reads ActiveWiredFaults from Server DUT"
PICS: PICS_SKIP_SAMPLE_APP && PS.S.A000a
@@ -146,7 +146,7 @@ tests:
attribute: "BatVoltage"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -156,7 +156,7 @@ tests:
attribute: "BatPercentRemaining"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 200
@@ -166,7 +166,7 @@ tests:
attribute: "BatTimeRemaining"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -186,7 +186,7 @@ tests:
attribute: "BatReplacementNeeded"
response:
constraints:
- type: bool
+ type: boolean
- label: "Test Harness Client reads BatReplaceability from Server DUT"
PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0010
@@ -204,7 +204,7 @@ tests:
attribute: "BatPresent"
response:
constraints:
- type: bool
+ type: boolean
- label: "Test Harness Client readsActiveBatFaults from Server DUT"
PICS: PICS_SKIP_SAMPLE_APP && PS.S.A0012
@@ -222,7 +222,7 @@ tests:
attribute: "BatReplacementDescription"
response:
constraints:
- type: string
+ type: char_string
maxLength: 60
- label: "Test Harness Client reads BatCommonDesignation from Server DUT"
@@ -231,7 +231,7 @@ tests:
attribute: "BatCommonDesignation"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 80
@@ -241,7 +241,7 @@ tests:
attribute: "BatANSIDesignation"
response:
constraints:
- type: string
+ type: char_string
maxLength: 20
- label: "Test Harness Client reads BatIECDesignation from Server DUT"
@@ -250,7 +250,7 @@ tests:
attribute: "BatIECDesignation"
response:
constraints:
- type: string
+ type: char_string
maxLength: 20
- label: "Test Harness Client reads BatApprovedChemistry from Server DUT"
@@ -259,7 +259,7 @@ tests:
attribute: "BatApprovedChemistry"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0
maxValue: 32
@@ -269,7 +269,7 @@ tests:
attribute: "BatCapacity"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -279,7 +279,7 @@ tests:
attribute: "BatQuantity"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -299,7 +299,7 @@ tests:
attribute: "BatTimeToFullCharge"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
@@ -310,7 +310,7 @@ tests:
attribute: "BatFunctionalWhileCharging"
response:
constraints:
- type: bool
+ type: boolean
- label: "Test Harness Client reads BatChargingCurrent from Server DUT"
PICS: PICS_SKIP_SAMPLE_APP && PS.S.A001d
@@ -318,7 +318,7 @@ tests:
attribute: "BatChargingCurrent"
response:
constraints:
- type: uint32
+ type: int32u
minValue: 0x0
maxValue: 0xFFFFFFFF
diff --git a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml
index 8fd7e9a9723d27..79362ca7f613da 100644
--- a/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_RH_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 3
constraints:
- type: list
+ type: int16u
- label: "Read FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml
index 87f3ed0c826485..588190de738f6f 100644
--- a/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_RH_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "measured value"
response:
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 10000
@@ -44,7 +44,7 @@ tests:
attribute: "min measured value"
response:
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 9999
@@ -54,7 +54,7 @@ tests:
attribute: "max measured value"
response:
constraints:
- type: int16
+ type: int16u
minValue: 1
maxValue: 10000
@@ -64,6 +64,6 @@ tests:
attribute: "tolerance"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 2048
diff --git a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml
index 023deb509bcc01..fc4a8ab535f6f1 100644
--- a/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_RH_2_2.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "min measured value"
response:
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 9999
@@ -44,7 +44,7 @@ tests:
attribute: "max measured value"
response:
constraints:
- type: int16
+ type: int16u
minValue: 1
maxValue: 10000
@@ -55,7 +55,7 @@ tests:
response:
saveAs: ValueBeforeChange
constraints:
- type: int16
+ type: int16u
minValue: 0
maxValue: 10000
@@ -76,5 +76,5 @@ tests:
PICS: RH.S.A0000 && RH.M.ManuallyControlled
response:
constraints:
- type: uint16
+ type: int16u
notValue: ValueBeforeChange
diff --git a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml
index 5f42808dd13eaf..536019ae31e03c 100644
--- a/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_SC_4_2.yaml
@@ -21,16 +21,16 @@ config:
cluster: "Secure Channel"
endpoint: 0
discriminator:
- type: INT16U
+ type: int16u
defaultValue: 3840
vendorId:
- type: INT16U
+ type: int16u
defaultValue: 65521
productId:
- type: INT16U
+ type: int16u
defaultValue: 32769
deviceType:
- type: INT16U
+ type: int16u
defaultValue: 5
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml b/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml
index 5f0653034876bf..d66ad3aa45f22a 100644
--- a/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_SWTCH_2_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 2
constraints:
- type: uint8
+ type: int8u
minValue: 2
- label: "Read CurrentPosition attribute"
@@ -43,7 +43,7 @@ tests:
response:
value: 0
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -54,6 +54,6 @@ tests:
response:
value: 2
constraints:
- type: uint8
+ type: int8u
minValue: 2
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml
index bae52b9de71736..8bbfe298a9748e 100644
--- a/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TGTNAV_1_9.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -44,7 +44,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml b/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml
index e6cebc4d550dc2..c7ffec68e69bd4 100644
--- a/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TGTNAV_8_1.yaml
@@ -19,10 +19,10 @@ config:
cluster: "Target Navigator"
endpoint: 1
targetvalue1:
- type: INT8U
+ type: int8u
defaultValue: 1
targetvalue2:
- type: INT8U
+ type: int8u
defaultValue: 2
tests:
@@ -40,7 +40,7 @@ tests:
attribute: "CurrentTarget"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
diff --git a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml
index 541d2fc3f3a233..c3e466ff57ca6c 100644
--- a/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TMP_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 4
constraints:
- type: unit16
+ type: int16u
- label: "Read FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml
index 6f724f1a2ce0be..37baa132bb605b 100644
--- a/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TMP_2_1.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -44,7 +44,7 @@ tests:
attribute: "MinMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -54,7 +54,7 @@ tests:
attribute: "MaxMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27314
maxValue: 32767
@@ -64,6 +64,6 @@ tests:
attribute: "Tolerance"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 2048
diff --git a/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml
index 6f3613bf9c8e19..1caecd702318e1 100644
--- a/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TMP_2_2.yaml
@@ -34,7 +34,7 @@ tests:
attribute: "MinMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32766
@@ -44,7 +44,7 @@ tests:
attribute: "MaxMeasuredValue"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27314
maxValue: 32767
@@ -55,9 +55,9 @@ tests:
response:
saveAs: valueBeforeChange
constraints:
- type: uint16
- minValue: 0
- maxValue: 65535
+ type: int16s
+ minValue: -27314
+ maxValue: 32767
- label: "Operate on device to change the temperature significantly"
cluster: "LogCommands"
@@ -76,7 +76,7 @@ tests:
PICS: TMP.S.A0000 && TMP.M.ManuallyControlled
response:
constraints:
- type: uint16
- minValue: 0
- maxValue: 65535
+ type: int16s
+ minValue: -27314
+ maxValue: 32767
notValue: valueBeforeChange
diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml
index df0aabef7cabff..ba9181bc229551 100644
--- a/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TSTAT_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 5
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
PICS:
@@ -44,7 +44,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: map32
+ type: bitmap32
minValue: 1
maxValue: 63
diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
index 1ddc6392d490df..a0ffea63eb050f 100644
--- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
@@ -33,7 +33,7 @@ tests:
attribute: "LocalTemperature"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -43,7 +43,7 @@ tests:
attribute: "OutdoorTemperature"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -53,7 +53,7 @@ tests:
attribute: "Occupancy"
response:
constraints:
- type: int16
+ type: bitmap8
minValue: 0
maxValue: 1
@@ -63,7 +63,7 @@ tests:
attribute: "AbsMinHeatSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -73,7 +73,7 @@ tests:
attribute: "AbsMaxHeatSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -83,7 +83,7 @@ tests:
attribute: "AbsMinCoolSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -93,7 +93,7 @@ tests:
attribute: "AbsMaxCoolSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -103,7 +103,7 @@ tests:
attribute: "PICoolingDemand"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 100
@@ -113,7 +113,7 @@ tests:
attribute: "PIHeatingDemand"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 100
@@ -123,7 +123,7 @@ tests:
attribute: "HVACSystemTypeConfiguration"
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 63
@@ -133,7 +133,7 @@ tests:
attribute: "LocalTemperatureCalibration"
response:
constraints:
- type: int8
+ type: int8s
minValue: 25
maxValue: -25
@@ -143,7 +143,7 @@ tests:
attribute: "OccupiedCoolingSetpoint"
response:
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -153,7 +153,7 @@ tests:
attribute: "OccupiedHeatingSetpoint"
response:
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -163,7 +163,7 @@ tests:
attribute: "UnoccupiedCoolingSetpoint"
response:
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -173,7 +173,7 @@ tests:
attribute: "UnoccupiedHeatingSetpoint"
response:
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -183,7 +183,7 @@ tests:
attribute: "MinHeatSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -193,7 +193,7 @@ tests:
attribute: "MaxHeatSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -203,7 +203,7 @@ tests:
attribute: "MinCoolSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -213,7 +213,7 @@ tests:
attribute: "MaxCoolSetpointLimit"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -223,7 +223,7 @@ tests:
attribute: "MinSetpointDeadBand"
response:
constraints:
- type: int8
+ type: int8s
minValue: 0
maxValue: 25
@@ -233,7 +233,7 @@ tests:
attribute: "RemoteSensing"
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 7
@@ -281,7 +281,7 @@ tests:
attribute: "NumberOfWeeklyTransitions"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -291,7 +291,7 @@ tests:
attribute: "NumberOfDailyTransitions"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -311,7 +311,7 @@ tests:
attribute: "TemperatureSetpointHoldDuration"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 1440
@@ -321,7 +321,7 @@ tests:
attribute: "ThermostatProgrammingOperationMode"
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 7
@@ -331,7 +331,7 @@ tests:
attribute: "ThermostatRunningState"
response:
constraints:
- type: map16
+ type: bitmap16
minValue: 0
maxValue: 127
@@ -351,7 +351,7 @@ tests:
attribute: "SetpointChangeAmount"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
@@ -369,7 +369,7 @@ tests:
attribute: "OccupiedSetback"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -379,7 +379,7 @@ tests:
attribute: "OccupiedSetbackMin"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -389,7 +389,7 @@ tests:
attribute: "OccupiedSetbackMax"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -399,7 +399,7 @@ tests:
attribute: "UnoccupiedSetback"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -409,7 +409,7 @@ tests:
attribute: "UnoccupiedSetbackMin"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -419,7 +419,7 @@ tests:
attribute: "UnoccupiedSetbackMax"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -429,7 +429,7 @@ tests:
attribute: "EmergencyHeatDelta"
response:
constraints:
- type: uint8
+ type: int8u
minValue: 0
maxValue: 255
@@ -449,7 +449,7 @@ tests:
attribute: "ACCapacity"
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -479,7 +479,7 @@ tests:
attribute: "ACErrorCode"
response:
constraints:
- type: map32
+ type: bitmap32
- label: "Read ACLouverPosition attribute from the DUT"
PICS: TSTAT.S.A0045
@@ -497,7 +497,7 @@ tests:
attribute: "ACCoilTemperature"
response:
constraints:
- type: int16
+ type: int16s
minValue: -27315
maxValue: 32767
diff --git a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml
index b6ef39e12cb377..4b0328d502a885 100644
--- a/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TSTAT_2_2.yaml
@@ -36,7 +36,7 @@ tests:
PICS: TSTAT.S.F01
response:
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -117,7 +117,7 @@ tests:
PICS: TSTAT.S.F00
response:
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -208,7 +208,7 @@ tests:
response:
value: 2600
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -279,7 +279,7 @@ tests:
response:
value: 2000
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -351,7 +351,7 @@ tests:
response:
value: 700
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -431,7 +431,7 @@ tests:
response:
value: 3000
constraints:
- type: int16
+ type: int16s
minValue: 700
maxValue: 3000
@@ -522,7 +522,7 @@ tests:
response:
value: 1600
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -601,7 +601,7 @@ tests:
response:
value: 3200
constraints:
- type: int16
+ type: int16s
minValue: 1600
maxValue: 3200
@@ -706,7 +706,7 @@ tests:
response:
value: 25
constraints:
- type: temp-s8
+ type: int8s
minValue: 0
maxValue: 25
diff --git a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml
index fabe547f94e490..34cb80974ef93e 100644
--- a/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_TSUIC_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 2
constraints:
- type: uint16
+ type: int16u
- label: "Read FeatureMap attribute from the DUT"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml
index e78deaba7ee13e..894da6642d1112 100644
--- a/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_ULABEL_1_1.yaml
@@ -34,7 +34,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -42,7 +42,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml
index fe2d8887d782d3..ec2c6b4a0a79b9 100644
--- a/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WAKEONLAN_1_5.yaml
@@ -36,7 +36,7 @@ tests:
response:
value: 1
constraints:
- type: uint16
+ type: int16u
- label: "Read the global attribute: FeatureMap"
command: "readAttribute"
@@ -44,7 +44,7 @@ tests:
response:
value: 0
constraints:
- type: map32
+ type: bitmap32
- label: "Read the global attribute: AttributeList"
command: "readAttribute"
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml
index 377dd159bc0032..6062b499fc8e12 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_1_1.yaml
@@ -37,7 +37,7 @@ tests:
response:
value: 5
constraints:
- type: uint16
+ type: int16u
minValue: 5
maxValue: 200
@@ -47,7 +47,7 @@ tests:
attribute: "FeatureMap"
response:
constraints:
- type: uint32
+ type: bitmap32
minValue: 0
maxValue: 32768
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 19843f0ab28679..6b30454bb892f2 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
@@ -50,7 +50,7 @@ tests:
PICS: WNCV.S.A0007
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 63
@@ -61,7 +61,7 @@ tests:
PICS: WNCV.S.A000a
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 63
@@ -83,7 +83,7 @@ tests:
PICS: WNCV.S.A0017
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 0
maxValue: 15
@@ -155,7 +155,7 @@ tests:
PICS: WNCV.S.A0010
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -167,7 +167,7 @@ tests:
PICS: WNCV.S.A0011
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -179,7 +179,7 @@ tests:
PICS: WNCV.S.A0012
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -191,7 +191,7 @@ tests:
PICS: WNCV.S.A0013
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -203,7 +203,7 @@ tests:
PICS: WNCV.S.A001a
response:
constraints:
- type: map16
+ type: bitmap16
minValue: 0
maxValue: 2047
@@ -215,7 +215,7 @@ tests:
PICS: WNCV.S.A0001
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -227,7 +227,7 @@ tests:
PICS: WNCV.S.A0002
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -238,7 +238,7 @@ tests:
PICS: WNCV.S.A0003
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -249,7 +249,7 @@ tests:
PICS: WNCV.S.A0004
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -261,7 +261,7 @@ tests:
PICS: WNCV.S.A0005
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
@@ -273,7 +273,7 @@ tests:
PICS: WNCV.S.A0006
response:
constraints:
- type: uint16
+ type: int16u
minValue: 0
maxValue: 65535
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 a6381b88223273..80cb89614f5230 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
@@ -59,7 +59,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
@@ -72,7 +72,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: uint8
+ type: Percent
minValue: 1
maxValue: 100
@@ -85,7 +85,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
@@ -98,7 +98,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: uint8
+ type: Percent
minValue: 1
maxValue: 100
@@ -112,7 +112,7 @@ tests:
maxInterval: 5
response:
constraints:
- type: map8
+ type: bitmap8
### MANDATORY Command
- label: "2a: TH sends UpOrOpen command to DUT"
@@ -169,7 +169,7 @@ tests:
PICS: WNCV.S.A000a
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 5
maxValue: 21
@@ -191,7 +191,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 0
maxValue: 9999
@@ -204,7 +204,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: uint8
+ type: Percent
minValue: 0
maxValue: 99
@@ -217,7 +217,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 0
maxValue: 9999
@@ -230,7 +230,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: uint8
+ type: Percent
minValue: 0
maxValue: 99
@@ -280,7 +280,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 0
maxValue: 9999
@@ -293,6 +293,6 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000c
response:
constraints:
- type: uint16
+ 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 65a06134cee02b..de551662f251b8 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
@@ -59,7 +59,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 0
maxValue: 9999
@@ -72,7 +72,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: uint8
+ type: Percent
minValue: 0
maxValue: 99
@@ -85,7 +85,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 0
maxValue: 9999
@@ -98,7 +98,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: uint8
+ type: Percent
minValue: 0
maxValue: 99
@@ -112,7 +112,7 @@ tests:
maxInterval: 5
response:
constraints:
- type: map8
+ type: bitmap8
### MANDATORY Command
- label: "2a: TH sends DownOrClose command to DUT"
@@ -169,7 +169,7 @@ tests:
PICS: WNCV.S.A000a
response:
constraints:
- type: map8
+ type: bitmap8
minValue: 10
maxValue: 42
@@ -191,7 +191,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000e
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
@@ -204,7 +204,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A0008
response:
constraints:
- type: uint8
+ type: Percent
minValue: 1
maxValue: 100
@@ -217,7 +217,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000f
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
@@ -230,7 +230,7 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A0009
response:
constraints:
- type: uint8
+ type: Percent
minValue: 1
maxValue: 100
@@ -280,7 +280,7 @@ tests:
PICS: WNCV.S.F00 && WNCV.S.F02 && WNCV.S.A000b
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
@@ -293,6 +293,6 @@ tests:
PICS: WNCV.S.F01 && WNCV.S.F04 && WNCV.S.A000c
response:
constraints:
- type: uint16
+ type: Percent100ths
minValue: 1
maxValue: 10000
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml
index 92cf1e63f7e46b..8e5f69b279ad53 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_3.yaml
@@ -71,7 +71,7 @@ tests:
maxInterval: 5
response:
constraints:
- type: map8
+ type: bitmap8
### MANDATORY Command
- label: "2a: TH sends a StopMotion command to DUT"
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml
index 49f015acee6085..608d5d39a31814 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_4.yaml
@@ -21,10 +21,10 @@ config:
cluster: "Window Covering"
endpoint: 1
fastMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 3000
fullMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 6000
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml
index dab1669cb7adb2..2208f81bdfb8f1 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_3_5.yaml
@@ -21,10 +21,10 @@ config:
cluster: "Window Covering"
endpoint: 1
fastMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 3000
fullMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 6000
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml
index d2e1a79ac88a6f..85f93558ad6348 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_1.yaml
@@ -21,7 +21,7 @@ config:
cluster: "Window Covering"
endpoint: 1
fullMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 6000
tests:
diff --git a/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml b/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml
index b7d2df44d95fe8..a429d1206e9879 100644
--- a/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml
+++ b/src/app/tests/suites/certification/Test_TC_WNCV_4_2.yaml
@@ -21,7 +21,7 @@ config:
cluster: "Window Covering"
endpoint: 1
fullMotionDuration:
- type: INT16U
+ type: int16u
defaultValue: 6000
tests:
diff --git a/src/app/tests/suites/include/ConstraintsChecker.h b/src/app/tests/suites/include/ConstraintsChecker.h
index 3eff23d80ac761..6578a4d7610e61 100644
--- a/src/app/tests/suites/include/ConstraintsChecker.h
+++ b/src/app/tests/suites/include/ConstraintsChecker.h
@@ -34,7 +34,13 @@ class ConstraintsChecker
bool CheckConstraintType(const char * itemName, const char * current, const char * expected)
{
- ChipLogError(chipTool, "Warning: %s type checking is not implemented yet. Expected type: '%s'", itemName, expected);
+ if (strcmp(current, expected) != 0)
+ {
+ Exit(std::string(itemName) + " type (" + std::string(current) + ") is different than the expected type (" +
+ std::string(expected) + ").");
+ return false;
+ }
+
return true;
}
diff --git a/src/app/zap-templates/common/ClusterTestGeneration.js b/src/app/zap-templates/common/ClusterTestGeneration.js
index 6a3afd703992bc..88b15d029d6e29 100644
--- a/src/app/zap-templates/common/ClusterTestGeneration.js
+++ b/src/app/zap-templates/common/ClusterTestGeneration.js
@@ -25,6 +25,9 @@ const path = require('path');
// Import helpers from zap core
const templateUtil = require(zapPath + 'dist/src-electron/generator/template-util.js')
+const zclHelper = require(zapPath + 'dist/src-electron/generator/helper-zcl.js');
+const queryEnum = require(zapPath + 'dist/src-electron/db/query-enum');
+const queryBitmap = require(zapPath + 'dist/src-electron/db/query-bitmap');
const { getClusters, getCommands, getAttributes, getEvents, isTestOnlyCluster }
= require('./simulated-clusters/SimulatedClusters.js');
@@ -1025,6 +1028,30 @@ function chip_tests_iterate_constraints(constraints, options)
return asBlocks.call(this, Promise.resolve(values), options)
}
+async function asTestType(type, isList)
+{
+ if (isList) {
+ return 'list';
+ }
+
+ const pkgId = await templateUtil.ensureZclPackageId(this);
+ const db = this.global.db;
+
+ const isEnum = await zclHelper.isEnum(db, type, pkgId);
+ if (isEnum != 'unknown') {
+ const enumObj = await queryEnum.selectEnumByName(db, type, pkgId);
+ return 'enum' + (8 * enumObj.size);
+ }
+
+ const isBitmap = await zclHelper.isBitmap(db, type, pkgId);
+ if (isBitmap != 'unknown') {
+ const bitmapObj = await queryBitmap.selectBitmapByName(db, pkgId, type);
+ return 'bitmap' + (8 * bitmapObj.size);
+ }
+
+ return type;
+}
+
//
// Module exports
//
@@ -1057,3 +1084,4 @@ exports.octetStringLengthFromHexString = octetStringLengthFromHexSt
exports.octetStringFromHexString = octetStringFromHexString;
exports.chip_tests_iterate_expected_list = chip_tests_iterate_expected_list;
exports.chip_tests_iterate_constraints = chip_tests_iterate_constraints;
+exports.asTestType = asTestType;
diff --git a/src/app/zap-templates/common/override.js b/src/app/zap-templates/common/override.js
index 429c37c9d4f41c..381db17a5ebae3 100644
--- a/src/app/zap-templates/common/override.js
+++ b/src/app/zap-templates/common/override.js
@@ -73,6 +73,7 @@ function atomicType(arg)
case 'epoch_us':
return 'uint64_t';
case 'epoch_s':
+ case 'utc':
return 'uint32_t';
default:
throw 'not overriding';
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 25f79b10d73e59..b9ef8a0b06a4bd 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
@@ -25,7 +25,7 @@ limitations under the License.
true
This cluster provides information about an application running on a TV or media player device which is represented as an endpoint.
VendorName
- VendorID
+ VendorID
ApplicationName
ProductID
Application
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 ce0c3d27ce4faf..a7356263f60138 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
@@ -61,7 +61,7 @@ limitations under the License.
SupportedFabrics
CommissionedFabrics
TrustedRootCertificates
- CurrentFabricIndex
+ CurrentFabricIndex
Sender is requesting attestation information from the receiver.
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 b1f0608e9f0be5..00d568567a8ddc 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
@@ -111,7 +111,7 @@ limitations under the License.
ThermostatRunningState
SetpointChangeSource
SetpointChangeAmount
- SetpointChangeSourceTimestamp
+ SetpointChangeSourceTimestamp
OccupiedSetback
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index f72c864b365bfd..d423ab0497bdf8 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -1808,7 +1808,7 @@ client cluster OperationalCredentials = 62 {
readonly attribute int8u supportedFabrics = 2;
readonly attribute int8u commissionedFabrics = 3;
readonly attribute OCTET_STRING trustedRootCertificates[] = 4;
- readonly attribute fabric_idx currentFabricIndex = 5;
+ readonly attribute int8u currentFabricIndex = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
@@ -4012,7 +4012,7 @@ client cluster ApplicationBasic = 1293 {
}
readonly attribute char_string<32> vendorName = 0;
- readonly attribute int16u vendorID = 1;
+ readonly attribute vendor_id vendorID = 1;
readonly attribute char_string<32> applicationName = 2;
readonly attribute int16u productID = 3;
readonly attribute ApplicationBasicApplication application = 4;
diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
index af18e87a079d4f..c21a0947ccea70 100644
--- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
@@ -16388,7 +16388,7 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
std::string valueClassName = "java/lang/Integer";
std::string valueCtorSignature = "(I)V";
chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(),
- cppValue, value);
+ static_cast(cppValue), value);
return value;
}
case Attributes::ApplicationName::Id: {
diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
index c9bbe64cc955f9..2cf7e3f32c7e26 100644
--- a/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
+++ b/src/controller/java/zap-generated/CHIPReadCallbacks.cpp
@@ -12245,65 +12245,6 @@ void CHIPOperationalCredentialsTrustedRootCertificatesAttributeCallback::Callbac
env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj);
}
-CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback::CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback(
- jobject javaCallback, bool keepAlive) :
- chip::Callback::Callback(CallbackFn, this),
- keepAlive(keepAlive)
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- return;
- }
-
- javaCallbackRef = env->NewGlobalRef(javaCallback);
- if (javaCallbackRef == nullptr)
- {
- ChipLogError(Zcl, "Could not create global reference for Java callback");
- }
-}
-
-CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback::~CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback()
-{
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- if (env == nullptr)
- {
- ChipLogError(Zcl, "Could not delete global reference for Java callback");
- return;
- }
- env->DeleteGlobalRef(javaCallbackRef);
-}
-
-void CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback::CallbackFn(void * context, chip::FabricIndex value)
-{
- chip::DeviceLayer::StackUnlock unlock;
- CHIP_ERROR err = CHIP_NO_ERROR;
- JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
- jobject javaCallbackRef;
-
- VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env"));
- std::unique_ptr cppCallback(
- reinterpret_cast(context), maybeDestroy);
-
- // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback.
- javaCallbackRef = cppCallback.get()->javaCallbackRef;
- VerifyOrReturn(javaCallbackRef != nullptr,
- ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null"));
-
- jmethodID javaMethod;
- err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod);
- VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method"));
-
- jobject javaValue;
- std::string javaValueClassName = "java/lang/Integer";
- std::string javaValueCtorSignature = "(I)V";
- chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(), value,
- javaValue);
-
- env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue);
-}
-
CHIPOperationalCredentialsGeneratedCommandListAttributeCallback::CHIPOperationalCredentialsGeneratedCommandListAttributeCallback(
jobject javaCallback, bool keepAlive) :
chip::Callback::Callback(CallbackFn, this),
@@ -24323,6 +24264,63 @@ void CHIPApplicationLauncherAttributeListAttributeCallback::CallbackFn(
env->CallVoidMethod(javaCallbackRef, javaMethod, arrayListObj);
}
+CHIPApplicationBasicVendorIDAttributeCallback::CHIPApplicationBasicVendorIDAttributeCallback(jobject javaCallback, bool keepAlive) :
+ chip::Callback::Callback(CallbackFn, this), keepAlive(keepAlive)
+{
+ JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
+ if (env == nullptr)
+ {
+ ChipLogError(Zcl, "Could not create global reference for Java callback");
+ return;
+ }
+
+ javaCallbackRef = env->NewGlobalRef(javaCallback);
+ if (javaCallbackRef == nullptr)
+ {
+ ChipLogError(Zcl, "Could not create global reference for Java callback");
+ }
+}
+
+CHIPApplicationBasicVendorIDAttributeCallback::~CHIPApplicationBasicVendorIDAttributeCallback()
+{
+ JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
+ if (env == nullptr)
+ {
+ ChipLogError(Zcl, "Could not delete global reference for Java callback");
+ return;
+ }
+ env->DeleteGlobalRef(javaCallbackRef);
+}
+
+void CHIPApplicationBasicVendorIDAttributeCallback::CallbackFn(void * context, chip::VendorId value)
+{
+ chip::DeviceLayer::StackUnlock unlock;
+ CHIP_ERROR err = CHIP_NO_ERROR;
+ JNIEnv * env = chip::JniReferences::GetInstance().GetEnvForCurrentThread();
+ jobject javaCallbackRef;
+
+ VerifyOrReturn(env != nullptr, ChipLogError(Zcl, "Could not get JNI env"));
+ std::unique_ptr cppCallback(
+ reinterpret_cast(context), maybeDestroy);
+
+ // It's valid for javaCallbackRef to be nullptr if the Java code passed in a null callback.
+ javaCallbackRef = cppCallback.get()->javaCallbackRef;
+ VerifyOrReturn(javaCallbackRef != nullptr,
+ ChipLogProgress(Zcl, "Early return from attribute callback since Java callback is null"));
+
+ jmethodID javaMethod;
+ err = chip::JniReferences::GetInstance().FindMethod(env, javaCallbackRef, "onSuccess", "(Ljava/lang/Integer;)V", &javaMethod);
+ VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Could not find onSuccess() method"));
+
+ jobject javaValue;
+ std::string javaValueClassName = "java/lang/Integer";
+ std::string javaValueCtorSignature = "(I)V";
+ chip::JniReferences::GetInstance().CreateBoxedObject(javaValueClassName.c_str(), javaValueCtorSignature.c_str(),
+ static_cast(value), javaValue);
+
+ env->CallVoidMethod(javaCallbackRef, javaMethod, javaValue);
+}
+
CHIPApplicationBasicAllowedVendorListAttributeCallback::CHIPApplicationBasicAllowedVendorListAttributeCallback(jobject javaCallback,
bool keepAlive) :
chip::Callback::Callback(CallbackFn, this),
diff --git a/src/controller/java/zap-generated/CHIPReadCallbacks.h b/src/controller/java/zap-generated/CHIPReadCallbacks.h
index ebce0164633adc..992e58ddaf34de 100644
--- a/src/controller/java/zap-generated/CHIPReadCallbacks.h
+++ b/src/controller/java/zap-generated/CHIPReadCallbacks.h
@@ -5054,36 +5054,6 @@ class CHIPOperationalCredentialsTrustedRootCertificatesAttributeCallback
bool keepAlive;
};
-class CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback
- : public chip::Callback::Callback
-{
-public:
- CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback(jobject javaCallback, bool keepAlive = false);
-
- ~CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback();
-
- static void maybeDestroy(CHIPOperationalCredentialsCurrentFabricIndexAttributeCallback * callback)
- {
- if (!callback->keepAlive)
- {
- callback->Cancel();
- chip::Platform::Delete(callback);
- }
- }
-
- static void CallbackFn(void * context, chip::FabricIndex value);
- static void OnSubscriptionEstablished(void * context)
- {
- CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished(
- reinterpret_cast(context)->javaCallbackRef);
- VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err)));
- };
-
-private:
- jobject javaCallbackRef;
- bool keepAlive;
-};
-
class CHIPOperationalCredentialsGeneratedCommandListAttributeCallback
: public chip::Callback::Callback
{
@@ -10172,6 +10142,36 @@ class CHIPApplicationLauncherAttributeListAttributeCallback
bool keepAlive;
};
+class CHIPApplicationBasicVendorIDAttributeCallback
+ : public chip::Callback::Callback
+{
+public:
+ CHIPApplicationBasicVendorIDAttributeCallback(jobject javaCallback, bool keepAlive = false);
+
+ ~CHIPApplicationBasicVendorIDAttributeCallback();
+
+ static void maybeDestroy(CHIPApplicationBasicVendorIDAttributeCallback * callback)
+ {
+ if (!callback->keepAlive)
+ {
+ callback->Cancel();
+ chip::Platform::Delete(callback);
+ }
+ }
+
+ static void CallbackFn(void * context, chip::VendorId value);
+ static void OnSubscriptionEstablished(void * context)
+ {
+ CHIP_ERROR err = chip::JniReferences::GetInstance().CallSubscriptionEstablished(
+ reinterpret_cast(context)->javaCallbackRef);
+ VerifyOrReturn(err == CHIP_NO_ERROR, ChipLogError(Zcl, "Error calling onSubscriptionEstablished: %s", ErrorStr(err)));
+ };
+
+private:
+ jobject javaCallbackRef;
+ bool keepAlive;
+};
+
class CHIPApplicationBasicAllowedVendorListAttributeCallback
: public chip::Callback::Callback
{
diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
index 6ca633c3564afe..6a3e45eca10dc1 100644
--- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
+++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
@@ -10038,14 +10038,6 @@ public interface TrustedRootCertificatesAttributeCallback {
default void onSubscriptionEstablished() {}
}
- public interface CurrentFabricIndexAttributeCallback {
- void onSuccess(Integer value);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
public interface GeneratedCommandListAttributeCallback {
void onSuccess(List valueList);
@@ -10116,12 +10108,12 @@ public void subscribeTrustedRootCertificatesAttribute(
subscribeTrustedRootCertificatesAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCurrentFabricIndexAttribute(CurrentFabricIndexAttributeCallback callback) {
+ public void readCurrentFabricIndexAttribute(IntegerAttributeCallback callback) {
readCurrentFabricIndexAttribute(chipClusterPtr, callback);
}
public void subscribeCurrentFabricIndexAttribute(
- CurrentFabricIndexAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback, int minInterval, int maxInterval) {
subscribeCurrentFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
@@ -10203,13 +10195,10 @@ private native void subscribeTrustedRootCertificatesAttribute(
int maxInterval);
private native void readCurrentFabricIndexAttribute(
- long chipClusterPtr, CurrentFabricIndexAttributeCallback callback);
+ long chipClusterPtr, IntegerAttributeCallback callback);
private native void subscribeCurrentFabricIndexAttribute(
- long chipClusterPtr,
- CurrentFabricIndexAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
private native void readGeneratedCommandListAttribute(
long chipClusterPtr, GeneratedCommandListAttributeCallback callback);
@@ -21090,6 +21079,14 @@ public ApplicationBasicCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
+ public interface VendorIDAttributeCallback {
+ void onSuccess(Integer value);
+
+ void onError(Exception ex);
+
+ default void onSubscriptionEstablished() {}
+ }
+
public interface AllowedVendorListAttributeCallback {
void onSuccess(List valueList);
@@ -21131,12 +21128,12 @@ public void subscribeVendorNameAttribute(
subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readVendorIDAttribute(IntegerAttributeCallback callback) {
+ public void readVendorIDAttribute(VendorIDAttributeCallback callback) {
readVendorIDAttribute(chipClusterPtr, callback);
}
public void subscribeVendorIDAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ VendorIDAttributeCallback callback, int minInterval, int maxInterval) {
subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
@@ -21240,10 +21237,10 @@ private native void subscribeVendorNameAttribute(
int maxInterval);
private native void readVendorIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
+ long chipClusterPtr, VendorIDAttributeCallback callback);
private native void subscribeVendorIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval);
private native void readApplicationNameAttribute(
long chipClusterPtr, CharStringAttributeCallback callback);
diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java
index 6ad1a6f0886652..b38fa1876d9b89 100644
--- a/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java
+++ b/src/controller/java/zap-generated/chip/devicecontroller/ClusterReadMapping.java
@@ -5439,9 +5439,7 @@ public Map> getReadAttributeMap() {
(cluster, callback, commandArguments) -> {
((ChipClusters.OperationalCredentialsCluster) cluster)
.readCurrentFabricIndexAttribute(
- (ChipClusters.OperationalCredentialsCluster
- .CurrentFabricIndexAttributeCallback)
- callback);
+ (ChipClusters.IntegerAttributeCallback) callback);
},
() -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(),
readOperationalCredentialsCurrentFabricIndexCommandParams);
@@ -10852,7 +10850,8 @@ public Map> getReadAttributeMap() {
new InteractionInfo(
(cluster, callback, commandArguments) -> {
((ChipClusters.ApplicationBasicCluster) cluster)
- .readVendorIDAttribute((ChipClusters.IntegerAttributeCallback) callback);
+ .readVendorIDAttribute(
+ (ChipClusters.ApplicationBasicCluster.VendorIDAttributeCallback) callback);
},
() -> new ClusterInfoMapping.DelegatedIntegerAttributeCallback(),
readApplicationBasicVendorIDCommandParams);
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
index 4b61ec50ed0351..1e7efee40675ef 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRAttributeTLVValueDecoder.mm
@@ -14216,7 +14216,7 @@ id MTRDecodeAttributeValue(const ConcreteAttributePath & aPath, TLV::TLVReader &
return nil;
}
NSNumber * _Nonnull value;
- value = [NSNumber numberWithUnsignedShort:cppValue];
+ value = [NSNumber numberWithUnsignedShort:chip::to_underlying(cppValue)];
return value;
}
case Attributes::ApplicationName::Id: {
diff --git a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
index a4d48da55aa9c1..c34aa77a252490 100644
--- a/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
+++ b/src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.mm
@@ -65231,9 +65231,9 @@ new MTRCharStringAttributeCallbackBridge(queue, completionHandler, ^(Cancelable
- (void)readAttributeVendorIDWithCompletionHandler:(void (^)(
NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
{
- new MTRInt16uAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
+ new MTRVendorIdAttributeCallbackBridge(self.callbackQueue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
using TypeInfo = ApplicationBasic::Attributes::VendorID::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
+ auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
return self.cppCluster->ReadAttribute(successFn->mContext, successFn->mCall, failureFn->mCall);
});
@@ -65245,7 +65245,7 @@ - (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterv
subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
{
- new MTRInt16uAttributeCallbackSubscriptionBridge(
+ new MTRVendorIdAttributeCallbackSubscriptionBridge(
self.callbackQueue, reportHandler,
^(Cancelable * success, Cancelable * failure) {
if (params != nil && params.autoResubscribe != nil && ![params.autoResubscribe boolValue]) {
@@ -65253,11 +65253,11 @@ new MTRInt16uAttributeCallbackSubscriptionBridge(
return CHIP_ERROR_INVALID_ARGUMENT;
}
using TypeInfo = ApplicationBasic::Attributes::VendorID::TypeInfo;
- auto successFn = Callback::FromCancelable(success);
+ auto successFn = Callback::FromCancelable(success);
auto failureFn = Callback::FromCancelable(failure);
return self.cppCluster->SubscribeAttribute(successFn->mContext, successFn->mCall, failureFn->mCall,
[minInterval unsignedShortValue], [maxInterval unsignedShortValue],
- MTRInt16uAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished, nil,
+ MTRVendorIdAttributeCallbackSubscriptionBridge::OnSubscriptionEstablished, nil,
params == nil || params.fabricFiltered == nil || [params.fabricFiltered boolValue],
params != nil && params.keepPreviousSubscriptions != nil && [params.keepPreviousSubscriptions boolValue]);
},
@@ -65269,7 +65269,7 @@ + (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)at
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
{
- new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
+ new MTRVendorIdAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * success, Cancelable * failure) {
if (attributeCacheContainer.cppAttributeCache) {
chip::app::ConcreteAttributePath path;
using TypeInfo = ApplicationBasic::Attributes::VendorID::TypeInfo;
@@ -65278,7 +65278,7 @@ new MTRInt16uAttributeCallbackBridge(queue, completionHandler, ^(Cancelable * su
path.mAttributeId = TypeInfo::GetAttributeId();
TypeInfo::DecodableType value;
CHIP_ERROR err = attributeCacheContainer.cppAttributeCache->Get(path, value);
- auto successFn = Callback::FromCancelable(success);
+ auto successFn = Callback::FromCancelable(success);
if (err == CHIP_NO_ERROR) {
successFn->mCall(successFn->mContext, value);
}
diff --git a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h
index bf73c8371b1f7a..c815d6432ffbf9 100644
--- a/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h
+++ b/zzz_generated/all-clusters-app/zap-generated/endpoint_config.h
@@ -721,7 +721,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \
@@ -1257,7 +1257,7 @@
\
/* Endpoint: 1, Cluster: Application Basic (server) */ \
{ 0x00000000, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* VendorName */ \
- { 0x00000001, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* VendorID */ \
+ { 0x00000001, ZAP_TYPE(VENDOR_ID), 2, 0, ZAP_EMPTY_DEFAULT() }, /* VendorID */ \
{ 0x00000002, ZAP_TYPE(CHAR_STRING), 33, 0, ZAP_EMPTY_DEFAULT() }, /* ApplicationName */ \
{ 0x00000003, ZAP_TYPE(INT16U), 2, 0, ZAP_EMPTY_DEFAULT() }, /* ProductID */ \
{ 0x00000005, ZAP_TYPE(ENUM8), 1, 0, ZAP_EMPTY_DEFAULT() }, /* Status */ \
diff --git a/zzz_generated/all-clusters-minimal-app/zap-generated/endpoint_config.h b/zzz_generated/all-clusters-minimal-app/zap-generated/endpoint_config.h
index 7da5f608c4d2e0..ea5df11f3c0d4e 100644
--- a/zzz_generated/all-clusters-minimal-app/zap-generated/endpoint_config.h
+++ b/zzz_generated/all-clusters-minimal-app/zap-generated/endpoint_config.h
@@ -527,7 +527,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \
diff --git a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
index ef79df312b8fc1..bb816fa71b9696 100644
--- a/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
+++ b/zzz_generated/app-common/app-common/zap-generated/attributes/Accessors.cpp
@@ -9937,9 +9937,9 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
namespace CurrentFabricIndex {
-EmberAfStatus Get(chip::EndpointId endpoint, chip::FabricIndex * value)
+EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::OperationalCredentials::Id, Id, readable, sizeof(temp));
@@ -9951,9 +9951,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, chip::FabricIndex * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, chip::FabricIndex value)
+EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -9961,7 +9961,7 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::FabricIndex value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::OperationalCredentials::Id, Id, writable, ZCL_FABRIC_IDX_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::OperationalCredentials::Id, Id, writable, ZCL_INT8U_ATTRIBUTE_TYPE);
}
} // namespace CurrentFabricIndex
@@ -15802,7 +15802,7 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::Thermostat::Id, Id, writable, ZCL_EPOCH_S_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::Thermostat::Id, Id, writable, ZCL_UTC_ATTRIBUTE_TYPE);
}
} // namespace SetpointChangeSourceTimestamp
@@ -22788,9 +22788,9 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value)
namespace VendorID {
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
+EmberAfStatus Get(chip::EndpointId endpoint, chip::VendorId * value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
Traits::StorageType temp;
uint8_t * readable = Traits::ToAttributeStoreRepresentation(temp);
EmberAfStatus status = emberAfReadServerAttribute(endpoint, Clusters::ApplicationBasic::Id, Id, readable, sizeof(temp));
@@ -22802,9 +22802,9 @@ EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value)
*value = Traits::StorageToWorking(temp);
return status;
}
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
+EmberAfStatus Set(chip::EndpointId endpoint, chip::VendorId value)
{
- using Traits = NumericAttributeTraits;
+ using Traits = NumericAttributeTraits;
if (!Traits::CanRepresentValue(/* isNullable = */ false, value))
{
return EMBER_ZCL_STATUS_CONSTRAINT_ERROR;
@@ -22812,7 +22812,7 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value)
Traits::StorageType storageValue;
Traits::WorkingToStorage(value, storageValue);
uint8_t * writable = Traits::ToAttributeStoreRepresentation(storageValue);
- return emberAfWriteServerAttribute(endpoint, Clusters::ApplicationBasic::Id, Id, writable, ZCL_INT16U_ATTRIBUTE_TYPE);
+ return emberAfWriteServerAttribute(endpoint, Clusters::ApplicationBasic::Id, Id, writable, ZCL_VENDOR_ID_ATTRIBUTE_TYPE);
}
} // namespace VendorID
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 4f45aeed5e5810..3223dd34192ddf 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
@@ -1745,8 +1745,8 @@ EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value);
} // namespace CommissionedFabrics
namespace CurrentFabricIndex {
-EmberAfStatus Get(chip::EndpointId endpoint, chip::FabricIndex * value); // fabric_idx
-EmberAfStatus Set(chip::EndpointId endpoint, chip::FabricIndex value);
+EmberAfStatus Get(chip::EndpointId endpoint, uint8_t * value); // int8u
+EmberAfStatus Set(chip::EndpointId endpoint, uint8_t value);
} // namespace CurrentFabricIndex
namespace FeatureMap {
@@ -2706,7 +2706,7 @@ EmberAfStatus Set(chip::EndpointId endpoint, const chip::app::DataModel::Nullabl
} // namespace SetpointChangeAmount
namespace SetpointChangeSourceTimestamp {
-EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value); // epoch_s
+EmberAfStatus Get(chip::EndpointId endpoint, uint32_t * value); // utc
EmberAfStatus Set(chip::EndpointId endpoint, uint32_t value);
} // namespace SetpointChangeSourceTimestamp
@@ -3866,8 +3866,8 @@ EmberAfStatus Set(chip::EndpointId endpoint, chip::CharSpan value);
} // namespace VendorName
namespace VendorID {
-EmberAfStatus Get(chip::EndpointId endpoint, uint16_t * value); // int16u
-EmberAfStatus Set(chip::EndpointId endpoint, uint16_t value);
+EmberAfStatus Get(chip::EndpointId endpoint, chip::VendorId * value); // vendor_id
+EmberAfStatus Set(chip::EndpointId endpoint, chip::VendorId value);
} // namespace VendorID
namespace ApplicationName {
diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
index 397bb8960d9de4..69612378441571 100644
--- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
+++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.h
@@ -11481,9 +11481,9 @@ struct TypeInfo
namespace CurrentFabricIndex {
struct TypeInfo
{
- using Type = chip::FabricIndex;
- using DecodableType = chip::FabricIndex;
- using DecodableArgType = chip::FabricIndex;
+ using Type = uint8_t;
+ using DecodableType = uint8_t;
+ using DecodableArgType = uint8_t;
static constexpr ClusterId GetClusterId() { return Clusters::OperationalCredentials::Id; }
static constexpr AttributeId GetAttributeId() { return Attributes::CurrentFabricIndex::Id; }
@@ -11534,7 +11534,7 @@ struct TypeInfo
Attributes::SupportedFabrics::TypeInfo::DecodableType supportedFabrics = static_cast(0);
Attributes::CommissionedFabrics::TypeInfo::DecodableType commissionedFabrics = static_cast(0);
Attributes::TrustedRootCertificates::TypeInfo::DecodableType trustedRootCertificates;
- Attributes::CurrentFabricIndex::TypeInfo::DecodableType currentFabricIndex = static_cast(0);
+ Attributes::CurrentFabricIndex::TypeInfo::DecodableType currentFabricIndex = static_cast(0);
Attributes::GeneratedCommandList::TypeInfo::DecodableType generatedCommandList;
Attributes::AcceptedCommandList::TypeInfo::DecodableType acceptedCommandList;
Attributes::AttributeList::TypeInfo::DecodableType attributeList;
@@ -22645,9 +22645,9 @@ struct TypeInfo
namespace VendorID {
struct TypeInfo
{
- using Type = uint16_t;
- using DecodableType = uint16_t;
- using DecodableArgType = uint16_t;
+ using Type = chip::VendorId;
+ using DecodableType = chip::VendorId;
+ using DecodableArgType = chip::VendorId;
static constexpr ClusterId GetClusterId() { return Clusters::ApplicationBasic::Id; }
static constexpr AttributeId GetAttributeId() { return Attributes::VendorID::Id; }
@@ -22768,7 +22768,7 @@ struct TypeInfo
CHIP_ERROR Decode(TLV::TLVReader & reader, const ConcreteAttributePath & path);
Attributes::VendorName::TypeInfo::DecodableType vendorName;
- Attributes::VendorID::TypeInfo::DecodableType vendorID = static_cast(0);
+ Attributes::VendorID::TypeInfo::DecodableType vendorID = static_cast(0);
Attributes::ApplicationName::TypeInfo::DecodableType applicationName;
Attributes::ProductID::TypeInfo::DecodableType productID = static_cast(0);
Attributes::Application::TypeInfo::DecodableType application;
diff --git a/zzz_generated/bridge-app/zap-generated/endpoint_config.h b/zzz_generated/bridge-app/zap-generated/endpoint_config.h
index b94e0d3dc0f3ab..e0ac99ebe511d2 100644
--- a/zzz_generated/bridge-app/zap-generated/endpoint_config.h
+++ b/zzz_generated/bridge-app/zap-generated/endpoint_config.h
@@ -414,7 +414,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(1) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h b/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
index 6f1df065451ab7..d2cdcf6f8f4f20 100644
--- a/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-noip_rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
@@ -382,7 +382,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/endpoint_config.h
index 720d1f510d6ac8..bcc942c9abadf3 100644
--- a/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_contactsensor_lFAGG1bfRO/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
index 021eb8abc20846..7badcd7019d4dd 100644
--- a/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_dimmablelight_bCwGYSDpoe/zap-generated/endpoint_config.h
@@ -394,7 +394,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/endpoint_config.h
index 4e01a3f3e186d1..91350e91ff9f31 100644
--- a/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_flowsensor_1zVxHedlaV/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/endpoint_config.h
index 7915e261cd5d6d..7e8552964f48e3 100644
--- a/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_heatingcoolingunit_ncdGai1E5a/zap-generated/endpoint_config.h
@@ -397,7 +397,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/endpoint_config.h
index 01a76aa0e643da..b3758058fd10cf 100644
--- a/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_humiditysensor_Xyj4gda6Hb/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/endpoint_config.h
index 34697a561e01d5..237b41ab14f7f9 100644
--- a/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_lightsensor_lZQycTFcJK/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/endpoint_config.h
index 9c0cede84b8154..777e3e925bb60f 100644
--- a/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_occupancysensor_iHyVgifZuo/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/endpoint_config.h
index 17e77f9a6c34ad..80ac5467089dad 100644
--- a/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_onofflight_bbs1b7IaOV/zap-generated/endpoint_config.h
@@ -394,7 +394,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/endpoint_config.h
index 777c9b1217935a..b6c18a45f323e5 100644
--- a/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_onofflightswitch_FsPlMr090Q/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/endpoint_config.h
index 4e06d72cd55ee4..bbe523e4b88f85 100644
--- a/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_onoffpluginunit_Wtf8ss5EBY/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/endpoint_config.h
index b8b1bf0427bff6..dc52e758ac44de 100644
--- a/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_pressuresensor_s0qC9wLH4k/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/endpoint_config.h
index 3b140fa88a0aa9..4d8abdc6628cae 100644
--- a/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_speaker_RpzeXdimqA/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/endpoint_config.h
index 22a567ed0e9fd2..9b53c9f83db383 100644
--- a/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_temperaturesensor_Qy1zkNW7c3/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/endpoint_config.h
index 9d7c4c63106df6..bebb2854973bb1 100644
--- a/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_thermostat_bm3fb8dhYi/zap-generated/endpoint_config.h
@@ -411,7 +411,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/endpoint_config.h b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/endpoint_config.h
index 4bc1ccb9e3ef03..a0233a76958356 100644
--- a/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/endpoint_config.h
+++ b/zzz_generated/chef-rootnode_windowcovering_RLCxaGi9Yx/zap-generated/endpoint_config.h
@@ -391,7 +391,7 @@
ZAP_EMPTY_DEFAULT() }, /* CommissionedFabrics */ \
{ 0x00000004, ZAP_TYPE(ARRAY), 0, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* TrustedRootCertificates */ \
- { 0x00000005, ZAP_TYPE(FABRIC_IDX), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
+ { 0x00000005, ZAP_TYPE(INT8U), 1, ZAP_ATTRIBUTE_MASK(EXTERNAL_STORAGE), \
ZAP_EMPTY_DEFAULT() }, /* CurrentFabricIndex */ \
{ 0x0000FFFC, ZAP_TYPE(BITMAP32), 4, 0, ZAP_SIMPLE_DEFAULT(0) }, /* FeatureMap */ \
{ 0x0000FFFD, ZAP_TYPE(INT16U), 2, 0, ZAP_SIMPLE_DEFAULT(0x0001) }, /* ClusterRevision */ \
diff --git a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
index 295dde68968614..56946e74d7efe5 100644
--- a/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
+++ b/zzz_generated/chip-tool/zap-generated/cluster/logging/DataModelLogger.cpp
@@ -6281,7 +6281,7 @@ CHIP_ERROR DataModelLogger::LogAttribute(const chip::app::ConcreteDataAttributeP
return DataModelLogger::LogValue("TrustedRootCertificates", 1, value);
}
case OperationalCredentials::Attributes::CurrentFabricIndex::Id: {
- chip::FabricIndex value;
+ uint8_t value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("CurrentFabricIndex", 1, value);
}
@@ -8714,7 +8714,7 @@ CHIP_ERROR DataModelLogger::LogAttribute(const chip::app::ConcreteDataAttributeP
return DataModelLogger::LogValue("VendorName", 1, value);
}
case ApplicationBasic::Attributes::VendorID::Id: {
- uint16_t value;
+ chip::VendorId value;
ReturnErrorOnFailure(chip::app::DataModel::Decode(*data, value));
return DataModelLogger::LogValue("VendorID", 1, value);
}
diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h
index 989d74bcfc4784..cea9639a4183b2 100644
--- a/zzz_generated/chip-tool/zap-generated/test/Commands.h
+++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h
@@ -1920,7 +1920,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -1929,7 +1929,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -1937,7 +1937,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
@@ -1955,7 +1955,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -1967,7 +1967,7 @@ class Test_TC_BOOL_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -2082,7 +2082,7 @@ class Test_TC_BOOL_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
default:
@@ -2164,7 +2164,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -2173,7 +2173,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -2181,7 +2181,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
@@ -2191,7 +2191,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -2202,7 +2202,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 11));
}
break;
@@ -2215,7 +2215,7 @@ class Test_TC_ACT_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 7:
@@ -2337,7 +2337,7 @@ class Test_TC_CC_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 5U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -2345,7 +2345,7 @@ class Test_TC_CC_1_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 31UL));
}
@@ -2355,7 +2355,7 @@ class Test_TC_CC_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 8UL));
VerifyOrReturn(CheckConstraintContains("value", value, 15UL));
VerifyOrReturn(CheckConstraintContains("value", value, 16385UL));
@@ -2372,7 +2372,7 @@ class Test_TC_CC_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -2384,7 +2384,7 @@ class Test_TC_CC_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -2503,7 +2503,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2513,7 +2513,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2523,7 +2523,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -2533,7 +2533,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2543,7 +2543,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2553,7 +2553,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4U));
}
@@ -2563,7 +2563,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 254));
}
break;
@@ -2572,7 +2572,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2582,7 +2582,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 2U));
}
@@ -2592,7 +2592,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bitmap8"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap8", "bitmap8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4U));
}
@@ -2602,7 +2602,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -2612,7 +2612,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3U));
}
@@ -2622,7 +2622,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2632,7 +2632,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2642,7 +2642,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -2652,7 +2652,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -2662,7 +2662,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -2681,7 +2681,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorCapabilities", value, FeatureMapValue));
- VerifyOrReturn(CheckConstraintType("value", "", "map16"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap16", "bitmap16"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 31U));
}
@@ -2691,7 +2691,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2701,7 +2701,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2711,7 +2711,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2721,7 +2721,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2731,7 +2731,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 6U));
}
@@ -2813,7 +2813,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2823,7 +2823,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2833,7 +2833,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2843,7 +2843,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2853,7 +2853,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2863,7 +2863,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2873,7 +2873,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2883,7 +2883,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -2893,7 +2893,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2903,7 +2903,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -2913,7 +2913,7 @@ class Test_TC_CC_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -3434,7 +3434,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3451,7 +3451,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3465,7 +3465,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3479,7 +3479,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3496,7 +3496,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentHueValue = value;
@@ -3526,7 +3526,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3540,7 +3540,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3554,7 +3554,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3571,7 +3571,7 @@ class Test_TC_CC_3_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentHueValueAfterStopmode = value;
@@ -3913,7 +3913,7 @@ class Test_TC_CC_3_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3930,7 +3930,7 @@ class Test_TC_CC_3_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 5U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -3947,7 +3947,7 @@ class Test_TC_CC_3_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 249U));
}
@@ -4146,7 +4146,7 @@ class Test_TC_CC_4_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4165,7 +4165,7 @@ class Test_TC_CC_4_1Suite : public TestCommand
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentSaturation", value,
mSaturationConfigValue.HasValue() ? mSaturationConfigValue.Value() : 90U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4339,7 +4339,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4356,7 +4356,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4370,7 +4370,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4384,7 +4384,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4401,7 +4401,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4415,7 +4415,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4429,7 +4429,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4446,7 +4446,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4463,7 +4463,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentSaturationStep4d = value;
@@ -4493,7 +4493,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentSaturationStep5b = value;
@@ -4508,7 +4508,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, CurrentSaturationStep5b));
}
@@ -4525,7 +4525,7 @@ class Test_TC_CC_4_2Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentSaturationStep5d = value;
@@ -4934,7 +4934,7 @@ class Test_TC_CC_4_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4951,7 +4951,7 @@ class Test_TC_CC_4_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -4968,7 +4968,7 @@ class Test_TC_CC_4_3Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -5169,7 +5169,7 @@ class Test_TC_CC_4_4Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -5179,7 +5179,7 @@ class Test_TC_CC_4_4Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -5197,7 +5197,7 @@ class Test_TC_CC_4_4Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentHue", value, mHueConfigValue.HasValue() ? mHueConfigValue.Value() : 40U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -5209,7 +5209,7 @@ class Test_TC_CC_4_4Suite : public TestCommand
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentSaturation", value,
mSaturationConfigValue.HasValue() ? mSaturationConfigValue.Value() : 160U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -5394,7 +5394,7 @@ class Test_TC_CC_5_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5404,7 +5404,7 @@ class Test_TC_CC_5_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5422,7 +5422,7 @@ class Test_TC_CC_5_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentX", value, mColorXConfigValue.HasValue() ? mColorXConfigValue.Value() : 400U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5433,7 +5433,7 @@ class Test_TC_CC_5_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentY", value, mColorYConfigValue.HasValue() ? mColorYConfigValue.Value() : 500U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5623,7 +5623,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentXValue = value;
@@ -5634,7 +5634,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentYValue = value;
@@ -5652,7 +5652,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentXValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentXBeforeStopCommand = value;
@@ -5663,7 +5663,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentYValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentYBeforeStopCommand = value;
@@ -5677,7 +5677,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentXBeforeStopCommand));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5687,7 +5687,7 @@ class Test_TC_CC_5_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentYBeforeStopCommand));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5898,7 +5898,7 @@ class Test_TC_CC_5_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentXValue = value;
@@ -5909,7 +5909,7 @@ class Test_TC_CC_5_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentYValue = value;
@@ -5927,7 +5927,7 @@ class Test_TC_CC_5_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentXValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -5937,7 +5937,7 @@ class Test_TC_CC_5_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, CurrentYValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -6121,7 +6121,7 @@ class Test_TC_CC_6_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMinMiredsValue = value;
@@ -6132,7 +6132,7 @@ class Test_TC_CC_6_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMaxMiredsValue = value;
@@ -6143,7 +6143,7 @@ class Test_TC_CC_6_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6161,7 +6161,7 @@ class Test_TC_CC_6_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTempPhysicalMaxMiredsValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6346,7 +6346,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMinMiredsValue = value;
@@ -6357,7 +6357,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMaxMiredsValue = value;
@@ -6368,7 +6368,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6385,7 +6385,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6399,7 +6399,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6413,7 +6413,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6430,7 +6430,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6444,7 +6444,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6458,7 +6458,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6478,7 +6478,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
ColorTemperatureValue = value;
@@ -6494,7 +6494,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTemperatureValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6509,7 +6509,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTemperatureValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6529,7 +6529,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
ColorTemperatureMoveModeStop = value;
@@ -6545,7 +6545,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTemperatureMoveModeStop));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6560,7 +6560,7 @@ class Test_TC_CC_6_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTemperatureValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -6968,7 +6968,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMinMiredsValue = value;
@@ -6979,7 +6979,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTempPhysicalMaxMiredsValue = value;
@@ -6990,7 +6990,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, ColorTempPhysicalMinMiredsValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, ColorTempPhysicalMaxMiredsValue));
}
@@ -7007,7 +7007,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7021,7 +7021,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7035,7 +7035,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7052,7 +7052,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7066,7 +7066,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7080,7 +7080,7 @@ class Test_TC_CC_6_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -7350,7 +7350,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7367,7 +7367,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7381,7 +7381,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7395,7 +7395,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7408,7 +7408,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
EnhancedCurrentHueStep3b = value;
@@ -7424,7 +7424,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("enhancedCurrentHue", value, EnhancedCurrentHueStep3b));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7441,7 +7441,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7455,7 +7455,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7469,7 +7469,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7482,7 +7482,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
EnhancedCurrentHueStep5b = value;
@@ -7498,7 +7498,7 @@ class Test_TC_CC_7_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("enhancedCurrentHue", value, EnhancedCurrentHueStep5b));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7813,7 +7813,7 @@ class Test_TC_CC_7_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7830,7 +7830,7 @@ class Test_TC_CC_7_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -7847,7 +7847,7 @@ class Test_TC_CC_7_3Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -8048,7 +8048,7 @@ class Test_TC_CC_7_4Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -8067,7 +8067,7 @@ class Test_TC_CC_7_4Suite : public TestCommand
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("enhancedCurrentHue", value,
mEnhancedHueConfigValue.HasValue() ? mEnhancedHueConfigValue.Value() : 1200U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -8256,7 +8256,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -8269,7 +8269,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentHueValue = value;
@@ -8285,7 +8285,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentHue", value, CurrentHueValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -8298,7 +8298,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -8311,7 +8311,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentSaturationValue = value;
@@ -8327,7 +8327,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentSaturation", value, CurrentSaturationValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -8344,7 +8344,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8354,7 +8354,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8367,7 +8367,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentXValue = value;
@@ -8378,7 +8378,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
CurrentYValue = value;
@@ -8394,7 +8394,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentX", value, CurrentXValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8405,7 +8405,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentY", value, CurrentYValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8422,7 +8422,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8435,7 +8435,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
ColorTemperatureMiredsValue = value;
@@ -8451,7 +8451,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("colorTemperature", value, ColorTemperatureMiredsValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65279U));
}
@@ -8464,7 +8464,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -8477,7 +8477,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
EnhancedCurrentHueValue = value;
@@ -8493,7 +8493,7 @@ class Test_TC_CC_8_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("enhancedCurrentHue", value, EnhancedCurrentHueValue));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -8995,7 +8995,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65534U));
DataModelRevisionValue = value;
@@ -9017,7 +9017,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (VendorNameValueBuffer != nullptr)
{
@@ -9044,7 +9044,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::VendorId value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "vendor_id", "vendor_id"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65521U));
VendorIDValue = value;
@@ -9066,7 +9066,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (ProductNameValueBuffer != nullptr)
{
@@ -9093,7 +9093,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65534U));
ProductIDValue = value;
@@ -9115,7 +9115,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (NodeLabelValueBuffer != nullptr)
{
@@ -9142,7 +9142,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 16));
}
break;
@@ -9166,7 +9166,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65534U));
HardwareVersionValue = value;
@@ -9188,7 +9188,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMinLength("value", value, 1));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 64));
if (HardwareVersionStringValueBuffer != nullptr)
@@ -9268,7 +9268,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMinLength("value", value, 8));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 16));
if (ManufacturingDateValueBuffer != nullptr)
@@ -9300,7 +9300,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (PartNumberValueBuffer != nullptr)
{
@@ -9327,7 +9327,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "long_char_string", "long_char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 256));
if (ProductURLValueBuffer != nullptr)
{
@@ -9358,7 +9358,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 64));
if (ProductLabelValueBuffer != nullptr)
{
@@ -9389,7 +9389,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (SerialNumberValueBuffer != nullptr)
{
@@ -9417,7 +9417,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("localConfigDisabled", value, false));
- VerifyOrReturn(CheckConstraintType("value", "", "boolean"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 56:
@@ -9437,7 +9437,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("reachable", value, true));
- VerifyOrReturn(CheckConstraintType("value", "", "boolean"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 59:
@@ -9448,7 +9448,7 @@ class Test_TC_BINFO_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
if (UniqueIDValueBuffer != nullptr)
{
@@ -10058,7 +10058,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -10067,7 +10067,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -10075,7 +10075,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -10096,7 +10096,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -10108,7 +10108,7 @@ class Test_TC_DESC_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -10223,7 +10223,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10233,7 +10233,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 3:
@@ -10241,7 +10241,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 4:
@@ -10253,7 +10253,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 6:
@@ -10265,7 +10265,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 8:
@@ -10277,7 +10277,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 10:
@@ -10289,7 +10289,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 12:
@@ -10301,7 +10301,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 14:
@@ -10313,7 +10313,7 @@ class Test_TC_DGETH_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 16:
@@ -10530,7 +10530,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10540,7 +10540,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10550,7 +10550,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10560,7 +10560,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10570,7 +10570,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10580,7 +10580,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10590,7 +10590,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10600,7 +10600,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10610,7 +10610,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10620,7 +10620,7 @@ class Test_TC_DGETH_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 9U));
}
@@ -10911,7 +10911,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 3U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -10920,7 +10920,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -10928,7 +10928,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -10944,7 +10944,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -10957,7 +10957,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -10969,7 +10969,7 @@ class Test_TC_FLW_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 7:
@@ -11090,7 +11090,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -11100,7 +11100,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -11110,7 +11110,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -11120,7 +11120,7 @@ class Test_TC_FLW_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 2048U));
}
@@ -11222,7 +11222,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -11231,7 +11231,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -11239,7 +11239,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -11257,7 +11257,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
@@ -11268,7 +11268,7 @@ class Test_TC_CGEN_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
@@ -11386,7 +11386,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 2:
@@ -11430,7 +11430,7 @@ class Test_TC_CGEN_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
default:
@@ -11553,7 +11553,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -11562,7 +11562,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -11570,7 +11570,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 8UL));
@@ -11585,7 +11585,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -11598,7 +11598,7 @@ class Test_TC_DGGEN_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
default:
@@ -11700,7 +11700,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand
chip::app::Clusters::GeneralDiagnostics::Structs::NetworkInterfaceType::DecodableType>
value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 2:
@@ -11708,7 +11708,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -11738,7 +11738,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand
{
uint64_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint64"));
+ VerifyOrReturn(CheckConstraintType("value", "int64u", "int64u"));
}
break;
case 9:
@@ -11746,7 +11746,7 @@ class Test_TC_DGGEN_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967294UL));
}
@@ -11986,7 +11986,7 @@ class Test_TC_I_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 4U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -11995,7 +11995,7 @@ class Test_TC_I_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -12004,7 +12004,7 @@ class Test_TC_I_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 1UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 4:
@@ -12012,7 +12012,7 @@ class Test_TC_I_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
@@ -12027,7 +12027,7 @@ class Test_TC_I_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -12036,7 +12036,7 @@ class Test_TC_I_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 64UL));
}
break;
@@ -12045,7 +12045,7 @@ class Test_TC_I_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -12058,7 +12058,7 @@ class Test_TC_I_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 9:
@@ -12072,7 +12072,7 @@ class Test_TC_I_1_1Suite : public TestCommand
VerifyOrReturn(CheckValue("generatedCommandList[0]", iter_0.GetValue(), 0UL));
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 1));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 10:
@@ -12212,7 +12212,7 @@ class Test_TC_I_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -12222,7 +12222,7 @@ class Test_TC_I_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 5U));
}
@@ -12907,7 +12907,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 3U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -12916,7 +12916,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -12924,7 +12924,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -12940,7 +12940,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -12949,7 +12949,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
}
break;
@@ -12962,7 +12962,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 7:
@@ -12974,7 +12974,7 @@ class Test_TC_ILL_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 8:
@@ -13101,7 +13101,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65534U));
}
@@ -13111,7 +13111,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65533U));
}
@@ -13121,7 +13121,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 2U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65534U));
}
@@ -13131,7 +13131,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 2048U));
}
@@ -13141,7 +13141,7 @@ class Test_TC_ILL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -13249,7 +13249,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 5U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -13257,7 +13257,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 7UL));
}
@@ -13267,7 +13267,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 15UL));
VerifyOrReturn(CheckConstraintContains("value", value, 17UL));
@@ -13278,7 +13278,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 16384UL));
}
@@ -13288,7 +13288,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
VerifyOrReturn(CheckConstraintContains("value", value, 6UL));
@@ -13299,7 +13299,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
}
break;
@@ -13308,7 +13308,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -13317,7 +13317,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 16UL));
}
break;
@@ -13326,7 +13326,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 18UL));
}
break;
@@ -13335,7 +13335,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 19UL));
}
break;
@@ -13344,7 +13344,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 20UL));
}
break;
@@ -13353,7 +13353,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -13369,7 +13369,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 8UL));
}
break;
@@ -13382,7 +13382,7 @@ class Test_TC_LVL_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 15:
@@ -13560,7 +13560,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
CurrentLevelValue = value;
@@ -13571,7 +13571,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -13582,7 +13582,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("minLevel", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
MinLevelValue = value;
}
break;
@@ -13591,7 +13591,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
MinLevelFeatureMapNotSupportedValue = value;
@@ -13603,7 +13603,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("maxLevel", value, 254U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelValue));
MaxLevelValue = value;
}
@@ -13613,7 +13613,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelFeatureMapNotSupportedValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
MaxLevelFeatureMapNotSupportedValue = value;
@@ -13624,7 +13624,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue));
}
@@ -13634,7 +13634,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelFeatureMapNotSupportedValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelFeatureMapNotSupportedValue));
}
@@ -13644,7 +13644,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -13654,7 +13654,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
MinFrequencyValue = value;
@@ -13665,7 +13665,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
MaxFrequencyValue = value;
@@ -13676,7 +13676,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinFrequencyValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxFrequencyValue));
}
@@ -13686,7 +13686,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -13696,7 +13696,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelValue));
}
@@ -13706,7 +13706,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, MinLevelFeatureMapNotSupportedValue));
VerifyOrReturn(CheckConstraintMaxValue("value", value, MaxLevelFeatureMapNotSupportedValue));
}
@@ -13716,7 +13716,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -13726,7 +13726,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -13736,7 +13736,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -13747,7 +13747,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("options", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "map8"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap8", "bitmap8"));
}
break;
case 20:
@@ -13755,7 +13755,7 @@ class Test_TC_LVL_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -13971,7 +13971,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
OnOffTransitionTimeValue = value;
@@ -13988,7 +13988,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(
CheckValue("onOffTransitionTime", value,
mOnOffTransitionTimeConfigValue.HasValue() ? mOnOffTransitionTimeConfigValue.Value() : 10U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, OnOffTransitionTimeValue));
}
break;
@@ -13997,7 +13997,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
OnLevelValue = value;
@@ -14014,7 +14014,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(CheckValueNonNull("onLevel", value));
VerifyOrReturn(CheckValue("onLevel.Value()", value.Value(),
mOnLevelConfigValue.HasValue() ? mOnLevelConfigValue.Value() : 5U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, OnLevelValue));
}
break;
@@ -14023,7 +14023,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
OnTransitionTimeValue = value;
@@ -14040,7 +14040,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(CheckValueNonNull("onTransitionTime", value));
VerifyOrReturn(CheckValue("onTransitionTime.Value()", value.Value(),
mOnTransitionTimeConfigValue.HasValue() ? mOnTransitionTimeConfigValue.Value() : 5U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, OnTransitionTimeValue));
}
break;
@@ -14049,7 +14049,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
OffTransitionTimeValue = value;
@@ -14066,7 +14066,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(CheckValueNonNull("offTransitionTime", value));
VerifyOrReturn(CheckValue("offTransitionTime.Value()", value.Value(),
mOffTransitionTimeConfigValue.HasValue() ? mOffTransitionTimeConfigValue.Value() : 10U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, OffTransitionTimeValue));
}
break;
@@ -14075,7 +14075,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
DefaultMoveRatevalue = value;
@@ -14092,7 +14092,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(CheckValueNonNull("defaultMoveRate", value));
VerifyOrReturn(CheckValue("defaultMoveRate.Value()", value.Value(),
mDefaultMoveRateConfigValue.HasValue() ? mDefaultMoveRateConfigValue.Value() : 111U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, DefaultMoveRatevalue));
}
break;
@@ -14101,7 +14101,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
StartUpCurrentLevelValue = value;
@@ -14119,7 +14119,7 @@ class Test_TC_LVL_2_2Suite : public TestCommand
VerifyOrReturn(
CheckValue("startUpCurrentLevel.Value()", value.Value(),
mStartUpCurrentLevelConfigValue.HasValue() ? mStartUpCurrentLevelConfigValue.Value() : 5U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintNotValue("value", value, StartUpCurrentLevelValue));
}
break;
@@ -14352,7 +14352,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -14362,7 +14362,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -14417,7 +14417,7 @@ class Test_TC_LVL_3_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -14702,7 +14702,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
MinlevelValue = value;
@@ -14716,7 +14716,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
MaxlevelValue = value;
@@ -14767,7 +14767,7 @@ class Test_TC_LVL_4_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
DefaultMoveRateValue = value;
@@ -15065,7 +15065,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
MinlevelValue = value;
@@ -15083,7 +15083,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentLevel", value, static_cast(MinlevelValue + 1)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
CurrentlevelValue = value;
@@ -15095,7 +15095,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentLevel", value, 2U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -15116,7 +15116,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentLevel", value, 66U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
}
break;
case 13:
@@ -15125,7 +15125,7 @@ class Test_TC_LVL_5_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("currentLevel", value, 66U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
}
break;
case 14:
@@ -15469,7 +15469,7 @@ class Test_TC_LVL_6_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
MinlevelValue = value;
@@ -15784,7 +15784,7 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -15793,7 +15793,7 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -15815,7 +15815,7 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand
VerifyOrReturn(CheckValue("attributeList[4]", iter_0.GetValue(), 65533UL));
VerifyOrReturn(CheckNoMoreListItems("attributeList", iter_0, 5));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 4:
@@ -15829,7 +15829,7 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand
VerifyOrReturn(CheckValue("acceptedCommandList[0]", iter_0.GetValue(), 0UL));
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 1));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -15841,7 +15841,7 @@ class Test_TC_LOWPOWER_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -15958,7 +15958,7 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -15966,7 +15966,7 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 7UL));
}
@@ -15976,7 +15976,7 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -15989,7 +15989,7 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -15998,7 +15998,7 @@ class Test_TC_KEYPADINPUT_1_2Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16118,7 +16118,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -16127,7 +16127,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 1UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -16136,7 +16136,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 4:
@@ -16144,7 +16144,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -16157,7 +16157,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -16166,7 +16166,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16175,7 +16175,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -16186,7 +16186,7 @@ class Test_TC_APPLAUNCHER_1_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -16323,7 +16323,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -16331,7 +16331,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 1UL));
}
@@ -16341,7 +16341,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -16354,7 +16354,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -16363,7 +16363,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16372,7 +16372,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -16388,7 +16388,7 @@ class Test_TC_MEDIAINPUT_1_4Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 8:
@@ -16517,7 +16517,7 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -16526,7 +16526,7 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -16534,7 +16534,7 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -16551,7 +16551,7 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -16563,7 +16563,7 @@ class Test_TC_WAKEONLAN_1_5Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -16680,7 +16680,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -16688,7 +16688,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3UL));
}
@@ -16698,7 +16698,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -16711,7 +16711,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -16720,7 +16720,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16729,7 +16729,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
}
break;
@@ -16738,7 +16738,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -16747,7 +16747,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
}
break;
@@ -16756,7 +16756,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -16769,7 +16769,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 11:
@@ -16777,7 +16777,7 @@ class Test_TC_CHANNEL_1_6Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16934,7 +16934,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -16942,7 +16942,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3UL));
}
@@ -16952,7 +16952,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
@@ -16966,7 +16966,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -16975,7 +16975,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
}
break;
@@ -16984,7 +16984,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -16993,7 +16993,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
}
break;
@@ -17002,7 +17002,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
}
break;
@@ -17011,7 +17011,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 6UL));
}
break;
@@ -17020,7 +17020,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -17031,7 +17031,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -17040,7 +17040,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
}
break;
@@ -17049,7 +17049,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
}
break;
@@ -17058,7 +17058,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 6UL));
}
break;
@@ -17067,7 +17067,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 7UL));
}
break;
@@ -17076,7 +17076,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 8UL));
}
break;
@@ -17085,7 +17085,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 9UL));
}
break;
@@ -17094,7 +17094,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 11UL));
}
break;
@@ -17103,7 +17103,7 @@ class Test_TC_MEDIAPLAYBACK_1_7Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 10UL));
}
break;
@@ -17306,7 +17306,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -17314,7 +17314,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3UL));
}
@@ -17324,7 +17324,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
@@ -17339,7 +17339,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -17354,7 +17354,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
VerifyOrReturn(CheckValue("generatedCommandList[0]", iter_0.GetValue(), 1UL));
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 1));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -17366,7 +17366,7 @@ class Test_TC_AUDIOOUTPUT_1_8Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 7:
@@ -17489,7 +17489,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -17498,7 +17498,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -17506,7 +17506,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
@@ -17520,7 +17520,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -17529,7 +17529,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -17538,7 +17538,7 @@ class Test_TC_TGTNAV_1_9Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -17661,7 +17661,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -17670,7 +17670,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -17678,7 +17678,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
@@ -17696,7 +17696,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -17705,7 +17705,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -17714,7 +17714,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -17727,7 +17727,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 8:
@@ -17739,7 +17739,7 @@ class Test_TC_APBSC_1_10Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 9:
@@ -17874,7 +17874,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -17882,7 +17882,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3UL));
}
@@ -17892,7 +17892,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -17905,7 +17905,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -17914,7 +17914,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -17923,7 +17923,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -17932,7 +17932,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -17941,7 +17941,7 @@ class Test_TC_CONTENTLAUNCHER_1_11Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
}
break;
@@ -18079,7 +18079,7 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -18088,7 +18088,7 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -18096,7 +18096,7 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65531UL));
@@ -18109,7 +18109,7 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
@@ -18120,7 +18120,7 @@ class Test_TC_ALOGIN_1_12Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
}
break;
@@ -19676,7 +19676,7 @@ class Test_TC_CHANNEL_5_2Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 2:
@@ -19813,7 +19813,7 @@ class Test_TC_CHANNEL_5_3Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 3:
@@ -19837,7 +19837,7 @@ class Test_TC_CHANNEL_5_3Suite : public TestCommand
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValueNonNull("currentChannel", value));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "ChannelInfo", "ChannelInfo"));
}
break;
default:
@@ -21102,7 +21102,7 @@ class Test_TC_AUDIOOUTPUT_7_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "OutPutInfo"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 2:
@@ -21214,7 +21214,7 @@ class Test_TC_AUDIOOUTPUT_7_2Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "OutPutInfo"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
audioOutputListValues = value;
}
break;
@@ -21333,7 +21333,7 @@ class Test_TC_TGTNAV_8_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -21343,7 +21343,7 @@ class Test_TC_TGTNAV_8_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
TargetListValues = value;
}
break;
@@ -21442,7 +21442,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
chip::Optional mEndpoint;
chip::Optional mTimeout;
- uint16_t vendorID;
+ chip::VendorId vendorID;
chip::EndpointId GetEndpoint(chip::EndpointId endpoint) { return mEndpoint.HasValue() ? mEndpoint.Value() : endpoint; }
@@ -21465,16 +21465,16 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
}
break;
case 2:
VerifyOrReturn(CheckValue("status", chip::to_underlying(status.mStatus), 0));
{
- uint16_t value;
+ chip::VendorId value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "vendor-id"));
+ VerifyOrReturn(CheckConstraintType("value", "vendor_id", "vendor_id"));
vendorID = value;
}
break;
@@ -21483,7 +21483,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 256));
}
break;
@@ -21492,7 +21492,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -21502,7 +21502,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
chip::app::Clusters::ApplicationBasic::Structs::ApplicationBasicApplication::DecodableType value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "struct"));
+ VerifyOrReturn(CheckConstraintType("value", "ApplicationBasicApplication", "ApplicationBasicApplication"));
}
break;
case 6:
@@ -21519,7 +21519,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 32));
}
break;
@@ -21528,7 +21528,7 @@ class Test_TC_APBSC_9_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
default:
@@ -21652,7 +21652,7 @@ class Test_TC_CONTENTLAUNCHER_10_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 2:
@@ -21660,7 +21660,7 @@ class Test_TC_CONTENTLAUNCHER_10_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
default:
@@ -21748,7 +21748,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -21757,7 +21757,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 1UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -21766,7 +21766,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 4:
@@ -21774,7 +21774,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -21791,7 +21791,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 4UL));
}
break;
@@ -21800,7 +21800,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
}
break;
@@ -21809,7 +21809,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
}
break;
@@ -21822,7 +21822,7 @@ class Test_TC_MOD_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 9:
@@ -22219,7 +22219,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 3U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -22228,7 +22228,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -22236,7 +22236,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -22256,7 +22256,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 5:
@@ -22268,7 +22268,7 @@ class Test_TC_OCC_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 6:
@@ -22383,7 +22383,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map8"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap8", "bitmap8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 1U));
}
@@ -22393,7 +22393,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3U));
}
@@ -22403,7 +22403,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map8"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap8", "bitmap8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 273U));
}
@@ -22414,7 +22414,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("pirOccupiedToUnoccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22425,7 +22425,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("pirUnoccupiedToOccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22436,7 +22436,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("pirUnoccupiedToOccupiedThreshold", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -22447,7 +22447,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("ultrasonicOccupiedToUnoccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22458,7 +22458,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("ultrasonicUnoccupiedToOccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22469,7 +22469,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("ultrasonicUnoccupiedToOccupiedThreshold", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -22480,7 +22480,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("physicalContactOccupiedToUnoccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22491,7 +22491,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("physicalContactUnoccupiedToOccupiedDelay", value, 0U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22502,7 +22502,7 @@ class Test_TC_OCC_2_1Suite : public TestCommand
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("physicalContactUnoccupiedToOccupiedThreshold", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 1U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 254U));
}
@@ -22656,7 +22656,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 4U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -22665,7 +22665,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 1UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -22674,7 +22674,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 4:
@@ -22682,7 +22682,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65528UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65529UL));
@@ -22696,7 +22696,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 16384UL));
VerifyOrReturn(CheckConstraintContains("value", value, 16385UL));
VerifyOrReturn(CheckConstraintContains("value", value, 16386UL));
@@ -22708,7 +22708,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -22719,7 +22719,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 64UL));
VerifyOrReturn(CheckConstraintContains("value", value, 65UL));
VerifyOrReturn(CheckConstraintContains("value", value, 66UL));
@@ -22734,7 +22734,7 @@ class Test_TC_OO_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 9:
@@ -22868,7 +22868,7 @@ class Test_TC_OO_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 2:
@@ -22876,7 +22876,7 @@ class Test_TC_OO_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 3:
@@ -22884,7 +22884,7 @@ class Test_TC_OO_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22894,7 +22894,7 @@ class Test_TC_OO_2_1Suite : public TestCommand
{
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -22904,7 +22904,7 @@ class Test_TC_OO_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
}
break;
default:
@@ -23798,7 +23798,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 1U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -23806,7 +23806,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 15UL));
}
@@ -23816,7 +23816,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -23832,7 +23832,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 5UL));
}
break;
@@ -23841,7 +23841,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 14UL));
VerifyOrReturn(CheckConstraintContains("value", value, 15UL));
VerifyOrReturn(CheckConstraintContains("value", value, 16UL));
@@ -23852,7 +23852,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 26UL));
VerifyOrReturn(CheckConstraintContains("value", value, 28UL));
}
@@ -23862,7 +23862,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 19UL));
VerifyOrReturn(CheckConstraintContains("value", value, 25UL));
}
@@ -23876,7 +23876,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 9:
@@ -23888,7 +23888,7 @@ class Test_TC_PS_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("generatedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 10:
@@ -24028,7 +24028,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::Clusters::PowerSource::PowerSourceStatus value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3U));
}
@@ -24038,7 +24038,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -24048,7 +24048,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
}
break;
case 4:
@@ -24056,7 +24056,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24066,7 +24066,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 65535U));
}
@@ -24076,7 +24076,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::Clusters::PowerSource::WiredCurrentType value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 1U));
}
@@ -24086,7 +24086,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24096,7 +24096,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24106,7 +24106,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24116,7 +24116,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 11:
@@ -24124,7 +24124,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 8));
}
break;
@@ -24133,7 +24133,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24143,7 +24143,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 200U));
}
@@ -24153,7 +24153,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24163,7 +24163,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::Clusters::PowerSource::BatChargeLevel value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 2U));
}
@@ -24173,7 +24173,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 17:
@@ -24181,7 +24181,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::Clusters::PowerSource::BatReplaceability value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3U));
}
@@ -24191,7 +24191,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 19:
@@ -24199,7 +24199,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 8));
}
break;
@@ -24208,7 +24208,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 60));
}
break;
@@ -24217,7 +24217,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 80UL));
}
@@ -24227,7 +24227,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 20));
}
break;
@@ -24236,7 +24236,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::CharSpan value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "string"));
+ VerifyOrReturn(CheckConstraintType("value", "char_string", "char_string"));
VerifyOrReturn(CheckConstraintMaxLength("value", value, 20));
}
break;
@@ -24245,7 +24245,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 32UL));
}
@@ -24255,7 +24255,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24265,7 +24265,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
uint8_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint8"));
+ VerifyOrReturn(CheckConstraintType("value", "int8u", "int8u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 255U));
}
@@ -24275,7 +24275,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::Clusters::PowerSource::BatChargeState value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "enum8"));
+ VerifyOrReturn(CheckConstraintType("value", "enum8", "enum8"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0U));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 3U));
}
@@ -24285,7 +24285,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24295,7 +24295,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
bool value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "bool"));
+ VerifyOrReturn(CheckConstraintType("value", "boolean", "boolean"));
}
break;
case 30:
@@ -24303,7 +24303,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::Nullable value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "uint32"));
+ VerifyOrReturn(CheckConstraintType("value", "int32u", "int32u"));
VerifyOrReturn(CheckConstraintMinValue("value", value, 0UL));
VerifyOrReturn(CheckConstraintMaxValue("value", value, 4294967295UL));
}
@@ -24313,7 +24313,7 @@ class Test_TC_PS_2_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
default:
@@ -24575,7 +24575,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
uint16_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("clusterRevision", value, 3U));
- VerifyOrReturn(CheckConstraintType("value", "", "uint16"));
+ VerifyOrReturn(CheckConstraintType("value", "int16u", "int16u"));
}
break;
case 2:
@@ -24584,7 +24584,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 1UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 3:
@@ -24593,7 +24593,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
uint32_t value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
VerifyOrReturn(CheckValue("featureMap", value, 0UL));
- VerifyOrReturn(CheckConstraintType("value", "", "map32"));
+ VerifyOrReturn(CheckConstraintType("value", "bitmap32", "bitmap32"));
}
break;
case 4:
@@ -24601,7 +24601,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 0UL));
VerifyOrReturn(CheckConstraintContains("value", value, 1UL));
VerifyOrReturn(CheckConstraintContains("value", value, 2UL));
@@ -24617,7 +24617,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 16UL));
}
break;
@@ -24626,7 +24626,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 17UL));
}
break;
@@ -24635,7 +24635,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 18UL));
}
break;
@@ -24644,7 +24644,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 20UL));
}
break;
@@ -24653,7 +24653,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 3UL));
}
break;
@@ -24662,7 +24662,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
{
chip::app::DataModel::DecodableList value;
VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value)));
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
VerifyOrReturn(CheckConstraintContains("value", value, 19UL));
}
break;
@@ -24675,7 +24675,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems("acceptedCommandList", iter_0, 0));
}
- VerifyOrReturn(CheckConstraintType("value", "", "list"));
+ VerifyOrReturn(CheckConstraintType("value", "list", "list"));
}
break;
case 12:
@@ -24687,7 +24687,7 @@ class Test_TC_PRS_1_1Suite : public TestCommand
auto iter_0 = value.begin();
VerifyOrReturn(CheckNoMoreListItems