Skip to content

Commit 8ed8a72

Browse files
committed
Code review fix.
1 parent e24643e commit 8ed8a72

File tree

126 files changed

+1582
-293
lines changed

Some content is hidden

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

126 files changed

+1582
-293
lines changed

examples/air-purifier-app/air-purifier-common/air-purifier-app.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/air-quality-sensor-app/air-quality-sensor-common/air-quality-sensor-app.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

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

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

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

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/bridge-app/bridge-common/bridge-app.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/camera-app/camera-common/camera-app.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/noip_rootnode_dimmablelight_bCwGYSDpoe.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_airpurifier_73a6fe2651.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_airpurifier_airqualitysensor_temperaturesensor_humiditysensor_thermostat_56de3d5f45.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_airqualitysensor_e63187f6c9.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_basicvideoplayer_0ff86e943b.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_colortemperaturelight_hbUnzYVeyn.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_contactsensor_27f76aeaf5.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_contactsensor_lFAGG1bfRO.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

examples/chef/devices/rootnode_contactsensor_lightsensor_occupancysensor_temperaturesensor_pressuresensor_flowsensor_humiditysensor_airqualitysensor_powersource_367e7cea91.matter

+12
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ enum PositionTag : enum8 {
196196
kColumn = 6;
197197
}
198198

199+
enum PowerThresholdSourceEnum : enum8 {
200+
kContract = 0;
201+
kRegulator = 1;
202+
kEquipment = 2;
203+
}
204+
199205
enum RelativePositionTag : enum8 {
200206
kUnder = 0;
201207
kNextTo = 1;
@@ -241,6 +247,12 @@ struct AtomicAttributeStatusStruct {
241247
status statusCode = 1;
242248
}
243249

250+
struct PowerThresholdStruct {
251+
optional int64s powerThreshold = 0;
252+
optional int64s apparentPowerThreshold = 1;
253+
nullable PowerThresholdSourceEnum powerThresholdSource = 2;
254+
}
255+
244256
/** Attributes and commands for putting a device into Identification mode (e.g. flashing a light). */
245257
cluster Identify = 3 {
246258
revision 4;

0 commit comments

Comments
 (0)