Skip to content

Commit 1163666

Browse files
manjunath-grlpull[bot]
authored andcommitted
Added simulated tests Dec 09 (#24000)
* Added simulated tests * Auto generated files * Added missed PICS in Ci-pics-value file
1 parent 79c3d62 commit 1163666

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+4969
-4850
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
11
{
2-
"Test": ["Test_TC_BINFO_2_3_Simulated"],
2+
"Test": [
3+
"Test_TC_BINFO_2_3_Simulated",
4+
"Test_TC_ACT_3_1_Simulated",
5+
"Test_TC_BOOL_3_1_Simulated",
6+
"Test_TC_DESC_2_2_Simulated",
7+
"Test_TC_DGETH_3_1_Simulated",
8+
"Test_TC_DGETH_3_2_Simulated",
9+
"Test_TC_DGSW_3_1_Simulated",
10+
"Test_TC_DGSW_3_2_Simulated",
11+
"Test_TC_DGWIFI_3_1_Simulated",
12+
"Test_TC_DGWIFI_3_2_Simulated",
13+
"Test_TC_FLW_3_1_Simulated",
14+
"Test_TC_G_3_1_Simulated",
15+
"Test_TC_I_3_1_Simulated",
16+
"Test_TC_PRS_3_1_Simulated",
17+
"Test_TC_PS_3_1_Simulated",
18+
"Test_TC_PSCFG_3_1_Simulated",
19+
"Test_TC_RH_3_1_Simulated",
20+
"Test_TC_SWTCH_3_1_Simulated",
21+
"Test_TC_WNCV_5_1_Simulated"
22+
],
323
"collection": ["Test"]
424
}

examples/placeholder/linux/apps/app1/config.matter

+29
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,26 @@ server cluster OperationalCredentials = 62 {
14381438
command access(invoke: administer) AddTrustedRootCertificate(AddTrustedRootCertificateRequest): DefaultSuccess = 11;
14391439
}
14401440

1441+
client cluster FixedLabel = 64 {
1442+
struct LabelStruct {
1443+
char_string<16> label = 0;
1444+
char_string<16> value = 1;
1445+
}
1446+
1447+
readonly attribute LabelStruct labelList[] = 0;
1448+
readonly attribute int16u clusterRevision = 65533;
1449+
}
1450+
1451+
server cluster FixedLabel = 64 {
1452+
struct LabelStruct {
1453+
char_string<16> label = 0;
1454+
char_string<16> value = 1;
1455+
}
1456+
1457+
readonly attribute LabelStruct labelList[] = 0;
1458+
readonly attribute int16u clusterRevision = 65533;
1459+
}
1460+
14411461
server cluster BooleanState = 69 {
14421462
info event StateChange = 0 {
14431463
boolean stateValue = 0;
@@ -1988,6 +2008,7 @@ client cluster TemperatureMeasurement = 1026 {
19882008
readonly attribute nullable int16s measuredValue = 0;
19892009
readonly attribute nullable int16s minMeasuredValue = 1;
19902010
readonly attribute nullable int16s maxMeasuredValue = 2;
2011+
readonly attribute int16u tolerance = 3;
19912012
readonly attribute bitmap32 featureMap = 65532;
19922013
readonly attribute int16u clusterRevision = 65533;
19932014
}
@@ -1996,6 +2017,7 @@ server cluster TemperatureMeasurement = 1026 {
19962017
readonly attribute nullable int16s measuredValue = 0;
19972018
readonly attribute nullable int16s minMeasuredValue = 1;
19982019
readonly attribute nullable int16s maxMeasuredValue = 2;
2020+
readonly attribute int16u tolerance = 3;
19992021
readonly attribute bitmap32 featureMap = 65532;
20002022
readonly attribute int16u clusterRevision = 65533;
20012023
}
@@ -2952,6 +2974,7 @@ endpoint 0 {
29522974
ram attribute measuredValue default = 0x8000;
29532975
ram attribute minMeasuredValue default = 0x8000;
29542976
ram attribute maxMeasuredValue default = 0x8000;
2977+
ram attribute tolerance;
29552978
ram attribute featureMap;
29562979
ram attribute clusterRevision default = 4;
29572980
}
@@ -3038,6 +3061,7 @@ endpoint 0 {
30383061
endpoint 1 {
30393062
device type anonymousEndpointType = 258, version 1;
30403063
binding cluster OnOff;
3064+
binding cluster FixedLabel;
30413065

30423066
server cluster Identify {
30433067
ram attribute identifyTime;
@@ -3099,6 +3123,11 @@ endpoint 1 {
30993123
ram attribute clusterRevision default = 1;
31003124
}
31013125

3126+
server cluster FixedLabel {
3127+
callback attribute labelList;
3128+
ram attribute clusterRevision default = 1;
3129+
}
3130+
31023131
server cluster ColorControl {
31033132
ram attribute currentX default = 0x616B;
31043133
ram attribute currentY default = 0x607D;

examples/placeholder/linux/apps/app1/config.zap

+85-1
Original file line numberDiff line numberDiff line change
@@ -5516,7 +5516,7 @@
55165516
"mfgCode": null,
55175517
"side": "server",
55185518
"type": "int16u",
5519-
"included": 0,
5519+
"included": 1,
55205520
"storageOption": "RAM",
55215521
"singleton": 0,
55225522
"bounded": 0,
@@ -8235,6 +8235,90 @@
82358235
"reportableChange": 0
82368236
}
82378237
]
8238+
},
8239+
{
8240+
"name": "Fixed Label",
8241+
"code": 64,
8242+
"mfgCode": null,
8243+
"define": "FIXED_LABEL_CLUSTER",
8244+
"side": "client",
8245+
"enabled": 1,
8246+
"attributes": [
8247+
{
8248+
"name": "LabelList",
8249+
"code": 0,
8250+
"mfgCode": null,
8251+
"side": "client",
8252+
"type": "array",
8253+
"included": 1,
8254+
"storageOption": "RAM",
8255+
"singleton": 0,
8256+
"bounded": 0,
8257+
"defaultValue": "",
8258+
"reportable": 1,
8259+
"minInterval": 0,
8260+
"maxInterval": 65344,
8261+
"reportableChange": 0
8262+
},
8263+
{
8264+
"name": "ClusterRevision",
8265+
"code": 65533,
8266+
"mfgCode": null,
8267+
"side": "client",
8268+
"type": "int16u",
8269+
"included": 1,
8270+
"storageOption": "RAM",
8271+
"singleton": 0,
8272+
"bounded": 0,
8273+
"defaultValue": "1",
8274+
"reportable": 1,
8275+
"minInterval": 0,
8276+
"maxInterval": 65344,
8277+
"reportableChange": 0
8278+
}
8279+
]
8280+
},
8281+
{
8282+
"name": "Fixed Label",
8283+
"code": 64,
8284+
"mfgCode": null,
8285+
"define": "FIXED_LABEL_CLUSTER",
8286+
"side": "server",
8287+
"enabled": 1,
8288+
"attributes": [
8289+
{
8290+
"name": "LabelList",
8291+
"code": 0,
8292+
"mfgCode": null,
8293+
"side": "server",
8294+
"type": "array",
8295+
"included": 1,
8296+
"storageOption": "RAM",
8297+
"singleton": 0,
8298+
"bounded": 0,
8299+
"defaultValue": "",
8300+
"reportable": 1,
8301+
"minInterval": 0,
8302+
"maxInterval": 65344,
8303+
"reportableChange": 0
8304+
},
8305+
{
8306+
"name": "ClusterRevision",
8307+
"code": 65533,
8308+
"mfgCode": null,
8309+
"side": "server",
8310+
"type": "int16u",
8311+
"included": 1,
8312+
"storageOption": "RAM",
8313+
"singleton": 0,
8314+
"bounded": 0,
8315+
"defaultValue": "1",
8316+
"reportable": 1,
8317+
"minInterval": 0,
8318+
"maxInterval": 65344,
8319+
"reportableChange": 0
8320+
}
8321+
]
82388322
}
82398323
]
82408324
}

examples/placeholder/linux/apps/app2/config.matter

+29
Original file line numberDiff line numberDiff line change
@@ -1438,6 +1438,26 @@ server cluster OperationalCredentials = 62 {
14381438
command access(invoke: administer) AddTrustedRootCertificate(AddTrustedRootCertificateRequest): DefaultSuccess = 11;
14391439
}
14401440

1441+
client cluster FixedLabel = 64 {
1442+
struct LabelStruct {
1443+
char_string<16> label = 0;
1444+
char_string<16> value = 1;
1445+
}
1446+
1447+
readonly attribute LabelStruct labelList[] = 0;
1448+
readonly attribute int16u clusterRevision = 65533;
1449+
}
1450+
1451+
server cluster FixedLabel = 64 {
1452+
struct LabelStruct {
1453+
char_string<16> label = 0;
1454+
char_string<16> value = 1;
1455+
}
1456+
1457+
readonly attribute LabelStruct labelList[] = 0;
1458+
readonly attribute int16u clusterRevision = 65533;
1459+
}
1460+
14411461
server cluster BooleanState = 69 {
14421462
info event StateChange = 0 {
14431463
boolean stateValue = 0;
@@ -1988,6 +2008,7 @@ client cluster TemperatureMeasurement = 1026 {
19882008
readonly attribute nullable int16s measuredValue = 0;
19892009
readonly attribute nullable int16s minMeasuredValue = 1;
19902010
readonly attribute nullable int16s maxMeasuredValue = 2;
2011+
readonly attribute int16u tolerance = 3;
19912012
readonly attribute bitmap32 featureMap = 65532;
19922013
readonly attribute int16u clusterRevision = 65533;
19932014
}
@@ -1996,6 +2017,7 @@ server cluster TemperatureMeasurement = 1026 {
19962017
readonly attribute nullable int16s measuredValue = 0;
19972018
readonly attribute nullable int16s minMeasuredValue = 1;
19982019
readonly attribute nullable int16s maxMeasuredValue = 2;
2020+
readonly attribute int16u tolerance = 3;
19992021
readonly attribute bitmap32 featureMap = 65532;
20002022
readonly attribute int16u clusterRevision = 65533;
20012023
}
@@ -2952,6 +2974,7 @@ endpoint 0 {
29522974
ram attribute measuredValue default = 0x8000;
29532975
ram attribute minMeasuredValue default = 0x8000;
29542976
ram attribute maxMeasuredValue default = 0x8000;
2977+
ram attribute tolerance;
29552978
ram attribute featureMap;
29562979
ram attribute clusterRevision default = 4;
29572980
}
@@ -3038,6 +3061,7 @@ endpoint 0 {
30383061
endpoint 1 {
30393062
device type anonymousEndpointType = 258, version 1;
30403063
binding cluster OnOff;
3064+
binding cluster FixedLabel;
30413065

30423066
server cluster Identify {
30433067
ram attribute identifyTime;
@@ -3099,6 +3123,11 @@ endpoint 1 {
30993123
ram attribute clusterRevision default = 1;
31003124
}
31013125

3126+
server cluster FixedLabel {
3127+
callback attribute labelList;
3128+
ram attribute clusterRevision default = 1;
3129+
}
3130+
31023131
server cluster ColorControl {
31033132
ram attribute currentX default = 0x616B;
31043133
ram attribute currentY default = 0x607D;

examples/placeholder/linux/apps/app2/config.zap

+86-2
Original file line numberDiff line numberDiff line change
@@ -5516,11 +5516,11 @@
55165516
"mfgCode": null,
55175517
"side": "server",
55185518
"type": "int16u",
5519-
"included": 0,
5519+
"included": 1,
55205520
"storageOption": "RAM",
55215521
"singleton": 0,
55225522
"bounded": 0,
5523-
"defaultValue": "",
5523+
"defaultValue": "0x0",
55245524
"reportable": 1,
55255525
"minInterval": 0,
55265526
"maxInterval": 65344,
@@ -8066,6 +8066,90 @@
80668066
}
80678067
]
80688068
},
8069+
{
8070+
"name": "Fixed Label",
8071+
"code": 64,
8072+
"mfgCode": null,
8073+
"define": "FIXED_LABEL_CLUSTER",
8074+
"side": "client",
8075+
"enabled": 1,
8076+
"attributes": [
8077+
{
8078+
"name": "LabelList",
8079+
"code": 0,
8080+
"mfgCode": null,
8081+
"side": "client",
8082+
"type": "array",
8083+
"included": 1,
8084+
"storageOption": "RAM",
8085+
"singleton": 0,
8086+
"bounded": 0,
8087+
"defaultValue": "",
8088+
"reportable": 1,
8089+
"minInterval": 0,
8090+
"maxInterval": 65344,
8091+
"reportableChange": 0
8092+
},
8093+
{
8094+
"name": "ClusterRevision",
8095+
"code": 65533,
8096+
"mfgCode": null,
8097+
"side": "client",
8098+
"type": "int16u",
8099+
"included": 1,
8100+
"storageOption": "RAM",
8101+
"singleton": 0,
8102+
"bounded": 0,
8103+
"defaultValue": "1",
8104+
"reportable": 1,
8105+
"minInterval": 0,
8106+
"maxInterval": 65344,
8107+
"reportableChange": 0
8108+
}
8109+
]
8110+
},
8111+
{
8112+
"name": "Fixed Label",
8113+
"code": 64,
8114+
"mfgCode": null,
8115+
"define": "FIXED_LABEL_CLUSTER",
8116+
"side": "server",
8117+
"enabled": 1,
8118+
"attributes": [
8119+
{
8120+
"name": "LabelList",
8121+
"code": 0,
8122+
"mfgCode": null,
8123+
"side": "server",
8124+
"type": "array",
8125+
"included": 1,
8126+
"storageOption": "RAM",
8127+
"singleton": 0,
8128+
"bounded": 0,
8129+
"defaultValue": "",
8130+
"reportable": 1,
8131+
"minInterval": 0,
8132+
"maxInterval": 65344,
8133+
"reportableChange": 0
8134+
},
8135+
{
8136+
"name": "ClusterRevision",
8137+
"code": 65533,
8138+
"mfgCode": null,
8139+
"side": "server",
8140+
"type": "int16u",
8141+
"included": 1,
8142+
"storageOption": "RAM",
8143+
"singleton": 0,
8144+
"bounded": 0,
8145+
"defaultValue": "1",
8146+
"reportable": 1,
8147+
"minInterval": 0,
8148+
"maxInterval": 65344,
8149+
"reportableChange": 0
8150+
}
8151+
]
8152+
},
80698153
{
80708154
"name": "Color Control",
80718155
"code": 768,

0 commit comments

Comments
 (0)