Skip to content

Commit

Permalink
Updated for the relative files of MicrowaveOvenControl cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
mideayanghui committed Oct 30, 2023
1 parent 9c87560 commit ffc182e
Show file tree
Hide file tree
Showing 39 changed files with 29,710 additions and 29,518 deletions.
60 changes: 30 additions & 30 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3347,6 +3347,36 @@ client cluster DishwasherAlarm = 93 {
command ModifyEnabledAlarms(ModifyEnabledAlarmsRequest): DefaultSuccess = 1;
}

/** Attributes and commands for configuring the microwave oven control, and reporting cooking stats. */
provisional client cluster MicrowaveOvenControl = 95 {
readonly attribute elapsed_s cookTime = 1;
readonly attribute int8u powerSetting = 2;
readonly attribute optional int8u minPower = 3;
readonly attribute optional int8u maxPower = 4;
readonly attribute optional int8u powerStep = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct SetCookingParametersRequest {
optional int8u cookMode = 0;
optional elapsed_s cookTime = 1;
optional int8u powerSetting = 2;
}

request struct AddMoreTimeRequest {
elapsed_s timeToAdd = 0;
}

/** Set Cooking Parameters */
command SetCookingParameters(SetCookingParametersRequest): DefaultSuccess = 0;
/** Add More Cooking Time */
command AddMoreTime(AddMoreTimeRequest): DefaultSuccess = 1;
}

/** This cluster supports remotely monitoring and, where supported, changing the operational state of any device where a state machine is a part of the operation. */
client cluster OperationalState = 96 {
enum ErrorStateEnum : enum8 {
Expand Down Expand Up @@ -6443,36 +6473,6 @@ client cluster AccountLogin = 1294 {
timed command Logout(): DefaultSuccess = 3;
}

/** Attributes and commands for configuring the microwave oven control, and reporting cooking stats. */
client cluster MicrowaveOvenControl = 1295 {
readonly attribute elapsed_s cookTime = 1;
readonly attribute int8u powerSetting = 2;
readonly attribute optional int8u minPower = 3;
readonly attribute optional int8u maxPower = 4;
readonly attribute optional int8u powerStep = 5;
readonly attribute command_id generatedCommandList[] = 65528;
readonly attribute command_id acceptedCommandList[] = 65529;
readonly attribute event_id eventList[] = 65530;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute bitmap32 featureMap = 65532;
readonly attribute int16u clusterRevision = 65533;

request struct SetCookingParametersRequest {
optional int8u cookMode = 0;
optional elapsed_s cookTime = 1;
optional int8u powerSetting = 2;
}

request struct AddMoreTimeRequest {
elapsed_s timeToAdd = 0;
}

/** Set Cooking Parameters */
command SetCookingParameters(SetCookingParametersRequest): DefaultSuccess = 0;
/** Add More Cooking Time */
command AddMoreTime(AddMoreTimeRequest): DefaultSuccess = 1;
}

/** Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. */
client cluster ElectricalMeasurement = 2820 {
readonly attribute optional bitmap32 measurementType = 0;
Expand Down
Loading

0 comments on commit ffc182e

Please sign in to comment.