Skip to content

Commit

Permalink
Align Time Format Localization cluster XML to spec changes. (#25289)
Browse files Browse the repository at this point in the history
* Align Time Format Localization cluster XML to spec changes.

Spec changes happened in https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/6184.

Fixes #24999

* Auto-update ZAP files.

* Regenerate generated code.
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Oct 17, 2023
1 parent b3037bd commit 1147348
Show file tree
Hide file tree
Showing 106 changed files with 492 additions and 475 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -867,14 +867,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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 @@ -1977,7 +1977,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1993,7 +1993,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -752,12 +752,12 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute 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 @@ -1956,7 +1956,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1972,7 +1972,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 0,
"storageOption": "NVM",
"singleton": 0,
Expand Down
10 changes: 5 additions & 5 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -537,14 +537,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1165,7 +1165,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -566,14 +566,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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 @@ -1891,7 +1891,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1907,7 +1907,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1971,7 +1971,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1987,7 +1987,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
10 changes: 5 additions & 5 deletions examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -419,14 +419,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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_contactsensor_lFAGG1bfRO.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1907,7 +1907,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
10 changes: 5 additions & 5 deletions examples/chef/devices/rootnode_dimmablelight_bCwGYSDpoe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -566,14 +566,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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_dimmablelight_bCwGYSDpoe.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1907,7 +1907,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
10 changes: 5 additions & 5 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -419,14 +419,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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.zap
Original file line number Diff line number Diff line change
Expand Up @@ -1891,7 +1891,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1907,7 +1907,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ server cluster LocalizationConfiguration = 43 {
}

server cluster TimeFormatLocalization = 44 {
enum CalendarType : ENUM8 {
enum CalendarTypeEnum : ENUM8 {
kBuddhist = 0;
kChinese = 1;
kCoptic = 2;
Expand All @@ -566,14 +566,14 @@ server cluster TimeFormatLocalization = 44 {
kTaiwanese = 11;
}

enum HourFormat : ENUM8 {
enum HourFormatEnum : ENUM8 {
k12hr = 0;
k24hr = 1;
}

attribute HourFormat hourFormat = 0;
attribute CalendarType activeCalendarType = 1;
readonly attribute CalendarType supportedCalendarTypes[] = 2;
attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
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 @@ -1891,7 +1891,7 @@
"code": 0,
"mfgCode": null,
"side": "server",
"type": "HourFormat",
"type": "HourFormatEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand All @@ -1907,7 +1907,7 @@
"code": 1,
"mfgCode": null,
"side": "server",
"type": "CalendarType",
"type": "CalendarTypeEnum",
"included": 1,
"storageOption": "NVM",
"singleton": 0,
Expand Down
Loading

0 comments on commit 1147348

Please sign in to comment.