Skip to content

Commit

Permalink
Enable various power source attributes in controllers. (#18120)
Browse files Browse the repository at this point in the history
Fixes #13758
  • Loading branch information
bzbarsky-apple authored May 7, 2022
1 parent 94756b0 commit c52a030
Show file tree
Hide file tree
Showing 20 changed files with 7,033 additions and 195 deletions.
22 changes: 22 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3028,12 +3028,34 @@ client 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 command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute attrib_id attributeList[] = 65531;
Expand Down
Loading

0 comments on commit c52a030

Please sign in to comment.