Skip to content

Commit 0716a33

Browse files
Add/Update generated files
1 parent d2668d0 commit 0716a33

Some content is hidden

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

51 files changed

+21025
-3242
lines changed

docs/zap_clusters.md

+2
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ Generally regenerate using one of:
8383
| 151 | 0x97 | Messages |
8484
| 152 | 0x98 | DeviceEnergyManagement |
8585
| 153 | 0x99 | EnergyEvse |
86+
| 154 | 0x9A | EnergyCalendar |
8687
| 155 | 0x9B | EnergyPreference |
8788
| 156 | 0x9C | PowerTopology |
8889
| 157 | 0x9D | EnergyEvseMode |
@@ -130,6 +131,7 @@ Generally regenerate using one of:
130131
| 1295 | 0x50F | ContentControl |
131132
| 1296 | 0x510 | ContentAppObserver |
132133
| 2820 | 0xB04 | ElectricalMeasurement |
134+
| 2822 | 0xB06 | MeterIdentification |
133135
| 4294048773 | 0xFFF1FC05 | UnitTesting |
134136
| 4294048774 | 0xFFF1FC06 | FaultInjection |
135137
| 4294048800 | 0xFFF1FC20 | SampleMei |

src/controller/data_model/controller-clusters.matter

+118
Original file line numberDiff line numberDiff line change
@@ -4992,6 +4992,91 @@ cluster EnergyEvse = 153 {
49924992
timed command ClearTargets(): DefaultSuccess = 7;
49934993
}
49944994

4995+
/** */
4996+
cluster EnergyCalendar = 154 {
4997+
revision 3;
4998+
4999+
enum PeakPeriodSeverityEnum : enum8 {
5000+
kUnused = 0;
5001+
kLow = 1;
5002+
kMedium = 2;
5003+
kHigh = 3;
5004+
}
5005+
5006+
bitmap AuxiliaryLoadBitmap : bitmap8 {
5007+
kAuxiliarySwitch1 = 0x1;
5008+
kAuxiliarySwitch2 = 0x2;
5009+
kAuxiliarySwitch3 = 0x4;
5010+
kAuxiliarySwitch4 = 0x8;
5011+
kAuxiliarySwitch5 = 0x10;
5012+
kAuxiliarySwitch6 = 0x20;
5013+
kAuxiliarySwitch7 = 0x40;
5014+
kAuxiliarySwitch8 = 0x80;
5015+
}
5016+
5017+
bitmap Feature : bitmap32 {
5018+
kPricingTier = 0x1;
5019+
kFriendlyCredit = 0x2;
5020+
kAuxiliaryLoad = 0x4;
5021+
kPeakPeriod = 0x8;
5022+
}
5023+
5024+
bitmap TransitionDayOfWeekBitmap : bitmap8 {
5025+
kSunday = 0x1;
5026+
kMonday = 0x2;
5027+
kTuesday = 0x4;
5028+
kWednesday = 0x8;
5029+
kThursday = 0x10;
5030+
kFriday = 0x20;
5031+
kSaturday = 0x40;
5032+
}
5033+
5034+
struct TransitionStruct {
5035+
int16u transitionTime = 0;
5036+
optional int32u priceTier = 1;
5037+
optional boolean friendlyCredit = 2;
5038+
optional AuxiliaryLoadBitmap auxiliaryLoad = 3;
5039+
}
5040+
5041+
struct DayStruct {
5042+
optional date date = 0;
5043+
optional TransitionDayOfWeekBitmap daysOfWeek = 1;
5044+
TransitionStruct transitions[] = 2;
5045+
optional int32u calendarID = 3;
5046+
}
5047+
5048+
struct CalendarPeriodStruct {
5049+
nullable epoch_s startDate = 0;
5050+
DayStruct days[] = 1;
5051+
}
5052+
5053+
struct PeakPeriodStruct {
5054+
PeakPeriodSeverityEnum severity = 0;
5055+
int16u peakPeriod = 1;
5056+
nullable epoch_s startTime = 2;
5057+
nullable epoch_s endTime = 3;
5058+
}
5059+
5060+
readonly attribute nullable int32u calendarID = 0;
5061+
readonly attribute nullable char_string<12> name = 1;
5062+
readonly attribute nullable int32u providerID = 2;
5063+
readonly attribute nullable int32u eventID = 3;
5064+
readonly attribute nullable epoch_s startDate = 4;
5065+
readonly attribute nullable CalendarPeriodStruct calendarPeriods[] = 5;
5066+
readonly attribute nullable DayStruct specialDays[] = 6;
5067+
readonly attribute nullable DayStruct currentDay = 7;
5068+
readonly attribute nullable DayStruct nextDay = 8;
5069+
readonly attribute nullable TransitionStruct currentTransition = 9;
5070+
readonly attribute optional nullable PeakPeriodStruct currentPeakPeriod = 10;
5071+
readonly attribute optional nullable PeakPeriodStruct nextPeakPeriod = 11;
5072+
readonly attribute command_id generatedCommandList[] = 65528;
5073+
readonly attribute command_id acceptedCommandList[] = 65529;
5074+
readonly attribute event_id eventList[] = 65530;
5075+
readonly attribute attrib_id attributeList[] = 65531;
5076+
readonly attribute bitmap32 featureMap = 65532;
5077+
readonly attribute int16u clusterRevision = 65533;
5078+
}
5079+
49955080
/** This cluster provides an interface to specify preferences for how devices should consume energy. */
49965081
provisional cluster EnergyPreference = 155 {
49975082
revision 1;
@@ -8978,6 +9063,39 @@ deprecated cluster ElectricalMeasurement = 2820 {
89789063
command GetMeasurementProfileCommand(GetMeasurementProfileCommandRequest): DefaultSuccess = 1;
89799064
}
89809065

9066+
/** */
9067+
cluster MeterIdentification = 2822 {
9068+
revision 1;
9069+
9070+
enum MeterTypeEnum : enum8 {
9071+
kUtility = 0;
9072+
kPrivate = 1;
9073+
kGeneric = 2;
9074+
}
9075+
9076+
enum PowerThresholdSourceEnum : enum8 {
9077+
kContract = 0;
9078+
kRegulator = 1;
9079+
kEquipment = 2;
9080+
}
9081+
9082+
bitmap Feature : bitmap32 {
9083+
kPowerThreshold = 0x1;
9084+
}
9085+
9086+
readonly attribute nullable MeterTypeEnum meterType = 0;
9087+
readonly attribute nullable char_string<16> utilityName = 1;
9088+
readonly attribute nullable char_string<16> pointOfDelivery = 2;
9089+
readonly attribute optional nullable power_mw powerThreshold = 3;
9090+
readonly attribute optional nullable PowerThresholdSourceEnum powerThresholdSource = 4;
9091+
readonly attribute command_id generatedCommandList[] = 65528;
9092+
readonly attribute command_id acceptedCommandList[] = 65529;
9093+
readonly attribute event_id eventList[] = 65530;
9094+
readonly attribute attrib_id attributeList[] = 65531;
9095+
readonly attribute bitmap32 featureMap = 65532;
9096+
readonly attribute int16u clusterRevision = 65533;
9097+
}
9098+
89819099
/** The Test Cluster is meant to validate the generated code */
89829100
internal cluster UnitTesting = 4294048773 {
89839101
revision 1; // NOTE: Default/not specifically set

0 commit comments

Comments
 (0)