Skip to content

Commit b801c13

Browse files
committed
Remove Presets and Schedules attributes from all-cluster-app.zap
1 parent 259cd5d commit b801c13

File tree

4 files changed

+89
-226
lines changed

4 files changed

+89
-226
lines changed

examples/all-clusters-app/all-clusters-common/all-clusters-app.matter

-11
Original file line numberDiff line numberDiff line change
@@ -8661,17 +8661,6 @@ endpoint 1 {
86618661
ram attribute minSetpointDeadBand default = 0x19;
86628662
ram attribute controlSequenceOfOperation default = 0x04;
86638663
ram attribute systemMode default = 0x01;
8664-
callback attribute presetTypes;
8665-
callback attribute scheduleTypes;
8666-
ram attribute numberOfPresets default = 0;
8667-
ram attribute numberOfSchedules default = 0;
8668-
ram attribute numberOfScheduleTransitionPerDay default = 0xFF;
8669-
ram attribute activePresetHandle;
8670-
ram attribute activeScheduleHandle;
8671-
callback attribute presets;
8672-
callback attribute schedules;
8673-
ram attribute presetsSchedulesEditable;
8674-
ram attribute setpointHoldExpiryTimestamp default = 0;
86758664
callback attribute generatedCommandList;
86768665
callback attribute acceptedCommandList;
86778666
callback attribute eventList;

examples/all-clusters-app/all-clusters-common/all-clusters-app.zap

+7-215
Original file line numberDiff line numberDiff line change
@@ -14781,7 +14781,7 @@
1478114781
"storageOption": "External",
1478214782
"singleton": 0,
1478314783
"bounded": 0,
14784-
"defaultValue": "",
14784+
"defaultValue": null,
1478514785
"reportable": 1,
1478614786
"minInterval": 1,
1478714787
"maxInterval": 65534,
@@ -14797,7 +14797,7 @@
1479714797
"storageOption": "External",
1479814798
"singleton": 0,
1479914799
"bounded": 0,
14800-
"defaultValue": "",
14800+
"defaultValue": null,
1480114801
"reportable": 1,
1480214802
"minInterval": 1,
1480314803
"maxInterval": 65534,
@@ -14845,7 +14845,7 @@
1484514845
"storageOption": "External",
1484614846
"singleton": 0,
1484714847
"bounded": 0,
14848-
"defaultValue": "",
14848+
"defaultValue": null,
1484914849
"reportable": 1,
1485014850
"minInterval": 1,
1485114851
"maxInterval": 65534,
@@ -14861,7 +14861,7 @@
1486114861
"storageOption": "External",
1486214862
"singleton": 0,
1486314863
"bounded": 0,
14864-
"defaultValue": "",
14864+
"defaultValue": null,
1486514865
"reportable": 1,
1486614866
"minInterval": 1,
1486714867
"maxInterval": 65534,
@@ -14877,7 +14877,7 @@
1487714877
"storageOption": "External",
1487814878
"singleton": 0,
1487914879
"bounded": 0,
14880-
"defaultValue": "",
14880+
"defaultValue": null,
1488114881
"reportable": 1,
1488214882
"minInterval": 1,
1488314883
"maxInterval": 65534,
@@ -14893,7 +14893,7 @@
1489314893
"storageOption": "External",
1489414894
"singleton": 0,
1489514895
"bounded": 0,
14896-
"defaultValue": "",
14896+
"defaultValue": null,
1489714897
"reportable": 1,
1489814898
"minInterval": 1,
1489914899
"maxInterval": 65534,
@@ -14909,7 +14909,7 @@
1490914909
"storageOption": "External",
1491014910
"singleton": 0,
1491114911
"bounded": 0,
14912-
"defaultValue": "",
14912+
"defaultValue": null,
1491314913
"reportable": 1,
1491414914
"minInterval": 1,
1491514915
"maxInterval": 65534,
@@ -16415,214 +16415,6 @@
1641516415
"maxInterval": 65344,
1641616416
"reportableChange": 0
1641716417
},
16418-
{
16419-
"name": "PresetTypes",
16420-
"code": 72,
16421-
"mfgCode": null,
16422-
"side": "server",
16423-
"type": "array",
16424-
"included": 1,
16425-
"storageOption": "External",
16426-
"singleton": 0,
16427-
"bounded": 0,
16428-
"defaultValue": null,
16429-
"reportable": 1,
16430-
"minInterval": 1,
16431-
"maxInterval": 65534,
16432-
"reportableChange": 0
16433-
},
16434-
{
16435-
"name": "ScheduleTypes",
16436-
"code": 73,
16437-
"mfgCode": null,
16438-
"side": "server",
16439-
"type": "array",
16440-
"included": 1,
16441-
"storageOption": "External",
16442-
"singleton": 0,
16443-
"bounded": 0,
16444-
"defaultValue": null,
16445-
"reportable": 1,
16446-
"minInterval": 1,
16447-
"maxInterval": 65534,
16448-
"reportableChange": 0
16449-
},
16450-
{
16451-
"name": "NumberOfPresets",
16452-
"code": 74,
16453-
"mfgCode": null,
16454-
"side": "server",
16455-
"type": "int8u",
16456-
"included": 1,
16457-
"storageOption": "RAM",
16458-
"singleton": 0,
16459-
"bounded": 0,
16460-
"defaultValue": "0",
16461-
"reportable": 1,
16462-
"minInterval": 1,
16463-
"maxInterval": 65534,
16464-
"reportableChange": 0
16465-
},
16466-
{
16467-
"name": "NumberOfSchedules",
16468-
"code": 75,
16469-
"mfgCode": null,
16470-
"side": "server",
16471-
"type": "int8u",
16472-
"included": 1,
16473-
"storageOption": "RAM",
16474-
"singleton": 0,
16475-
"bounded": 0,
16476-
"defaultValue": "0",
16477-
"reportable": 1,
16478-
"minInterval": 1,
16479-
"maxInterval": 65534,
16480-
"reportableChange": 0
16481-
},
16482-
{
16483-
"name": "NumberOfScheduleTransitionPerDay",
16484-
"code": 77,
16485-
"mfgCode": null,
16486-
"side": "server",
16487-
"type": "int8u",
16488-
"included": 1,
16489-
"storageOption": "RAM",
16490-
"singleton": 0,
16491-
"bounded": 0,
16492-
"defaultValue": "0xFF",
16493-
"reportable": 1,
16494-
"minInterval": 1,
16495-
"maxInterval": 65534,
16496-
"reportableChange": 0
16497-
},
16498-
{
16499-
"name": "ActivePresetHandle",
16500-
"code": 78,
16501-
"mfgCode": null,
16502-
"side": "server",
16503-
"type": "octet_string",
16504-
"included": 1,
16505-
"storageOption": "RAM",
16506-
"singleton": 0,
16507-
"bounded": 0,
16508-
"defaultValue": "",
16509-
"reportable": 1,
16510-
"minInterval": 1,
16511-
"maxInterval": 65534,
16512-
"reportableChange": 0
16513-
},
16514-
{
16515-
"name": "ActiveScheduleHandle",
16516-
"code": 79,
16517-
"mfgCode": null,
16518-
"side": "server",
16519-
"type": "octet_string",
16520-
"included": 1,
16521-
"storageOption": "RAM",
16522-
"singleton": 0,
16523-
"bounded": 0,
16524-
"defaultValue": "",
16525-
"reportable": 1,
16526-
"minInterval": 1,
16527-
"maxInterval": 65534,
16528-
"reportableChange": 0
16529-
},
16530-
{
16531-
"name": "Presets",
16532-
"code": 80,
16533-
"mfgCode": null,
16534-
"side": "server",
16535-
"type": "array",
16536-
"included": 1,
16537-
"storageOption": "External",
16538-
"singleton": 0,
16539-
"bounded": 0,
16540-
"defaultValue": null,
16541-
"reportable": 1,
16542-
"minInterval": 1,
16543-
"maxInterval": 65534,
16544-
"reportableChange": 0
16545-
},
16546-
{
16547-
"name": "Schedules",
16548-
"code": 81,
16549-
"mfgCode": null,
16550-
"side": "server",
16551-
"type": "array",
16552-
"included": 1,
16553-
"storageOption": "External",
16554-
"singleton": 0,
16555-
"bounded": 0,
16556-
"defaultValue": null,
16557-
"reportable": 1,
16558-
"minInterval": 1,
16559-
"maxInterval": 65534,
16560-
"reportableChange": 0
16561-
},
16562-
{
16563-
"name": "PresetsSchedulesEditable",
16564-
"code": 82,
16565-
"mfgCode": null,
16566-
"side": "server",
16567-
"type": "boolean",
16568-
"included": 1,
16569-
"storageOption": "RAM",
16570-
"singleton": 0,
16571-
"bounded": 0,
16572-
"defaultValue": "",
16573-
"reportable": 1,
16574-
"minInterval": 1,
16575-
"maxInterval": 65534,
16576-
"reportableChange": 0
16577-
},
16578-
{
16579-
"name": "TemperatureSetpointHoldPolicy",
16580-
"code": 83,
16581-
"mfgCode": null,
16582-
"side": "server",
16583-
"type": "TemperatureSetpointHoldPolicyBitmap",
16584-
"included": 1,
16585-
"storageOption": "RAM",
16586-
"singleton": 0,
16587-
"bounded": 0,
16588-
"defaultValue": "0",
16589-
"reportable": 1,
16590-
"minInterval": 1,
16591-
"maxInterval": 65534,
16592-
"reportableChange": 0
16593-
},
16594-
{
16595-
"name": "SetpointHoldExpiryTimestamp",
16596-
"code": 84,
16597-
"mfgCode": null,
16598-
"side": "server",
16599-
"type": "epoch_s",
16600-
"included": 1,
16601-
"storageOption": "RAM",
16602-
"singleton": 0,
16603-
"bounded": 0,
16604-
"defaultValue": "",
16605-
"reportable": 1,
16606-
"minInterval": 1,
16607-
"maxInterval": 65534,
16608-
"reportableChange": 0
16609-
},
16610-
{
16611-
"name": "QueuedPreset",
16612-
"code": 85,
16613-
"mfgCode": null,
16614-
"side": "server",
16615-
"type": "QueuedPresetStruct",
16616-
"included": 1,
16617-
"storageOption": "External",
16618-
"singleton": 0,
16619-
"bounded": 0,
16620-
"defaultValue": null,
16621-
"reportable": 1,
16622-
"minInterval": 1,
16623-
"maxInterval": 65534,
16624-
"reportableChange": 0
16625-
},
1662616418
{
1662716419
"name": "GeneratedCommandList",
1662816420
"code": 65528,

src/app/tests/suites/certification/PICS.yaml

+50
Original file line numberDiff line numberDiff line change
@@ -6419,6 +6419,21 @@ PICS:
64196419
- label: "Does the device implement the ACCapacityFormat attribute?"
64206420
id: TSTAT.S.A0047
64216421

6422+
- label: "Does the device implement the PresetTypes attribute?"
6423+
id: TSTAT.S.A0048
6424+
6425+
- label: "Does the device implement the NumberOfPresets attribute?"
6426+
id: TSTAT.S.A004a
6427+
6428+
- label: "Does the device implement the ActivePresetHandle attribute?"
6429+
id: TSTAT.S.A004e
6430+
6431+
- label: "Does the device implement the Presets attribute?"
6432+
id: TSTAT.S.A0050
6433+
6434+
- label: "Does the device implement the PresetsSchedulesEditable attribute?"
6435+
id: TSTAT.S.A0052
6436+
64226437
#
64236438
# server / commandsReceived
64246439
#
@@ -6442,6 +6457,22 @@ PICS:
64426457
"Does the device implement receiving the GetRelayStatusLog command?"
64436458
id: TSTAT.S.C04.Rsp
64446459

6460+
- label:
6461+
"Does the device implement receiving the SetActivePresetRequest command?"
6462+
id: TSTAT.S.C06.Rsp
6463+
6464+
- label:
6465+
"Does the device implement receiving the StartPresetsSchedulesEditRequest command?"
6466+
id: TSTAT.S.C07.Rsp
6467+
6468+
- label:
6469+
"Does the device implement receiving the CancelPresetsSchedulesEditRequest command?"
6470+
id: TSTAT.S.C08.Rsp
6471+
6472+
- label:
6473+
"Does the device implement receiving the CommitPresetsSchedulesRequest command?"
6474+
id: TSTAT.S.C09.Rsp
6475+
64456476
#
64466477
# server / commandsGenerated
64476478
#
@@ -6479,6 +6510,9 @@ PICS:
64796510
- label: "Supports a local temperature not exposed"
64806511
id: TSTAT.S.F06
64816512

6513+
- label: "Supports setpoint presets"
6514+
id: TSTAT.S.F08
6515+
64826516
#
64836517
# server / manually
64846518
#
@@ -6520,6 +6554,22 @@ PICS:
65206554
- label: "Does the device implement sending the GetRelayStatusLog command?"
65216555
id: TSTAT.C.C04.Tx
65226556

6557+
- label:
6558+
"Does the device implement sending the SetActivePresetRequest command?"
6559+
id: TSTAT.C.C05.Tx
6560+
6561+
- label:
6562+
"Does the device implement sending the StartPresetsSchedulesEditRequest command?"
6563+
id: TSTAT.C.C06.Tx
6564+
6565+
- label:
6566+
"Does the device implement sending the CancelPresetsSchedulesEditRequest command?"
6567+
id: TSTAT.C.C05.Tx
6568+
6569+
- label:
6570+
"Does the device implement sending the CommitPresetsSchedulesRequest command?"
6571+
id: TSTAT.C.C07.Tx
6572+
65236573
#
65246574
# client / manually
65256575
#

0 commit comments

Comments
 (0)