Skip to content

Commit fd26ea2

Browse files
authored
Update lock-app gen/ folder with ZAP generated content (#3985)
1 parent e4d9b28 commit fd26ea2

18 files changed

+8064
-32165
lines changed

examples/lock-app/efr32/src/ZclCallbacks.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,22 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId
5757
}
5858
}
5959

60-
/** @brief Cluster Init
60+
/** @brief OnOff Cluster Init
6161
*
6262
* This function is called when a specific cluster is initialized. It gives the
6363
* application an opportunity to take care of cluster initialization procedures.
6464
* It is called exactly once for each endpoint where cluster is present.
6565
*
6666
* @param endpoint Ver.: always
67-
* @param clusterId Ver.: always
6867
*
6968
* TODO Issue #3841
70-
* emberAfClusterInitCallback happens before the stack initialize the cluster
69+
* emberAfOnOffClusterInitCallback happens before the stack initialize the cluster
7170
* attributes to the default value.
7271
* The logic here expects something similar to the deprecated Plugins callback
7372
* emberAfPluginOnOffClusterServerPostInitCallback.
7473
*
7574
*/
76-
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
75+
void emberAfOnOffClusterInitCallback(EndpointId endpoint)
7776
{
7877
// TODO: implement any additional Cluster Server init actions
7978
}

examples/lock-app/k32w/main/ZclCallbacks.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,22 @@ void emberAfPostAttributeChangeCallback(EndpointId endpoint, ClusterId clusterId
4545
BoltLockMgr().InitiateAction(0, *value ? BoltLockManager::LOCK_ACTION : BoltLockManager::UNLOCK_ACTION);
4646
}
4747

48-
/** @brief Cluster Init
48+
/** @brief OnOff Cluster Init
4949
*
5050
* This function is called when a specific cluster is initialized. It gives the
5151
* application an opportunity to take care of cluster initialization procedures.
5252
* It is called exactly once for each endpoint where cluster is present.
5353
*
5454
* @param endpoint Ver.: always
55-
* @param clusterId Ver.: always
5655
*
5756
* TODO Issue #3841
58-
* emberAfClusterInitCallback happens before the stack initialize the cluster
57+
* emberAfOnOffClusterInitCallback happens before the stack initialize the cluster
5958
* attributes to the default value.
6059
* The logic here expects something similar to the deprecated Plugins callback
6160
* emberAfPluginOnOffClusterServerPostInitCallback.
6261
*
6362
*/
64-
void emberAfClusterInitCallback(EndpointId endpoint, ClusterId clusterId)
63+
void emberAfOnOffClusterInitCallback(EndpointId endpoint)
6564
{
6665
// TODO: implement any additional Cluster Server init actions
6766
}

0 commit comments

Comments
 (0)