From afa8ef1dc85cd1f04061b45d92a2f320e34ddc0b Mon Sep 17 00:00:00 2001 From: Cecille Freeman Date: Fri, 22 Sep 2023 15:47:21 -0400 Subject: [PATCH] CC: turn on drift compensation --- examples/lighting-app/lighting-common/lighting-app.matter | 2 ++ examples/lighting-app/lighting-common/lighting-app.zap | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index 4f555829a35b64..f2eed2be0df97f 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -1908,6 +1908,7 @@ server cluster ColorControl = 768 { readonly attribute int16u remainingTime = 2; readonly attribute int16u currentX = 3; readonly attribute int16u currentY = 4; + readonly attribute enum8 driftCompensation = 5; readonly attribute int16u colorTemperatureMireds = 7; readonly attribute enum8 colorMode = 8; attribute bitmap8 options = 15; @@ -2494,6 +2495,7 @@ endpoint 1 { ram attribute remainingTime default = 0x0000; persist attribute currentX default = 0x616B; persist attribute currentY default = 0x607D; + ram attribute driftCompensation default = 2; persist attribute colorTemperatureMireds default = 0x00FA; persist attribute colorMode default = 0x01; ram attribute options default = 0x00; diff --git a/examples/lighting-app/lighting-common/lighting-app.zap b/examples/lighting-app/lighting-common/lighting-app.zap index bb3acbf79e8a5d..6bae93e5bee5a2 100644 --- a/examples/lighting-app/lighting-common/lighting-app.zap +++ b/examples/lighting-app/lighting-common/lighting-app.zap @@ -6834,11 +6834,11 @@ "mfgCode": null, "side": "server", "type": "enum8", - "included": 0, + "included": 1, "storageOption": "RAM", "singleton": 0, "bounded": 0, - "defaultValue": "", + "defaultValue": "2", "reportable": 1, "minInterval": 0, "maxInterval": 65344, @@ -7796,5 +7796,6 @@ "endpointId": 1, "networkId": 0 } - ] + ], + "log": [] } \ No newline at end of file