Hi! It is nice that the SDK implements internally the attribute reporting commands mechanism, but the thing is that I want to know when the reporting occurs, when implementing a server role for a specific cluster.
Consider such case that another client in the system has configured my end device to periodically report an attribute. The client did it using Configure Report command. Let's take for example a LocalTemperature attribute in Thermostat cluster ID. If the reporting interval is set to 1h then the best way would be to take a measurement just before reporting the attribute. Because of that I would like to have a single user callback which is called each time just before the SDK wants to report the attribute. I can't see any API which will help me to do it fast.
Instead I would have to override the default ZCL command handler and handle the Configure Report command on my own, set a periodic timer which will handle Attribute Reporting, and so on... This is a nonsense for me as the SDK implements all this stuff on its own. All I need is a simple callback called just before Attribute Report.
I'm not talking here about ZigBee device callback, because it handles only the situation when Attribute Report Request command is received, not the Configure Report command.
Looking forward to having some help to have the temperature reported through ZigBee always up-to-date.