Skip to content

Commit 4c00c84

Browse files
committed
Fix zap comformance issue
1 parent 36008b5 commit 4c00c84

File tree

2 files changed

+159
-1
lines changed

2 files changed

+159
-1
lines changed

examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.matter

+28
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,23 @@ cluster BasicInformation = 40 {
567567
command MfgSpecificPing(): DefaultSuccess = 0;
568568
}
569569

570+
/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
571+
may have differing common languages, units of measurements, and numerical formatting
572+
standards. As such, Nodes that visually or audibly convey information need a mechanism by which
573+
they can be configured to use a user’s preferred language, units, etc */
574+
cluster LocalizationConfiguration = 43 {
575+
revision 1; // NOTE: Default/not specifically set
576+
577+
attribute access(write: manage) char_string<35> activeLocale = 0;
578+
readonly attribute char_string supportedLocales[] = 1;
579+
readonly attribute command_id generatedCommandList[] = 65528;
580+
readonly attribute command_id acceptedCommandList[] = 65529;
581+
readonly attribute event_id eventList[] = 65530;
582+
readonly attribute attrib_id attributeList[] = 65531;
583+
readonly attribute bitmap32 featureMap = 65532;
584+
readonly attribute int16u clusterRevision = 65533;
585+
}
586+
570587
/** Nodes should be expected to be deployed to any and all regions of the world. These global regions
571588
may have differing preferences for the units in which values are conveyed in communication to a
572589
user. As such, Nodes that visually or audibly convey measurable values to the user need a
@@ -1848,6 +1865,16 @@ endpoint 0 {
18481865
ram attribute clusterRevision default = 3;
18491866
}
18501867

1868+
server cluster LocalizationConfiguration {
1869+
ram attribute activeLocale;
1870+
callback attribute supportedLocales;
1871+
callback attribute generatedCommandList;
1872+
callback attribute acceptedCommandList;
1873+
callback attribute attributeList;
1874+
ram attribute featureMap default = 0;
1875+
ram attribute clusterRevision default = 1;
1876+
}
1877+
18511878
server cluster UnitLocalization {
18521879
callback attribute generatedCommandList;
18531880
callback attribute acceptedCommandList;
@@ -1901,6 +1928,7 @@ endpoint 0 {
19011928
ram attribute clusterRevision default = 1;
19021929

19031930
handle command RetrieveLogsRequest;
1931+
handle command RetrieveLogsResponse;
19041932
}
19051933

19061934
server cluster GeneralDiagnostics {

examples/chef/devices/icd_rootnode_contactsensor_ed3b19ec55.zap

+131-1
Original file line numberDiff line numberDiff line change
@@ -708,6 +708,128 @@
708708
}
709709
]
710710
},
711+
{
712+
"name": "Localization Configuration",
713+
"code": 43,
714+
"mfgCode": null,
715+
"define": "LOCALIZATION_CONFIGURATION_CLUSTER",
716+
"side": "server",
717+
"enabled": 1,
718+
"attributes": [
719+
{
720+
"name": "ActiveLocale",
721+
"code": 0,
722+
"mfgCode": null,
723+
"side": "server",
724+
"type": "char_string",
725+
"included": 1,
726+
"storageOption": "RAM",
727+
"singleton": 0,
728+
"bounded": 0,
729+
"defaultValue": "",
730+
"reportable": 1,
731+
"minInterval": 1,
732+
"maxInterval": 65534,
733+
"reportableChange": 0
734+
},
735+
{
736+
"name": "SupportedLocales",
737+
"code": 1,
738+
"mfgCode": null,
739+
"side": "server",
740+
"type": "array",
741+
"included": 1,
742+
"storageOption": "External",
743+
"singleton": 0,
744+
"bounded": 0,
745+
"defaultValue": null,
746+
"reportable": 1,
747+
"minInterval": 1,
748+
"maxInterval": 65534,
749+
"reportableChange": 0
750+
},
751+
{
752+
"name": "GeneratedCommandList",
753+
"code": 65528,
754+
"mfgCode": null,
755+
"side": "server",
756+
"type": "array",
757+
"included": 1,
758+
"storageOption": "External",
759+
"singleton": 0,
760+
"bounded": 0,
761+
"defaultValue": null,
762+
"reportable": 1,
763+
"minInterval": 1,
764+
"maxInterval": 65534,
765+
"reportableChange": 0
766+
},
767+
{
768+
"name": "AcceptedCommandList",
769+
"code": 65529,
770+
"mfgCode": null,
771+
"side": "server",
772+
"type": "array",
773+
"included": 1,
774+
"storageOption": "External",
775+
"singleton": 0,
776+
"bounded": 0,
777+
"defaultValue": null,
778+
"reportable": 1,
779+
"minInterval": 1,
780+
"maxInterval": 65534,
781+
"reportableChange": 0
782+
},
783+
{
784+
"name": "AttributeList",
785+
"code": 65531,
786+
"mfgCode": null,
787+
"side": "server",
788+
"type": "array",
789+
"included": 1,
790+
"storageOption": "External",
791+
"singleton": 0,
792+
"bounded": 0,
793+
"defaultValue": null,
794+
"reportable": 1,
795+
"minInterval": 1,
796+
"maxInterval": 65534,
797+
"reportableChange": 0
798+
},
799+
{
800+
"name": "FeatureMap",
801+
"code": 65532,
802+
"mfgCode": null,
803+
"side": "server",
804+
"type": "bitmap32",
805+
"included": 1,
806+
"storageOption": "RAM",
807+
"singleton": 0,
808+
"bounded": 0,
809+
"defaultValue": "0",
810+
"reportable": 1,
811+
"minInterval": 1,
812+
"maxInterval": 65534,
813+
"reportableChange": 0
814+
},
815+
{
816+
"name": "ClusterRevision",
817+
"code": 65533,
818+
"mfgCode": null,
819+
"side": "server",
820+
"type": "int16u",
821+
"included": 1,
822+
"storageOption": "RAM",
823+
"singleton": 0,
824+
"bounded": 0,
825+
"defaultValue": "1",
826+
"reportable": 1,
827+
"minInterval": 1,
828+
"maxInterval": 65534,
829+
"reportableChange": 0
830+
}
831+
]
832+
},
711833
{
712834
"name": "Unit Localization",
713835
"code": 45,
@@ -1229,6 +1351,14 @@
12291351
"source": "client",
12301352
"isIncoming": 1,
12311353
"isEnabled": 1
1354+
},
1355+
{
1356+
"name": "RetrieveLogsResponse",
1357+
"code": 1,
1358+
"mfgCode": null,
1359+
"source": "server",
1360+
"isIncoming": 0,
1361+
"isEnabled": 1
12321362
}
12331363
],
12341364
"attributes": [
@@ -3679,7 +3809,7 @@
36793809
"singleton": 0,
36803810
"bounded": 0,
36813811
"defaultValue": "0",
3682-
"reportable": 0,
3812+
"reportable": 1,
36833813
"minInterval": 1,
36843814
"maxInterval": 65534,
36853815
"reportableChange": 0

0 commit comments

Comments
 (0)