STM32WB55 Zigbee reporting
Hello,
i am trying to get reporting from a remote temperature sensor Server ( End device)
is use ZbZclAttrReportConfigReq to acheive it. I got a STATUS SUCCES in the callback but the device never send its temperature.
Can you tell me if i miss someting ? Here is my code
Best
enum ZclStatusCodeT status;
struct ZbZclAttrReportConfigT config;
config.dst.mode = ZB_APSDE_ADDRMODE_SHORT;
config.dst.nwkAddr = AT_GetParam1_hex();
config.dst.endpoint = AT_GetParam2_hex();
config.num_records = 1;
config.record_list[0].direction = ZCL_REPORT_DIRECTION_NORMAL;
config.record_list[0].attr_id = 0; // Temperature ID is Zero
config.record_list[0].timeout_period = 30;
config.record_list[0].attr_type = ZCL_DATATYPE_GENERAL_16BIT;
config.record_list[0].min = 5;
config.record_list[0].max = 10;
config.record_list[0].change = 0.1;
status = ZbZclAttrReportConfigReq(
getAppInfo()->temp_meas_client,
&config,
AT_attReportCb,
NULL
);