Reporting#
API and Callbacks for the Reporting Component.
Silicon Labs implementation of reporting. Reports are asynchronous messages sent out when an ZCL attribute has changed. This component supports both requesting reports from another device and sending out attribute reports when the device has been configured to do so. If the application receives reports from multiple sources, Silicon Labs recommends configuring it as a concentrator. Note: This component only supports the binding-based interpretation of reporting in which reports are sent to corresponding entries in the binding table. Either the node sending the reports, the node receiving the reports, or another third-party configuration device may create the binding table entry(s) on the reporting node. For more details, refer to the Application Framework Developers Guide for the current SDK version.
Modules#
sli_zigbee_af_report_volatile_data_type
API#
Configure the new reported attribute.
Load the default reporting configuration.
Get the default reporting configuration.
Macros#
API Documentation#
sl_zigbee_af_reporting_configure_reported_attribute#
sl_zigbee_af_status_t sl_zigbee_af_reporting_configure_reported_attribute (const sl_zigbee_af_plugin_reporting_entry_t * newEntry)
Configure the new reported attribute.
N/A | newEntry | Pointer to the struct containing the reporting configuration entry |
Returns
sl_zigbee_af_status_t Status code
115
of file app/framework/plugin/reporting/reporting.h
sl_zigbee_af_reporting_load_reporting_config_defaults#
void sl_zigbee_af_reporting_load_reporting_config_defaults (void )
Load the default reporting configuration.
N/A |
119
of file app/framework/plugin/reporting/reporting.h
sl_zigbee_af_reporting_get_reporting_config_defaults#
bool sl_zigbee_af_reporting_get_reporting_config_defaults (sl_zigbee_af_plugin_reporting_entry_t * defaultConfiguration)
Get the default reporting configuration.
N/A | defaultConfiguration | Pointer to the struct where default configuration will be stored |
Returns
bool true if there is a default value
128
of file app/framework/plugin/reporting/reporting.h
Variable Documentation#
sli_zigbee_af_report_volatile_data#
sli_zigbee_af_report_volatile_data_type sli_zigbee_af_report_volatile_data[]
101
of file app/framework/plugin/reporting/reporting.h
Macro Definition Documentation#
NULL_INDEX#
#define NULL_INDEXValue:
0xFFFF
62
of file app/framework/plugin/reporting/reporting.h
REPORTING_TABLE_MAX_RANGE#
#define REPORTING_TABLE_MAX_RANGEValue:
127
72
of file app/framework/plugin/reporting/reporting.h
REPORTING_TABLE_PLUGIN_SIZE#
#define REPORTING_TABLE_PLUGIN_SIZEValue:
(SL_ZIGBEE_AF_PLUGIN_REPORTING_TABLE_SIZE)
73
of file app/framework/plugin/reporting/reporting.h
REPORT_TABLE_SIZE#
#define REPORT_TABLE_SIZEValue:
(REPORTING_TABLE_PLUGIN_SIZE)
83
of file app/framework/plugin/reporting/reporting.h