Scenes Client#
API and Callbacks for the Scenes Cluster Client Component.
Silicon Labs implementation of the Scenes client cluster. The component is only intended to assist with debugging, as the implemented callbacks simply parse responses from the Scenes server and print the results. Before production, this component should be replaced with code that acts on the responses in an appropriate way.
API#
Add scenes response.
View scenes response.
API Documentation#
sl_zigbee_af_scenes_client_parse_add_scene_response#
sl_zigbee_af_zcl_request_status_t sl_zigbee_af_scenes_client_parse_add_scene_response (const sl_zigbee_af_cluster_command_t * cmd, uint8_t status, uint16_t groupId, uint8_t sceneId)
Add scenes response.
N/A | cmd | Cluster command Ver.: always |
N/A | status | Ver.: always |
N/A | groupId | Ver.: always |
N/A | sceneId | Ver.: always |
Returns
sl_zigbee_af_zcl_request_status_t SL_ZIGBEE_ZCL_STATUS_SUCCESS is success
50
of file app/framework/plugin/scenes-client/scenes-client.h
sl_zigbee_af_scenes_client_parse_view_scene_response#
sl_zigbee_af_zcl_request_status_t sl_zigbee_af_scenes_client_parse_view_scene_response (const sl_zigbee_af_cluster_command_t * cmd, uint8_t status, uint16_t groupId, uint8_t sceneId, uint16_t transitionTime, const uint8_t * sceneName, const uint8_t * extensionFieldSets, sl_zigbee_af_zcl_request_status_t)
View scenes response.
N/A | cmd | cluster command Ver.: always |
N/A | status | Ver.: always |
N/A | groupId | Ver.: always |
N/A | sceneId | Ver.: always |
N/A | transitionTime | Ver.: always |
N/A | sceneName | Ver.: always |
N/A | extensionFieldSets | Ver.: always |
N/A | sl_zigbee_af_zcl_request_status_t | SL_ZIGBEE_ZCL_STATUS_SUCCESS is success |
68
of file app/framework/plugin/scenes-client/scenes-client.h