Developing with ZBOSS for Zigbee
|
Data Structures | |
struct | zb_zcl_device_callback_param_s |
Data for Device user application callback. This structure has receive to User application callback (see zb_callback_t). More... | |
struct | zcl_cluster_handlers_s |
struct | zb_discover_cmd_list |
Macros | |
#define | ZB_ZCL_VERSION 8U |
ZCL version. According ZCL 8 spec: 3.2.2.2.1 ZCLVersion Attribute The ZCLVersion attribute represents a published set of foundation items (in Chapter 2), such as global commands and functional descriptions. For this version of the ZCL (this document), this attribute SHALL be set to 8. In the future, this value SHALL align with the release revision of the ZCL(CCB 2722). | |
#define | ZB_ZCL_SET_MODIFY_ATTR_VALUE_CB(func_ptr) |
Set modify attribute value callback. The macro sets a callback being called on external attribute change. The callback will be provided with all data necessary for correct value change handling. More... | |
#define | ZB_ZCL_SET_REPORT_ATTR_CB(func_ptr) |
Set report attribute callback. The macro sets a callback being called on receive attribute report. The callback will be provided with all data necessary for correct attribute handling. More... | |
#define | ZB_ZCL_SET_NO_REPORTING_CB(func_ptr) |
Set no reporting callback. The macro sets a callback being called on remote attribute reporting timeout. The callback will be provided with all data necessary for correct attribute report timeout handling. More... | |
#define | ZB_ZCL_SET_DEFAULT_VALUE_CB(func_ptr) |
Set "Set default value all attribute" callback. The macro sets a callback being called for need to set attribute to default value. More... | |
#define | ZB_ZCL_DEVICE_CMD_PARAM_IN_GET(_param, _ptype) ((const _ptype *) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.in)) |
#define | ZB_ZCL_DEVICE_CMD_PARAM_OUT_GET(_param, _ptype) ((_ptype *) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.out)) |
#define | ZB_ZCL_DEVICE_CMD_PARAM_CMD_INFO(_param) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.in_cmd_info) |
#define | ZB_ZCL_DEVICE_CMD_PARAM_CB_ID(_param) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->device_cb_id) |
#define | ZB_ZCL_DEVICE_CMD_PARAM_STATUS(_param) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->status) |
#define | ZB_ZCL_GENERAL_GET_CMD_LISTS_PARAM 0xFFU |
#define | ZB_ZCL_CLUSTER_HANDLERS_TABLE_SIZE 20 |
#define | ZB_ZCL_NON_VALUE_INT32 ((zb_int32_t)0x80000000) |
#define | ZB_ZCL_NON_VALUE_INT16 ((zb_int16_t)0x8000) |
#define | ZB_ZCL_NON_VALUE_INT8 ((zb_int8_t)0x80) |
#define | ZCL_CTX() (*zb_zcl_get_ctx()) |
Typedefs | |
typedef enum zb_zcl_device_callback_id_e | zb_zcl_device_callback_id_t |
typedef struct zb_zcl_device_callback_param_s | zb_zcl_device_callback_param_t |
Data for Device user application callback. This structure has receive to User application callback (see zb_callback_t). | |
typedef struct zcl_cluster_handlers_s | zcl_cluster_handlers_t |
typedef struct zb_discover_cmd_list | zb_discover_cmd_list_t |
typedef zb_bool_t(* | zb_zcl_is_high_freq_msg_func_t) (zb_bufid_t) |
typedef zb_bool_t(* | zb_zcl_block_zcl_cmd_t) (zb_zcl_parsed_hdr_t *) |
typedef zb_bool_t(* | zb_zcl_read_attr_resp_handler_t) (zb_bufid_t) |
Most of initialization is being handled automatically during device start. However, application may set additional callbacks for event handling. Particularly:
Sample use ZB_ZCL_SET_REPORT_ATTR_CB
Sample use ZB_ZCL_SET_NO_REPORTING_CB
#define ZB_ZCL_DEVICE_CMD_PARAM_CB_ID | ( | _param | ) | ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->device_cb_id) |
Get access to zb_zcl_device_callback_param_t::device_cb_id of device callback parameters.
_param | - Reference to buffer. |
#define ZB_ZCL_DEVICE_CMD_PARAM_CMD_INFO | ( | _param | ) | ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.in_cmd_info) |
Get access to zb_zcl_parsed_hdr_t data from device callback parameter.
_param | - Reference to buffer. |
#define ZB_ZCL_DEVICE_CMD_PARAM_IN_GET | ( | _param, | |
_ptype | |||
) | ((const _ptype *) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.in)) |
Get INPUT device callback parameter from buffer reference.
_param | - Reference to buffer. |
_ptype | - Target data type. |
#define ZB_ZCL_DEVICE_CMD_PARAM_OUT_GET | ( | _param, | |
_ptype | |||
) | ((_ptype *) ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->cb_param.gnr.out)) |
Get OUTPUT device callback parameter from buffer reference.
_param | - Reference to buffer. |
_ptype | - Target data type |
#define ZB_ZCL_DEVICE_CMD_PARAM_STATUS | ( | _param | ) | ((ZB_ZCL_DEVICE_CMD_PARAM(_param))->status) |
Get access to zb_zcl_device_callback_param_t::status of device callback parameters.
_param | - Reference to buffer. |
#define ZB_ZCL_NON_VALUE_INT16 ((zb_int16_t)0x8000) |
ZCL8 non-value for int16 type, see subclause 2.6.2.8
#define ZB_ZCL_NON_VALUE_INT32 ((zb_int32_t)0x80000000) |
ZCL8 non-value for int32 type, see subclause 2.6.2.8
#define ZB_ZCL_NON_VALUE_INT8 ((zb_int8_t)0x80) |
ZCL8 non-value for int8 type, see subclause 2.6.2.8
#define ZB_ZCL_SET_DEFAULT_VALUE_CB | ( | func_ptr | ) |
Set "Set default value all attribute" callback. The macro sets a callback being called for need to set attribute to default value.
func_ptr | - callback to set (of type zb_zcl_set_default_value_attr_cb_t). |
#define ZB_ZCL_SET_MODIFY_ATTR_VALUE_CB | ( | func_ptr | ) |
Set modify attribute value callback. The macro sets a callback being called on external attribute change. The callback will be provided with all data necessary for correct value change handling.
func_ptr | - a callback to set (of type zb_zcl_modify_attr_value_cb_t). |
#define ZB_ZCL_SET_NO_REPORTING_CB | ( | func_ptr | ) |
Set no reporting callback. The macro sets a callback being called on remote attribute reporting timeout. The callback will be provided with all data necessary for correct attribute report timeout handling.
func_ptr | - callback to set (of type zb_zcl_no_reporting_cb_t). |
#define ZB_ZCL_SET_REPORT_ATTR_CB | ( | func_ptr | ) |
Set report attribute callback. The macro sets a callback being called on receive attribute report. The callback will be provided with all data necessary for correct attribute handling.
func_ptr | - callback to set (of type zb_zcl_report_attr_cb_t). |
#define ZCL_CTX | ( | ) | (*zb_zcl_get_ctx()) |
Returns pointer to ZCL context
typedef enum zb_zcl_device_callback_id_e zb_zcl_device_callback_id_t |
Types of device user application callbacks
Types of device user application callbacks
Enumerator | |||||||
---|---|---|---|---|---|---|---|
ZB_ZCL_SET_ATTR_VALUE_CB_ID | Inform user about attribute value modification | ||||||
ZB_ZCL_ON_OFF_WITH_EFFECT_VALUE_CB_ID | Inform user about change On/Off effect
| ||||||
ZB_ZCL_SHADE_SET_VALUE_CB_ID | Inform user about ZCL Shade cluster shade position value modification | ||||||
ZB_ZCL_SHADE_GET_VALUE_CB_ID | Inform user that shade_get_value_param of ZCL Shade custer could be changed | ||||||
ZB_ZCL_IDENTIFY_EFFECT_CB_ID | Inform user about call identify effect command
| ||||||
ZB_ZCL_LEVEL_CONTROL_SET_VALUE_CB_ID | Inform user about ZCL Level Control cluster attributes value modification | ||||||
ZB_ZCL_IAS_ZONE_ENROLL_RESPONSE_VALUE_CB_ID | Inform user about enroll result command
| ||||||
ZB_ZCL_IAS_WD_START_WARNING_VALUE_CB_ID | Inform user about call Start warning command
| ||||||
ZB_ZCL_IAS_WD_SQUAWK_VALUE_CB_ID | Inform user about call Squawk command
| ||||||
ZB_ZCL_IAS_ACE_ARM_CB_ID | Server. Inform user about IAS ACE Arm command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_BYPASS_CB_ID | Server. Inform user about IAS ACE Bypass command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_EMERGENCY_CB_ID | Server. Inform user about IAS ACE Emergency command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_FIRE_CB_ID | Server. Inform user about IAS ACE Fire command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_PANIC_CB_ID | Server. Inform user about IAS ACE Panic command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_PANEL_STATUS_CB_ID | Server. Inform user about IAS ACE Get Panel Status command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_BYPASSED_ZONE_LIST_CB_ID | Server. Inform user about IAS ACE Get Bypassed Zone List command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_CB_ID | Server. Inform user about IAS ACE Get Zone Status command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_ARM_RESP_CB_ID | Client. Inform user about IAS ACE Arm Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_ZONE_ID_MAP_RESP_CB_ID | Client. Inform user about IAS ACE Get Zone ID Map Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_ZONE_INFO_RESP_CB_ID | Client. Inform user about IAS ACE Get Zone Info Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_ZONE_STATUS_CHANGED_CB_ID | Client. Inform user about IAS ACE Zone Status Changed command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_PANEL_STATUS_CHANGED_CB_ID | Client. Inform user about IAS ACE Panel Status Changed command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_PANEL_STATUS_RESP_CB_ID | Client. Inform user about IAS ACE Get Panel Status Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_SET_BYPASSED_ZONE_LIST_CB_ID | Client. Inform user about IAS ACE Set Bypassed Zone List command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_BYPASS_RESP_CB_ID | Client. Inform user about IAS ACE Bypass Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_IAS_ACE_GET_ZONE_STATUS_RESP_CB_ID | Client. Inform user about IAS ACE Get Zone Status Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_OTA_UPGRADE_VALUE_CB_ID | Inform user about OTA Upgrade commands | ||||||
ZB_ZCL_BASIC_RESET_CB_ID | Inform user about Basic Reset to Factory Defaults commands | ||||||
ZB_ZCL_THERMOSTAT_VALUE_CB_ID | Inform user about call Thermostat command
| ||||||
ZB_ZCL_POLL_CONTROL_CHECK_IN_CLI_CB_ID | Inform user about Check-In command from polled device | ||||||
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_CB_ID | Server. Inform user about EN50523 Appliance Events and Alerts Get Alerts command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_GET_ALERTS_RESP_CB_ID | Client. Inform user about EN50523 Appliance Events and Alerts Get Alerts Response command. User's application callback is initialized by RET_OK status of device callback parameters.
| ||||||
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_ALERTS_NOTIFICATION_CB_ID | Client. Inform user about EN50523 Appliance Events and Alerts Alerts Notification command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_EN50523_APPL_EV_AND_ALERTS_EVENT_NOTIFICATION_CB_ID | Client. Inform user about EN50523 Appliance Events and Alerts Event Notification command. User's application callback is initialized by RET_OK status of device callback parameters.
| ||||||
ZB_ZCL_OTA_UPGRADE_SRV_QUERY_IMAGE_CB_ID | Server. Inform user about Query next image request | ||||||
ZB_ZCL_OTA_UPGRADE_SRV_UPGRADE_STARTED_CB_ID | Server. Inform user about the first Image block request | ||||||
ZB_ZCL_OTA_UPGRADE_SRV_UPGRADE_ABORTED_CB_ID | Server. Inform user about the aborted Image block request | ||||||
ZB_ZCL_OTA_UPGRADE_SRV_UPGRADE_END_CB_ID | Server. Inform user about finished OTA upgrade | ||||||
ZB_ZCL_PRICE_GET_CURRENT_PRICE_CB_ID | Server. Ask user about payload for PublishPrice request. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_PRICE_GET_SCHEDULED_PRICES_CB_ID | Server. Notify user about GetScheduledPrices request. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_PRICE_GET_TIER_LABELS_CB_ID | Server. Notify user about GetTierLabels request. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_PRICE_PUBLISH_PRICE_CB_ID | Client. Inform user about PublishPrice request. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_PRICE_PUBLISH_TIER_LABELS_CB_ID | Client. Inform user about PublishTierLabels request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_PRICE_PRICE_ACK_CB_ID | Server. Inform user about PriceAck command. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DRLC_REPORT_EVENT_STATUS_CB_ID | Server. Inform user about change of state for an active Load Control event User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DRLC_GET_SCHEDULED_EVENTS_CB_ID | Server. Ask user about currently active or scheduled Load Control Events User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DRLC_LOAD_CONTROL_EVENT_CB_ID | Client. Inform user about received Load Control Event User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DRLC_CANCEL_LOAD_CONTROL_EVENT_CB_ID | Client. Inform user about Load Control Event cancellation User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DRLC_CANCEL_ALL_LOAD_CONTROL_EVENTS_CB_ID | Client. Inform user about all Load Control Events cancellation User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_MESSAGING_MSG_CONFIRMATION_CB_ID | Server. Inform user about received Message Confirmation request User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_MESSAGING_GET_LAST_MSG_CB_ID | Server. Ask user about payload for Display Message request User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_MESSAGING_CANCEL_MSG_CB_ID | Client. Inform user about received Cancel Message request User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_MESSAGING_DISPLAY_MSG_CB_ID | Client. Inform user about received Display Message request User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_REQUEST_TUNNEL_CB_ID | Server. Inform user about request to setup a tunnel association with the server User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_REQUEST_TUNNEL_RESPONSE_CB_ID | Client. Inform user about response to a RequestTunnel command User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_TRANSFER_DATA_CLI_CB_ID | Server. Inform user about received TransferData request User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_TRANSFER_DATA_SRV_CB_ID | Client. Inform user about received TransferData request User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_TRANSFER_DATA_ERROR_CLI_CB_ID | Server. Inform user about received TransferDataError request User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_TRANSFER_DATA_ERROR_SRV_CB_ID | Client. Inform user about received TransferDataError request User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_TUNNELING_CLOSE_TUNNEL_CB_ID | Server. Inform user about closing the tunnel with the server. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_GET_PROFILE_CB_ID | Server. Inform user about GetProfile request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_REQUEST_FAST_POLL_MODE_CB_ID | Server. Inform user about RequestFastPollMode request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_GET_SNAPSHOT_CB_ID | Server. Inform user about GetSnapshot request. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_GET_SAMPLED_DATA_CB_ID | Server. Inform user about GetSampledData request. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_GET_PROFILE_RESPONSE_CB_ID | Client. Inform user about response to GetProfileResponse command. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_REQUEST_FAST_POLL_MODE_RESPONSE_CB_ID | Client. Inform user about response to RequestFastPollMode command. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_PUBLISH_SNAPSHOT_CB_ID | Client. Inform user about response to GetSnapshot command. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_METERING_GET_SAMPLED_DATA_RESPONSE_CB_ID | Client. Inform user about response to GetSampledData command. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_WINDOW_COVERING_UP_OPEN_CB_ID | Server. Inform user about Window Covering Up/Open command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_WINDOW_COVERING_DOWN_CLOSE_CB_ID | Server. Inform user about Window Covering Down/Close command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_WINDOW_COVERING_STOP_CB_ID | Server. Inform user about Window Covering Stop command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_WINDOW_COVERING_GO_TO_LIFT_PERCENTAGE_CB_ID | Server. Inform user about Window Covering Go to Lift Percentage command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_WINDOW_COVERING_GO_TO_TILT_PERCENTAGE_CB_ID | Server. Inform user about Window Covering Go to Tilt Percentage command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_ADD_SCENE_CB_ID | Server. Inform application about incoming Add Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_STORE_SCENE_CB_ID | Server. Inform application about incoming Store Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_VIEW_SCENE_CB_ID | Server. Inform application about incoming View Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_REMOVE_SCENE_CB_ID | Server. Inform application about incoming Remove Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_REMOVE_ALL_SCENES_CB_ID | Server. Inform application about incoming Remove All Scenes request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_RECALL_SCENE_CB_ID | Server. Inform application about incoming Recall Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_GET_SCENE_MEMBERSHIP_CB_ID | Server. Inform application about incoming Get Scene Membership request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_ENHANCED_ADD_SCENE_CB_ID | Server. Inform application about incoming Enhanced Add Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_ENHANCED_VIEW_SCENE_CB_ID | Server. Inform application about incoming Enhanced View Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_COPY_SCENE_CB_ID | Server. Inform application about incoming Copy Scene request. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_CB_ID | Server. Internal: indicate to application that it is needed to remove all scenes on all endpoints for given group_id. User's application callback is initialized by RET_ERROR status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_SCENES_INTERNAL_REMOVE_ALL_SCENES_ALL_ENDPOINTS_ALL_GROUPS_CB_ID | Server. Internal: indicate to application that it is needed to remove all scenes on all endpoints for all groups (full reset of scenes table). User's application callback is initialized by RET_ERROR status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_DOOR_LOCK_LOCK_DOOR_CB_ID | Server. Inform user about Door Lock Lock Door command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DOOR_LOCK_UNLOCK_DOOR_CB_ID | Server. Inform user about Door Lock Unlock Door command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DOOR_LOCK_LOCK_DOOR_RESP_CB_ID | Client. Inform user about Door Lock Lock Door Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_DOOR_LOCK_UNLOCK_DOOR_RESP_CB_ID | Client. Inform user about Door Lock Unlock Door Response command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_ALARMS_RESET_ALARM_CB_ID | Server. Inform user about Alarms Reset Alarm command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_ALARMS_RESET_ALL_ALARMS_CB_ID | Server. Inform user about Alarms Reset All Alarms command. User's application callback is initialized by RET_OK status of device callback parameters. One of the following statuses must be returned:
| ||||||
ZB_ZCL_ALARMS_ALARM_CB_ID | Client. Inform user about Alarms Alarm command. User's application callback is initialized by RET_OK status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_WWAH_ENABLE_APP_EVENT_RETRY_ALGORITHM_CB_ID | Server. Inform user about receiving "Enable WWAH App Event Retry Algorithm" command. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_WWAH_DISABLE_APP_EVENT_RETRY_ALGORITHM_CB_ID | Server. Inform user about receiving "Disable WWAH App Event Retry Algorithm" command. User's application callback is initialized by RET_NOT_FOUND status of device callback parameters.
One of the following statuses must be returned:
| ||||||
ZB_ZCL_CONTROL4_NETWORK_ZAP_INFO_CB_ID | Server. Inform user application about Control4 Network ZAP information changes (event=ZB_ZCL_CONTROL4_NETWORK_ZAP_UPDATED) or failure to get changes (event=ZB_ZCL_CONTROL4_NETWORK_ZAP_DISCOVER_FAILED) after expiring the ZB_ZCL_CONTROL4_NETWORK_SEARCHING_ZAP_ATTEMPTS retries
| ||||||
ZB_ZCL_WWAH_DEBUG_REPORT_QUERY_CB_ID | Server. Inform user about receiving "Debug Report Query" command. If debug report exists, application must return pointer to this report User's application callback is initialized by RET_NOT_FOUND status of device callback parameter. One of the following statuses must be returned:
| ||||||
ZB_ZCL_WWAH_SET_IAS_ZONE_ENROLLMENT_METHOD_CB_ID | Server. Inform user about receiving "Set IAS Zone Enrollment Method" command. One of the following statuses must be returned:
|