eZLL_RegisterCommissionEndPoint
teZCL_Status eZLL_RegisterCommissionEndPoint(
uint8 u8EndPointIdentifier,
tfpZCL_ZCLCallBackFunction cbCallBack,
tsZLL_CommissionEndpoint *psDeviceInfo);
Description
This function registers a ‘commissioning’ endpoint for Touchlink and creates a Touchlink Commissioning cluster instance on the endpoint.
Touchlink must have its own application (separate from the main application) on its own endpoint.
This function uses eCLD_ZllCommissionCreateCommission() to create the cluster instance. The type of cluster instance to be created (server or client, or both) is determined using the compile-time options in the header file zcl_options.h (refer to Section 44.10).
Parameters
u8EndPointIdentifier Identifier of endpoint to be registered - this is an endpoint number in the range 1 to 240
cbCallBack Pointer to a callback function to handle events associated with the registered endpoint
psDeviceInfo Pointer to structure to be used to hold Touchlink endpoint information (see Section 44.8.1)
Returns
E_ZCL_SUCCESS
Parent topic:Touchlink functions