Skip to content

Commit

Permalink
Update featuremap for "Time Format Localization" to 1 (#28952)
Browse files Browse the repository at this point in the history
* Update featuremap for "Time Format Localization" to 1

* Add define for featuremap for time format localization

* Define calendar format feature in zap file (and as a sideffect in decoding and enums)
  • Loading branch information
andy31415 authored and pull[bot] committed Aug 18, 2024
1 parent a6a680d commit 1414980
Show file tree
Hide file tree
Showing 54 changed files with 220 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1023,6 +1023,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down Expand Up @@ -6225,7 +6229,7 @@ endpoint 0 {
callback attribute acceptedCommandList;
callback attribute eventList;
callback attribute attributeList;
ram attribute featureMap default = 0;
ram attribute featureMap default = 1;
ram attribute clusterRevision default = 1;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2552,7 +2552,7 @@
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"defaultValue": "1",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
Expand Down Expand Up @@ -10502,7 +10502,7 @@
]
},
{
"id": 2,
"id": 4,
"name": "MA-onofflight",
"deviceTypeRef": {
"id": 8,
Expand Down Expand Up @@ -34887,7 +34887,7 @@
]
},
{
"id": 4,
"id": 2,
"name": "Anonymous Endpoint Type",
"deviceTypeRef": {
"id": 53,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand Down
4 changes: 4 additions & 0 deletions examples/bridge-app/bridge-common/bridge-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_dishwasher_cc105034fe.matter
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_doorlock_aNKYAreMXE.matter
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_flowsensor_1zVxHedlaV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_lightsensor_lZQycTFcJK.matter
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_onofflight_bbs1b7IaOV.matter
Original file line number Diff line number Diff line change
Expand Up @@ -692,6 +692,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_pump_a811bb33a0.matter
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
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 @@ -381,6 +381,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_speaker_RpzeXdimqA.matter
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
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 @@ -843,6 +843,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
4 changes: 4 additions & 0 deletions examples/lighting-app/lighting-common/lighting-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -847,6 +847,10 @@ server cluster TimeFormatLocalization = 44 {
k24hr = 1;
}

bitmap Feature : BITMAP32 {
kCalendarFormat = 0x1;
}

attribute HourFormatEnum hourFormat = 0;
attribute CalendarTypeEnum activeCalendarType = 1;
readonly attribute CalendarTypeEnum supportedCalendarTypes[] = 2;
Expand Down
Loading

0 comments on commit 1414980

Please sign in to comment.