Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0203c61

Browse files
committedMar 16, 2025·
Regen_all to revert all .matter files back to remove global MeasurementType enum
1 parent b5353f6 commit 0203c61

File tree

113 files changed

+509
-4272
lines changed

Some content is hidden

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

113 files changed

+509
-4272
lines changed
 

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

-39
Original file line numberDiff line numberDiff line change
@@ -186,26 +186,6 @@ enum LandmarkTag : enum8 {
186186
kWineCooler = 50;
187187
}
188188

189-
enum MeasurementTypeEnum : enum16 {
190-
kUnspecified = 0;
191-
kVoltage = 1;
192-
kActiveCurrent = 2;
193-
kReactiveCurrent = 3;
194-
kApparentCurrent = 4;
195-
kActivePower = 5;
196-
kReactivePower = 6;
197-
kApparentPower = 7;
198-
kRMSVoltage = 8;
199-
kRMSCurrent = 9;
200-
kRMSPower = 10;
201-
kFrequency = 11;
202-
kPowerFactor = 12;
203-
kNeutralCurrent = 13;
204-
kElectricalEnergy = 14;
205-
kReactiveEnergy = 15;
206-
kApparentEnergy = 16;
207-
}
208-
209189
enum PositionTag : enum8 {
210190
kLeft = 0;
211191
kRight = 1;
@@ -280,25 +260,6 @@ struct TestGlobalStruct {
280260
optional nullable TestGlobalEnum myEnum = 2;
281261
}
282262

283-
struct MeasurementAccuracyRangeStruct {
284-
int64s rangeMin = 0;
285-
int64s rangeMax = 1;
286-
optional percent100ths percentMax = 2;
287-
optional percent100ths percentMin = 3;
288-
optional percent100ths percentTypical = 4;
289-
optional int64u fixedMax = 5;
290-
optional int64u fixedMin = 6;
291-
optional int64u fixedTypical = 7;
292-
}
293-
294-
struct MeasurementAccuracyStruct {
295-
MeasurementTypeEnum measurementType = 0;
296-
boolean measured = 1;
297-
int64s minMeasuredValue = 2;
298-
int64s maxMeasuredValue = 3;
299-
MeasurementAccuracyRangeStruct accuracyRanges[] = 4;
300-
}
301-
302263
struct LocationDescriptorStruct {
303264
char_string<128> locationName = 0;
304265
nullable int16s floorNumber = 1;

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

-39
Original file line numberDiff line numberDiff line change
@@ -186,26 +186,6 @@ enum LandmarkTag : enum8 {
186186
kWineCooler = 50;
187187
}
188188

189-
enum MeasurementTypeEnum : enum16 {
190-
kUnspecified = 0;
191-
kVoltage = 1;
192-
kActiveCurrent = 2;
193-
kReactiveCurrent = 3;
194-
kApparentCurrent = 4;
195-
kActivePower = 5;
196-
kReactivePower = 6;
197-
kApparentPower = 7;
198-
kRMSVoltage = 8;
199-
kRMSCurrent = 9;
200-
kRMSPower = 10;
201-
kFrequency = 11;
202-
kPowerFactor = 12;
203-
kNeutralCurrent = 13;
204-
kElectricalEnergy = 14;
205-
kReactiveEnergy = 15;
206-
kApparentEnergy = 16;
207-
}
208-
209189
enum PositionTag : enum8 {
210190
kLeft = 0;
211191
kRight = 1;
@@ -280,25 +260,6 @@ struct TestGlobalStruct {
280260
optional nullable TestGlobalEnum myEnum = 2;
281261
}
282262

283-
struct MeasurementAccuracyRangeStruct {
284-
int64s rangeMin = 0;
285-
int64s rangeMax = 1;
286-
optional percent100ths percentMax = 2;
287-
optional percent100ths percentMin = 3;
288-
optional percent100ths percentTypical = 4;
289-
optional int64u fixedMax = 5;
290-
optional int64u fixedMin = 6;
291-
optional int64u fixedTypical = 7;
292-
}
293-
294-
struct MeasurementAccuracyStruct {
295-
MeasurementTypeEnum measurementType = 0;
296-
boolean measured = 1;
297-
int64s minMeasuredValue = 2;
298-
int64s maxMeasuredValue = 3;
299-
MeasurementAccuracyRangeStruct accuracyRanges[] = 4;
300-
}
301-
302263
struct LocationDescriptorStruct {
303264
char_string<128> locationName = 0;
304265
nullable int16s floorNumber = 1;

0 commit comments

Comments
 (0)
Please sign in to comment.