STM32WB55 zigbee reporting issue. How to enable automated reports of registered servers?
Hello,
I've got an issue with STM32WB55
(ZigBee) reporting routines. I've successfully registered 3 servers
(temp_meas_server_1, temp_meas_server_2, water_content_server_1). I can easily
read the temperatures and the humidity from my ED using another ED (address
0x0000). The attributes data is refreshed every 1 second.
Unfortunately, there is no way to enable the BDB Reporting. The attribute list is as follows:
static const struct ZbZclAttrT ZclTemp_AttrList[] = {
{
ZCL_TEMP_MEAS_ATTR_MEAS_VAL, ZCL_DATATYPE_SIGNED_16BIT,
ZCL_ATTR_FLAG_REPORTABLE,
0, // custom size
NULL, // callback
{60, 120},
{10, 20}
},
{
ZCL_TEMP_MEAS_ATTR_MIN_MEAS_VAL, ZCL_DATATYPE_SIGNED_16BIT,
ZCL_ATTR_FLAG_NONE,
0, // custom size
NULL, // callback
{0, 0},
{0, 0}
},
{
ZCL_TEMP_MEAS_ATTR_MAX_MEAS_VAL, ZCL_DATATYPE_SIGNED_16BIT,
ZCL_ATTR_FLAG_NONE,
0, // custom size
NULL, // callback
{0, 0},
{0, 0}
},
};
result = ZbZclAttrAppendList(zigbee_app_info.temperature_meas_client_1, ZclTemp_AttrList, ZCL_ATTR_LIST_LEN(ZclTemp_AttrList));
Then goes the report config:
result = ZbZclAttrReportConfigDefault(zigbee_app_info.temperature_meas_client_1, ZCL_TEMP_MEAS_ATTR_MEAS_VAL, 0, 0, (double *)&chg);
And binding:
result = ZbZclClusterBind(zigbee_app_info.temperature_meas_client_1, ENDPOINT_1, ZCL_PROFILE_HOME_AUTOMATION, ZCL_DIRECTION_TO_CLIENT);
The “result�? in binding is: ZCL_STATUS_INSUFFICIENT_SPACE
Any ideas, how to configure binding and reporting?