diff --git a/src/app/DataModelRevision.h b/src/app/DataModelRevision.h index a476b32c93b1c8..47ecb626a13ffa 100644 --- a/src/app/DataModelRevision.h +++ b/src/app/DataModelRevision.h @@ -22,7 +22,10 @@ * * A monotonic number identifying the revision number of the Data Model against * which the Node is certified. + * + * See section 7.1.1. "Revision History" in the "Data Model Specification" + * chapter of the core Matter specification. */ #ifndef CHIP_DEVICE_DATA_MODEL_REVISION -#define CHIP_DEVICE_DATA_MODEL_REVISION 1 +#define CHIP_DEVICE_DATA_MODEL_REVISION 17 #endif diff --git a/src/app/InteractionModelRevision.h b/src/app/InteractionModelRevision.h index 8f38a342969ddd..7e92d7c2d58aba 100644 --- a/src/app/InteractionModelRevision.h +++ b/src/app/InteractionModelRevision.h @@ -24,9 +24,12 @@ * CHIP_DEVICE_INTERACTION_MODEL_REVISION * * A monothonic number identifying the interaction model revision. + * + * See section 8.1.1. "Revision History" in the "Interaction Model + * Specification" chapter of the core Matter specification. */ #ifndef CHIP_DEVICE_INTERACTION_MODEL_REVISION -#define CHIP_DEVICE_INTERACTION_MODEL_REVISION 1 +#define CHIP_DEVICE_INTERACTION_MODEL_REVISION 10 #endif constexpr uint8_t kInteractionModelRevisionTag = 0xFF; diff --git a/src/app/tests/suites/TestCASERecovery.yaml b/src/app/tests/suites/TestCASERecovery.yaml index 69ecf23a9f50fe..ef72e4dff7e512 100644 --- a/src/app/tests/suites/TestCASERecovery.yaml +++ b/src/app/tests/suites/TestCASERecovery.yaml @@ -33,7 +33,7 @@ tests: command: "readAttribute" attribute: "DataModelRevision" response: - value: 1 + value: 17 - label: "Reboot the server" cluster: "SystemCommands" @@ -72,4 +72,4 @@ tests: command: "readAttribute" attribute: "DataModelRevision" response: - value: 1 + value: 17 diff --git a/zzz_generated/chip-tool/zap-generated/test/Commands.h b/zzz_generated/chip-tool/zap-generated/test/Commands.h index c66cad9e1d95c8..0905fdf3599b2b 100644 --- a/zzz_generated/chip-tool/zap-generated/test/Commands.h +++ b/zzz_generated/chip-tool/zap-generated/test/Commands.h @@ -81101,7 +81101,7 @@ class TestCASERecoverySuite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("dataModelRevision", value, 1U)); + VerifyOrReturn(CheckValue("dataModelRevision", value, 17U)); } break; case 2: @@ -81124,7 +81124,7 @@ class TestCASERecoverySuite : public TestCommand { uint16_t value; VerifyOrReturn(CheckDecodeValue(chip::app::DataModel::Decode(*data, value))); - VerifyOrReturn(CheckValue("dataModelRevision", value, 1U)); + VerifyOrReturn(CheckValue("dataModelRevision", value, 17U)); } break; default: diff --git a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h index feeeed0da0bc56..e9f65d53c9e541 100644 --- a/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h +++ b/zzz_generated/darwin-framework-tool/zap-generated/test/Commands.h @@ -117246,7 +117246,7 @@ class TestCASERecovery : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("DataModelRevision", actualValue, 1U)); + VerifyOrReturn(CheckValue("DataModelRevision", actualValue, 17U)); } NextTest(); @@ -117315,7 +117315,7 @@ class TestCASERecovery : public TestCommandBridge { { id actualValue = value; - VerifyOrReturn(CheckValue("DataModelRevision", actualValue, 1U)); + VerifyOrReturn(CheckValue("DataModelRevision", actualValue, 17U)); } NextTest();