Hello @JB1234 ,
After analyzing your source code I noticed that there is some missing configuration points on the binding management needed for the reporting attribute.
In fact, to use a reporting attribute you need to follow these steps :
- Configure the attribute intervals by calling ZbZclAttrReportConfigDefault ( Local - Server side ), Or using the function ZbZclAttrReportConfigReq (Remote - Client side)
- Add a binding entry to the stack's binding table by calling the function ZbApsmeBindReq ( Local configuration)
The Binding entry is added automatically when the ZbZclAttrReportConfigReq is called from the client.
- Configure the reporting callback on the client side zigbee_app_info.temp_meas_client->report = &APP_ZIGBEE_Temp_meas_client_report; <== Callback used to receive ZCL Report
In your case, the ZCL_TEMP_MEAS_ATTR_MEAS_VAL attribute was not added as a binding entry point that leads of no reporting possible over the binding table.
Please find in attachment the file app_zigbee.c modified.
Best regards,
Ouadi