Skip to content

Commit

Permalink
Enable fan control cluster in controllers. (#15837)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored and pull[bot] committed Mar 4, 2022
1 parent 3b05071 commit 1067687
Show file tree
Hide file tree
Showing 30 changed files with 2,412 additions and 268 deletions.
2 changes: 2 additions & 0 deletions src/app/zap_cluster_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
'DOOR_LOCK_CLUSTER': ['door-lock-server'],
'ELECTRICAL_MEASUREMENT_CLUSTER': [],
'ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER': ['ethernet-network-diagnostics-server'],
'FAN_CONTROL_CLUSTER': [],
'FIXED_LABEL_CLUSTER': ['fixed-label-server'],
'FLOW_MEASUREMENT_CLUSTER': [],
'GENERAL_COMMISSIONING_CLUSTER': ['general-commissioning-server'],
Expand Down Expand Up @@ -115,6 +116,7 @@
'DOOR_LOCK_CLUSTER': [],
'ELECTRICAL_MEASUREMENT_CLUSTER': [],
'ETHERNET_NETWORK_DIAGNOSTICS_CLUSTER': [],
'FAN_CONTROL_CLUSTER': [],
'FIXED_LABEL_CLUSTER': [],
'FLOW_MEASUREMENT_CLUSTER': [],
'GENERAL_COMMISSIONING_CLUSTER': [],
Expand Down
11 changes: 11 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,16 @@ client cluster EthernetNetworkDiagnostics = 55 {
command ResetCounts(): DefaultSuccess = 0;
}

client cluster FanControl = 514 {
attribute enum8 fanMode = 0;
attribute enum8 fanModeSequence = 1;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
readonly global attribute command_id clientGeneratedCommandList[] = 65529;
readonly global attribute attrib_id attributeList[] = 65531;
readonly global attribute bitmap32 featureMap = 65532;
readonly global attribute int16u clusterRevision = 65533;
}

client cluster FixedLabel = 64 {
readonly attribute LabelStruct labelList[] = 0;
readonly global attribute command_id serverGeneratedCommandList[] = 65528;
Expand Down Expand Up @@ -4039,6 +4049,7 @@ endpoint 1 {
binding cluster DoorLock;
binding cluster ElectricalMeasurement;
binding cluster EthernetNetworkDiagnostics;
binding cluster FanControl;
binding cluster FixedLabel;
binding cluster FlowMeasurement;
binding cluster GeneralCommissioning;
Expand Down
Loading

0 comments on commit 1067687

Please sign in to comment.