Skip to content

Commit

Permalink
Match Time Format Localization Cluster to spec (#30216)
Browse files Browse the repository at this point in the history
* Set access restrictions to manage

* zap regen

---------

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
andy31415 and andreilitvin authored Nov 6, 2023
1 parent 57578cc commit 4f53c34
Show file tree
Hide file tree
Showing 59 changed files with 124 additions and 106 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_onofflight_samplemei.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_pump_5f904818cc.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_pump_a811bb33a0.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading

0 comments on commit 4f53c34

Please sign in to comment.