Logo
Developing with ZBOSS for Zigbee
zb_zcl_reporting.h File Reference

Data Structures

union  zb_zcl_attr_var_u
 

Macros

#define ZB_ZCL_MIN_REPORTING_INTERVAL_DEFAULT   0x0005
 
#define ZB_ZCL_MAX_REPORTING_INTERVAL_DEFAULT   0x0000
 
#define ZB_ZCL_REPORTING_NOT_NEEDED   0xFFFF
 If Maximum reporting interval is set to value 0xFFFF,reporting is not needed for current attribute. More...
 

Typedefs

typedef void(* zb_zcl_no_reporting_cb_t) (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint16_t attr_id)
 Informs application that some attribute value was not reported during defined time interval. More...
 
typedef void(* zb_zcl_report_attr_cb_t) (zb_zcl_addr_t *addr, zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint16_t attr_id, zb_uint8_t attr_type, zb_uint8_t *value)
 Informs application about received attribute report. More...
 

Functions

zb_ret_t zb_zcl_start_attr_reporting (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id)
 Start attribute reporting. More...
 
zb_ret_t zb_zcl_start_attr_reporting_manuf (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id, zb_uint16_t manuf_code)
 Start attribute reporting. More...
 
zb_ret_t zb_zcl_stop_attr_reporting (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id)
 Stop attribute reporting. More...
 
zb_ret_t zb_zcl_stop_attr_reporting_manuf (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id, zb_uint16_t manuf_code)
 Stop attribute reporting. More...
 
zb_bool_t zcl_is_attr_reported (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id)
 Check if an attribute is configured for reporting or not. More...
 
zb_bool_t zcl_is_attr_reported_manuf (zb_uint8_t ep, zb_uint16_t cluster_id, zb_uint8_t cluster_role, zb_uint16_t attr_id, zb_uint16_t manuf_code)
 Check if an attribute is configured for reporting or not. More...
 
zb_ret_t zb_zcl_put_reporting_info (zb_zcl_reporting_info_t *rep_info_ptr, zb_bool_t override)
 Set reporting configuration for the attribute. More...