File tree 3 files changed +72
-3
lines changed
examples/lighting-app/lighting-common
3 files changed +72
-3
lines changed Original file line number Diff line number Diff line change 64
64
for idl_file in $(find . -name '*.matter'); do
65
65
# TODO: all these conformance failures should be fixed
66
66
# Issues exist for most of them:
67
- # https://github.com/project-chip/connectedhomeip/issues/19180
68
67
# https://github.com/project-chip/connectedhomeip/issues/19176
69
68
# https://github.com/project-chip/connectedhomeip/issues/19175
70
69
# https://github.com/project-chip/connectedhomeip/issues/19173
90
89
if [ "$idl_file" = './examples/chef/devices/rootnode_temperaturesensor_Qy1zkNW7c3.matter' ]; then continue; fi
91
90
if [ "$idl_file" = './examples/chef/devices/rootnode_thermostat_bm3fb8dhYi.matter' ]; then continue; fi
92
91
if [ "$idl_file" = './examples/chef/devices/rootnode_windowcovering_RLCxaGi9Yx.matter' ]; then continue; fi
93
- if [ "$idl_file" = './examples/lighting-app/lighting-common/lighting-app.matter' ]; then continue; fi
94
92
if [ "$idl_file" = './examples/log-source-app/log-source-common/log-source-app.matter' ]; then continue; fi
95
93
if [ "$idl_file" = './examples/placeholder/linux/apps/app1/config.matter' ]; then continue; fi
96
94
if [ "$idl_file" = './examples/placeholder/linux/apps/app2/config.matter' ]; then continue; fi
Original file line number Diff line number Diff line change @@ -1291,6 +1291,8 @@ server cluster Switch = 59 {
1291
1291
INT8U totalNumberOfPressesCounted = 1;
1292
1292
}
1293
1293
1294
+ readonly attribute int8u numberOfPositions = 0;
1295
+ readonly attribute int8u currentPosition = 1;
1294
1296
readonly attribute command_id generatedCommandList[] = 65528;
1295
1297
readonly attribute command_id acceptedCommandList[] = 65529;
1296
1298
readonly attribute event_id eventList[] = 65530;
@@ -2055,6 +2057,8 @@ endpoint 0 {
2055
2057
}
2056
2058
2057
2059
server cluster Switch {
2060
+ ram attribute numberOfPositions default = 2;
2061
+ ram attribute currentPosition;
2058
2062
ram attribute featureMap;
2059
2063
ram attribute clusterRevision default = 1;
2060
2064
}
Original file line number Diff line number Diff line change 4540
4540
" mfgCode" : null,
4541
4541
" define" : " SWITCH_CLUSTER" ,
4542
4542
" side" : " client" ,
4543
- " enabled" : 0
4543
+ " enabled" : 0 ,
4544
+ " attributes" : [
4545
+
4546
+ {
4547
+ " name" : " NumberOfPositions" ,
4548
+ " code" : 0 ,
4549
+ " mfgCode" : null,
4550
+ " side" : " server" ,
4551
+ " type" : " int8u" ,
4552
+ " included" : 1 ,
4553
+ " storageOption" : " RAM" ,
4554
+ " singleton" : 0 ,
4555
+ " bounded" : 0 ,
4556
+ " defaultValue" : " 2" ,
4557
+ " reportable" : 1 ,
4558
+ " minInterval" : 0 ,
4559
+ " maxInterval" : 65344 ,
4560
+ " reportableChange" : 0
4561
+ },
4562
+ {
4563
+ " name" : " CurrentPosition" ,
4564
+ " code" : 1 ,
4565
+ " mfgCode" : null,
4566
+ " side" : " server" ,
4567
+ " type" : " int8u" ,
4568
+ " included" : 1 ,
4569
+ " storageOption" : " RAM" ,
4570
+ " singleton" : 0 ,
4571
+ " bounded" : 0 ,
4572
+ " defaultValue" : " " ,
4573
+ " reportable" : 1 ,
4574
+ " minInterval" : 0 ,
4575
+ " maxInterval" : 65344 ,
4576
+ " reportableChange" : 0
4577
+ }
4578
+ ]
4544
4579
},
4545
4580
{
4546
4581
" name" : " Switch" ,
4550
4585
" side" : " server" ,
4551
4586
" enabled" : 1 ,
4552
4587
" attributes" : [
4588
+ {
4589
+ " name" : " NumberOfPositions" ,
4590
+ " code" : 0 ,
4591
+ " mfgCode" : null,
4592
+ " side" : " server" ,
4593
+ " type" : " int8u" ,
4594
+ " included" : 1 ,
4595
+ " storageOption" : " RAM" ,
4596
+ " singleton" : 0 ,
4597
+ " bounded" : 0 ,
4598
+ " defaultValue" : " 2" ,
4599
+ " reportable" : 1 ,
4600
+ " minInterval" : 0 ,
4601
+ " maxInterval" : 65344 ,
4602
+ " reportableChange" : 0
4603
+ },
4604
+ {
4605
+ " name" : " CurrentPosition" ,
4606
+ " code" : 1 ,
4607
+ " mfgCode" : null,
4608
+ " side" : " server" ,
4609
+ " type" : " int8u" ,
4610
+ " included" : 1 ,
4611
+ " storageOption" : " RAM" ,
4612
+ " singleton" : 0 ,
4613
+ " bounded" : 0 ,
4614
+ " defaultValue" : " " ,
4615
+ " reportable" : 1 ,
4616
+ " minInterval" : 0 ,
4617
+ " maxInterval" : 65344 ,
4618
+ " reportableChange" : 0
4619
+ },
4553
4620
{
4554
4621
" name" : " FeatureMap" ,
4555
4622
" code" : 65532 ,
You can’t perform that action at this time.
0 commit comments