From 4f53c346b410a5cc438346e1a7e128327769fb25 Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Mon, 6 Nov 2023 17:01:02 -0500 Subject: [PATCH] Match `Time Format Localization Cluster` to spec (#30216) * Set access restrictions to manage * zap regen --------- Co-authored-by: Andrei Litvin --- .../all-clusters-common/all-clusters-app.matter | 4 ++-- .../all-clusters-minimal-app.matter | 2 +- examples/bridge-app/bridge-common/bridge-app.matter | 4 ++-- .../noip_rootnode_dimmablelight_bCwGYSDpoe.matter | 4 ++-- .../rootnode_airqualitysensor_e63187f6c9.matter | 4 ++-- .../rootnode_basicvideoplayer_0ff86e943b.matter | 4 ++-- .../devices/rootnode_contactsensor_lFAGG1bfRO.matter | 4 ++-- .../devices/rootnode_dimmablelight_bCwGYSDpoe.matter | 4 ++-- .../chef/devices/rootnode_dishwasher_cc105034fe.matter | 2 +- .../chef/devices/rootnode_doorlock_aNKYAreMXE.matter | 4 ++-- .../rootnode_extendedcolorlight_8lcaaYJVAa.matter | 4 ++-- examples/chef/devices/rootnode_fan_7N2TobIlOX.matter | 4 ++-- .../chef/devices/rootnode_flowsensor_1zVxHedlaV.matter | 4 ++-- .../rootnode_heatingcoolingunit_ncdGai1E5a.matter | 4 ++-- .../devices/rootnode_humiditysensor_Xyj4gda6Hb.matter | 4 ++-- .../devices/rootnode_laundrywasher_fb10d238c8.matter | 2 +- .../devices/rootnode_lightsensor_lZQycTFcJK.matter | 4 ++-- .../devices/rootnode_occupancysensor_iHyVgifZuo.matter | 4 ++-- .../chef/devices/rootnode_onofflight_bbs1b7IaOV.matter | 4 ++-- .../chef/devices/rootnode_onofflight_samplemei.matter | 4 ++-- .../rootnode_onofflightswitch_FsPlMr090Q.matter | 4 ++-- .../devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter | 4 ++-- .../devices/rootnode_pressuresensor_s0qC9wLH4k.matter | 4 ++-- examples/chef/devices/rootnode_pump_5f904818cc.matter | 2 +- examples/chef/devices/rootnode_pump_a811bb33a0.matter | 2 +- ...inet_temperaturecontrolledcabinet_ffdb696680.matter | 2 +- .../chef/devices/rootnode_speaker_RpzeXdimqA.matter | 4 ++-- .../rootnode_temperaturesensor_Qy1zkNW7c3.matter | 4 ++-- .../chef/devices/rootnode_thermostat_bm3fb8dhYi.matter | 4 ++-- .../devices/rootnode_windowcovering_RLCxaGi9Yx.matter | 4 ++-- .../contact-sensor-common/contact-sensor-app.matter | 4 ++-- .../dishwasher-common/dishwasher-app.matter | 2 +- .../light-switch-common/light-switch-app.matter | 4 ++-- .../data_model/lighting-app-ethernet.matter | 4 ++-- .../bouffalolab/data_model/lighting-app-thread.matter | 4 ++-- .../bouffalolab/data_model/lighting-app-wifi.matter | 4 ++-- .../lighting-app/lighting-common/lighting-app.matter | 4 ++-- .../silabs/data_model/lighting-thread-app.matter | 4 ++-- .../silabs/data_model/lighting-wifi-app.matter | 4 ++-- examples/lock-app/lock-common/lock-app.matter | 4 ++-- .../ota-provider-common/ota-provider-app.matter | 4 ++-- .../ota-requestor-common/ota-requestor-app.matter | 4 ++-- examples/placeholder/linux/apps/app1/config.matter | 4 ++-- examples/placeholder/linux/apps/app2/config.matter | 4 ++-- .../refrigerator-common/refrigerator-app.matter | 2 +- .../resource-monitoring-app.matter | 4 ++-- .../smoke-co-alarm-common/smoke-co-alarm-app.matter | 4 ++-- .../temperature-measurement.matter | 4 ++-- .../thermostat/nxp/zap/thermostat_matter_thread.matter | 4 ++-- .../thermostat/nxp/zap/thermostat_matter_wifi.matter | 4 ++-- .../thermostat/thermostat-common/thermostat.matter | 4 ++-- examples/tv-app/tv-common/tv-app.matter | 4 ++-- .../tv-casting-common/tv-casting-app.matter | 4 ++-- .../virtual-device-common/virtual-device-app.matter | 4 ++-- examples/window-app/common/window-app.matter | 4 ++-- .../outputs/all-clusters-app/app-templates/access.h | 6 ++++++ .../tests/outputs/lighting-app/app-templates/access.h | 6 ++++++ .../chip/time-format-localization-cluster.xml | 10 ++++++++-- src/controller/data_model/controller-clusters.matter | 4 ++-- 59 files changed, 124 insertions(+), 106 deletions(-) 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 eed298aea458ad..7437c22e34ea5a 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 @@ -1046,8 +1046,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; 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 3ce4f8352bffc2..910b0f8ad577af 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 @@ -887,7 +887,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/bridge-app/bridge-common/bridge-app.matter b/examples/bridge-app/bridge-common/bridge-app.matter index 60ba5e83fa10d6..1480e89216c583 100644 --- a/examples/bridge-app/bridge-common/bridge-app.matter +++ b/examples/bridge-app/bridge-common/bridge-app.matter @@ -621,8 +621,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter index c6efcb8a5759fc..6bacc7d74d2958 100644 --- a/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter @@ -665,8 +665,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter index 39e54e141b921d..1ebd25fedc1d3b 100644 --- a/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter +++ b/examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter @@ -426,8 +426,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter index 99285653fb5c39..846202f1f4d5b2 100644 --- a/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter +++ b/examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter @@ -432,8 +432,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter index 39ac6b08dba8f3..51807907fd928b 100644 --- a/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter +++ b/examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter @@ -514,8 +514,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter index 90108ab1635027..aaec536fdcfef8 100644 --- a/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter +++ b/examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter @@ -665,8 +665,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter index ba44280e0ce4e2..ac6ce558704537 100644 --- a/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter +++ b/examples/chef/devices/rootnode_dishwasher_cc105034fe.matter @@ -284,7 +284,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter index ab0f572eb982ad..4ce6920150b03e 100644 --- a/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter +++ b/examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter @@ -514,8 +514,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter index c3eed8a0b7c6a0..3b37d37898d03a 100644 --- a/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter +++ b/examples/chef/devices/rootnode_extendedcolorlight_8lcaaYJVAa.matter @@ -665,8 +665,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter index bb154d3af5b762..d28225d0a51408 100644 --- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter +++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter @@ -501,8 +501,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter index 2ddd9204315b8e..4f6f95e7797613 100644 --- a/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter +++ b/examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter index a2ac95fa5c85ac..054b0988bac2bc 100644 --- a/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter +++ b/examples/chef/devices/rootnode_heatingcoolingunit_ncdGai1E5a.matter @@ -659,8 +659,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter index a3c8e66c387718..b8b6393786c7c6 100644 --- a/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter +++ b/examples/chef/devices/rootnode_humiditysensor_Xyj4gda6Hb.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter index bf97be26bacdbf..5930d828f4b306 100644 --- a/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter +++ b/examples/chef/devices/rootnode_laundrywasher_fb10d238c8.matter @@ -284,7 +284,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter index 3110d0f02c255d..1c7fb19196b0f8 100644 --- a/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter +++ b/examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter index 17d359a6a8e4cc..e88f8d822fedd4 100644 --- a/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter +++ b/examples/chef/devices/rootnode_occupancysensor_iHyVgifZuo.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter index 9622dffdd011d4..7c51e5dfe95700 100644 --- a/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter +++ b/examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter @@ -665,8 +665,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_onofflight_samplemei.matter b/examples/chef/devices/rootnode_onofflight_samplemei.matter index d9d54c4db8a6fe..6ef987fb4220b0 100644 --- a/examples/chef/devices/rootnode_onofflight_samplemei.matter +++ b/examples/chef/devices/rootnode_onofflight_samplemei.matter @@ -665,8 +665,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter index b674cec08dd2c6..f8255600438656 100644 --- a/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter +++ b/examples/chef/devices/rootnode_onofflightswitch_FsPlMr090Q.matter @@ -630,8 +630,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter index ce12b61faeb671..f7d2edd5ca889a 100644 --- a/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter +++ b/examples/chef/devices/rootnode_onoffpluginunit_Wtf8ss5EBY.matter @@ -564,8 +564,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index eb125b89e48971..091835dc404eb4 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_pump_5f904818cc.matter b/examples/chef/devices/rootnode_pump_5f904818cc.matter index acef9e4e629302..ccb84e1f08c5f3 100644 --- a/examples/chef/devices/rootnode_pump_5f904818cc.matter +++ b/examples/chef/devices/rootnode_pump_5f904818cc.matter @@ -322,7 +322,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_pump_a811bb33a0.matter b/examples/chef/devices/rootnode_pump_a811bb33a0.matter index 2dfeb7e8492dfe..03faacdc5b2ac8 100644 --- a/examples/chef/devices/rootnode_pump_a811bb33a0.matter +++ b/examples/chef/devices/rootnode_pump_a811bb33a0.matter @@ -322,7 +322,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter index 7ba55dcba60a5d..ab74b5977accda 100644 --- a/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter +++ b/examples/chef/devices/rootnode_refrigerator_temperaturecontrolledcabinet_temperaturecontrolledcabinet_ffdb696680.matter @@ -284,7 +284,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter index a38b89e417113c..04f4c22d42bc9e 100644 --- a/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter +++ b/examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter @@ -590,8 +590,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter index 7c3771e7222915..faf2ef72c55b40 100644 --- a/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter +++ b/examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter @@ -520,8 +520,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter index d4bd76b4f7a695..0b17bf5ad17a8d 100644 --- a/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter +++ b/examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter @@ -514,8 +514,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter index 7b2e347b0ed662..c829b94170e956 100644 --- a/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter +++ b/examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter @@ -514,8 +514,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter index be2927c9df884b..980c24fa04f3da 100644 --- a/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter +++ b/examples/contact-sensor-app/contact-sensor-common/contact-sensor-app.matter @@ -501,8 +501,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter index 9c5faeb6cf4dc5..057570068ed17c 100644 --- a/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter +++ b/examples/dishwasher-app/dishwasher-common/dishwasher-app.matter @@ -372,7 +372,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; 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 bc8ac2853aa014..3d1c46a07769e9 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 @@ -820,8 +820,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter index 0c56d1c732a963..a466b86f55ec0b 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-ethernet.matter @@ -673,8 +673,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter index 98ab611397b820..76d36f766ae31a 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-thread.matter @@ -673,8 +673,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter index ba3870c031a2fe..bc1ca07cf1dc8b 100644 --- a/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter +++ b/examples/lighting-app/bouffalolab/data_model/lighting-app-wifi.matter @@ -673,8 +673,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/lighting-common/lighting-app.matter b/examples/lighting-app/lighting-common/lighting-app.matter index a70f6ac02cee5e..83a898816e870c 100644 --- a/examples/lighting-app/lighting-common/lighting-app.matter +++ b/examples/lighting-app/lighting-common/lighting-app.matter @@ -824,8 +824,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter index 939345fe9cfbe0..e481c5ff944dc8 100644 --- a/examples/lighting-app/silabs/data_model/lighting-thread-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-thread-app.matter @@ -845,8 +845,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter index 70013fb00ae308..72276cb1aa55ae 100644 --- a/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter +++ b/examples/lighting-app/silabs/data_model/lighting-wifi-app.matter @@ -824,8 +824,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/lock-app/lock-common/lock-app.matter b/examples/lock-app/lock-common/lock-app.matter index 983d199c4841bb..e434cec4947aa5 100644 --- a/examples/lock-app/lock-common/lock-app.matter +++ b/examples/lock-app/lock-common/lock-app.matter @@ -482,8 +482,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; 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 fe849962ec5103..cc9cb2c33dfff5 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 @@ -381,8 +381,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; 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 a753b91e8594a2..c540e9c3edcbc2 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 @@ -565,8 +565,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/placeholder/linux/apps/app1/config.matter b/examples/placeholder/linux/apps/app1/config.matter index e9d63cf6bccc28..bb87ad56d04e51 100644 --- a/examples/placeholder/linux/apps/app1/config.matter +++ b/examples/placeholder/linux/apps/app1/config.matter @@ -992,8 +992,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/placeholder/linux/apps/app2/config.matter b/examples/placeholder/linux/apps/app2/config.matter index b6ea2125074b4f..54e7ce4c9b740f 100644 --- a/examples/placeholder/linux/apps/app2/config.matter +++ b/examples/placeholder/linux/apps/app2/config.matter @@ -975,8 +975,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter index 3b50a40083a235..f73f0411c1f756 100644 --- a/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter +++ b/examples/refrigerator-app/refrigerator-common/refrigerator-app.matter @@ -239,7 +239,7 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; + attribute access(write: manage) HourFormatEnum hourFormat = 0; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; readonly attribute event_id eventList[] = 65530; diff --git a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter index 97c928f680b449..aae55a1f554bbf 100644 --- a/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter +++ b/examples/resource-monitoring-app/resource-monitoring-common/resource-monitoring-app.matter @@ -501,8 +501,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter index 1bcd149104d936..103cf374d7a292 100644 --- a/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter +++ b/examples/smoke-co-alarm-app/smoke-co-alarm-common/smoke-co-alarm-app.matter @@ -501,8 +501,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter index 4154b7f835d005..1653f8e8764bdf 100644 --- a/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter +++ b/examples/temperature-measurement-app/temperature-measurement-common/temperature-measurement.matter @@ -237,8 +237,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter index d4fccfa0013c39..6d1c2337a5f3e1 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_thread.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_thread.matter @@ -689,8 +689,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter index 40ca12db738375..7b9f8c357dcf9e 100644 --- a/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter +++ b/examples/thermostat/nxp/zap/thermostat_matter_wifi.matter @@ -689,8 +689,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/thermostat/thermostat-common/thermostat.matter b/examples/thermostat/thermostat-common/thermostat.matter index 34be78cc1a47b5..3e7e34ed8000ab 100644 --- a/examples/thermostat/thermostat-common/thermostat.matter +++ b/examples/thermostat/thermostat-common/thermostat.matter @@ -568,8 +568,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/tv-app/tv-common/tv-app.matter b/examples/tv-app/tv-common/tv-app.matter index 0b745af3606a67..b38d4dfd31776d 100644 --- a/examples/tv-app/tv-common/tv-app.matter +++ b/examples/tv-app/tv-common/tv-app.matter @@ -500,8 +500,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; 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 6e285bcce72fb7..e35a0228d7d9c2 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 @@ -602,8 +602,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter index 977a353a9459ab..14cff8680dd518 100644 --- a/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter +++ b/examples/virtual-device-app/virtual-device-common/virtual-device-app.matter @@ -633,8 +633,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/examples/window-app/common/window-app.matter b/examples/window-app/common/window-app.matter index a34e5840a47367..c99a4d4d5f5b9d 100644 --- a/examples/window-app/common/window-app.matter +++ b/examples/window-app/common/window-app.matter @@ -501,8 +501,8 @@ server cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) CalendarTypeEnum activeCalendarType = 1; readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529; diff --git a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h index 52f141c42f3aee..5403f99d2c747e 100644 --- a/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h +++ b/scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/access.h @@ -232,6 +232,8 @@ 0x00000028, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ 0x00000028, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ 0x0000002B, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + 0x0000002C, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + 0x0000002C, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ 0x00000030, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ 0x00000031, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ 0x0000003F, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ @@ -288,6 +290,8 @@ 0x00000006, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ 0x00000010, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ 0x00000000, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + 0x00000000, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + 0x00000001, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ 0x00000000, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ 0x00000004, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ 0x00000000, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ @@ -344,6 +348,8 @@ kMatterAccessPrivilegeAdminister, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ kMatterAccessPrivilegeManage, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + kMatterAccessPrivilegeManage, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + kMatterAccessPrivilegeManage, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ diff --git a/scripts/tools/zap/tests/outputs/lighting-app/app-templates/access.h b/scripts/tools/zap/tests/outputs/lighting-app/app-templates/access.h index 332b903222cbdf..57fc3854355963 100644 --- a/scripts/tools/zap/tests/outputs/lighting-app/app-templates/access.h +++ b/scripts/tools/zap/tests/outputs/lighting-app/app-templates/access.h @@ -114,6 +114,8 @@ 0x00000028, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ 0x00000028, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ 0x0000002B, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + 0x0000002C, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + 0x0000002C, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ 0x00000030, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ 0x00000031, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ 0x0000003F, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ @@ -131,6 +133,8 @@ 0x00000006, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ 0x00000010, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ 0x00000000, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + 0x00000000, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + 0x00000001, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ 0x00000000, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ 0x00000004, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ 0x00000000, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ @@ -148,6 +152,8 @@ kMatterAccessPrivilegeAdminister, /* Cluster: Basic Information, Attribute: Location, Privilege: administer */ \ kMatterAccessPrivilegeManage, /* Cluster: Basic Information, Attribute: LocalConfigDisabled, Privilege: manage */ \ kMatterAccessPrivilegeManage, /* Cluster: Localization Configuration, Attribute: ActiveLocale, Privilege: manage */ \ + kMatterAccessPrivilegeManage, /* Cluster: Time Format Localization, Attribute: HourFormat, Privilege: manage */ \ + kMatterAccessPrivilegeManage, /* Cluster: Time Format Localization, Attribute: ActiveCalendarType, Privilege: manage */ \ kMatterAccessPrivilegeAdminister, /* Cluster: General Commissioning, Attribute: Breadcrumb, Privilege: administer */ \ kMatterAccessPrivilegeAdminister, /* Cluster: Network Commissioning, Attribute: InterfaceEnabled, Privilege: administer */ \ kMatterAccessPrivilegeManage, /* Cluster: Group Key Management, Attribute: GroupKeyMap, Privilege: manage */ \ diff --git a/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml index e9c48e985b0216..07b91eb1f60fb0 100644 --- a/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/time-format-localization-cluster.xml @@ -54,8 +54,14 @@ limitations under the License. or audibly convey time information need a mechanism by which they can be configured to use a user’s preferred format. - HourFormat - ActiveCalendarType + + HourFormat + + + + ActiveCalendarType + + SupportedCalendarTypes diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter index 86144d0ee763dc..68fd1dfab60d30 100644 --- a/src/controller/data_model/controller-clusters.matter +++ b/src/controller/data_model/controller-clusters.matter @@ -1125,8 +1125,8 @@ client cluster TimeFormatLocalization = 44 { kCalendarFormat = 0x1; } - attribute HourFormatEnum hourFormat = 0; - attribute optional CalendarTypeEnum activeCalendarType = 1; + attribute access(write: manage) HourFormatEnum hourFormat = 0; + attribute access(write: manage) optional CalendarTypeEnum activeCalendarType = 1; readonly attribute optional CalendarTypeEnum supportedCalendarTypes[] = 2; readonly attribute command_id generatedCommandList[] = 65528; readonly attribute command_id acceptedCommandList[] = 65529;