Hi,
I have setup the Battery Mask attribute of the Power Config cluster for my device, and I have allowed it to be a reportable attribute. However I don't know how to program the function that can do the reporting when the coordinator configuring it to report. My coordinator sends a message about configures it to do reporting. Right now my device doesn't report anything. I know that when the coordinator configured reporting for the on/off attribute in SampleLight, the attribute was able to report the current on/off state every 10 minutes. So how can I code my program to do reporting of the battery mask attribute when the coordinator configures it to do reporting?
Scenario I am trying to achieve:
1. Coordinator configures reporting of the battery mask attribute, telling the min and max time to report
2. Device is configured for reporting and reports the battery mask attribute every X minutes within the min and max report time