ZLL On/Off Server#
API and Callbacks for the ZLL On/Off Cluster Server Component.
Silicon Labs implementation of the original Zigbee Light Link profile enhancements to the On/Off server cluster. The component is only intended to assist with debugging, as the implemented callbacks simply parse requests from the Identify client and blink LEDs. Before production, this component should be replaced with code that acts on the requests in an appropriate way. Note that the extensions do not now require Touchlink commissioning to be used, and that the commands may now be required by other device types, such as Lighting and Occupancy.
Modules#
API#
Turn off ZLL extensions.
Turn on ZLL extensions.
Toggle ZLL extensions.
Level control cluster command for ZLL extensions.
API Documentation#
sl_zigbee_af_zll_on_off_server_off_zll_extensions#
sl_zigbee_af_status_t sl_zigbee_af_zll_on_off_server_off_zll_extensions (const sl_zigbee_af_cluster_command_t * cmd)
Turn off ZLL extensions.
Type | Direction | Argument Name | Description |
---|---|---|---|
const sl_zigbee_af_cluster_command_t * | N/A | cmd | pointer to the cluster command struct Ver.: always |
Returns
sl_zigbee_af_status_t return status
sl_zigbee_af_zll_on_off_server_on_zll_extensions#
sl_zigbee_af_status_t sl_zigbee_af_zll_on_off_server_on_zll_extensions (const sl_zigbee_af_cluster_command_t * cmd)
Turn on ZLL extensions.
Type | Direction | Argument Name | Description |
---|---|---|---|
const sl_zigbee_af_cluster_command_t * | N/A | cmd | pointer to the cluster command struct Ver.: always |
Returns
sl_zigbee_af_status_t return status
sl_zigbee_af_zll_on_off_server_toggle_zll_extensions#
sl_zigbee_af_status_t sl_zigbee_af_zll_on_off_server_toggle_zll_extensions (const sl_zigbee_af_cluster_command_t * cmd)
Toggle ZLL extensions.
Type | Direction | Argument Name | Description |
---|---|---|---|
const sl_zigbee_af_cluster_command_t * | N/A | cmd | pointer to the cluster command struct Ver.: always |
Returns
sl_zigbee_af_status_t return status
sl_zigbee_af_zll_on_off_server_level_control_zll_extensions#
sl_zigbee_af_status_t sl_zigbee_af_zll_on_off_server_level_control_zll_extensions (uint8_t endpoint)
Level control cluster command for ZLL extensions.
Type | Direction | Argument Name | Description |
---|---|---|---|
uint8_t | N/A | endpoint | Ver.: always |
Returns
sl_zigbee_af_status_t return status