Skip to content

Commit

Permalink
Add clusters and attributes using yaml to check (#17152)
Browse files Browse the repository at this point in the history
* Add clusters and attributes to simulated app.

* Generated code
  • Loading branch information
krypton36 authored and pull[bot] committed Jun 23, 2023
1 parent 90bc467 commit 1057515
Show file tree
Hide file tree
Showing 11 changed files with 4,000 additions and 320 deletions.
28 changes: 28 additions & 0 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1748,12 +1748,34 @@ server cluster PowerSource = 47 {
readonly attribute enum8 status = 0;
readonly attribute int8u order = 1;
readonly attribute char_string<60> description = 2;
readonly attribute int32u wiredAssessedInputVoltage = 3;
readonly attribute int16u wiredAssessedInputFrequency = 4;
readonly attribute enum8 wiredCurrentType = 5;
readonly attribute int32u wiredAssessedCurrent = 6;
readonly attribute int32u wiredNominalVoltage = 7;
readonly attribute int32u wiredMaximumCurrent = 8;
readonly attribute boolean wiredPresent = 9;
readonly attribute ENUM8 activeWiredFaults[] = 10;
readonly attribute int32u batteryVoltage = 11;
readonly attribute int8u batteryPercentRemaining = 12;
readonly attribute int32u batteryTimeRemaining = 13;
readonly attribute enum8 batteryChargeLevel = 14;
readonly attribute boolean batteryReplacementNeeded = 15;
readonly attribute enum8 batteryReplaceability = 16;
readonly attribute boolean batteryPresent = 17;
readonly attribute ENUM8 activeBatteryFaults[] = 18;
readonly attribute char_string<60> batteryReplacementDescription = 19;
readonly attribute int32u batteryCommonDesignation = 20;
readonly attribute char_string<20> batteryANSIDesignation = 21;
readonly attribute char_string<20> batteryIECDesignation = 22;
readonly attribute int32u batteryApprovedChemistry = 23;
readonly attribute int32u batteryCapacity = 24;
readonly attribute int8u batteryQuantity = 25;
readonly attribute enum8 batteryChargeState = 26;
readonly attribute int32u batteryTimeToFullCharge = 27;
readonly attribute boolean batteryFunctionalWhileCharging = 28;
readonly attribute int32u batteryChargingCurrent = 29;
readonly attribute ENUM8 activeBatteryChargeFaults[] = 30;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;
}
Expand All @@ -1771,6 +1793,12 @@ server cluster PressureMeasurement = 1027 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute nullable int16s scaledValue = 16;
readonly attribute nullable int16s minScaledValue = 17;
readonly attribute nullable int16s maxScaledValue = 18;
readonly attribute int16u scaledTolerance = 19;
readonly attribute int8s scale = 20;
readonly attribute int16u clusterRevision = 65533;
}

Expand Down
Loading

0 comments on commit 1057515

Please sign in to comment.