Hi,
I am working a smart metering project. The metering function seems ok so far but I have two questions need some advice:
1) ZCL general ON/OFF function: I have implemented the ZCL general cluster ON/OFF function by register a callback in simplemeter_GenCmdCallbacks table. (No binding is used)
In END DEVICE configuration, the on/off function works properly and the coordinator has no problem to command the simple meter to turn on/off and read the On/Off attribute (of course with some delay because the End device is polling data from coordinator every 7~8seconds).
However when we put the simple meter to a ROUTER configuration, we found that the simple meter will works only for 2, 3 times.
That means after the coordinator toogle the simple meter for a few times, the meter will not response to the command from the coordinator (although it is still publishing metering data). Do you think there is something wrong in my Zstack setting that could lead to this behaviour?
Sometimes I also observed (through sniffer) when the meter stop responding, the meter will publish metering data for about 7~8 times consecutively, instead of publishing data for the designated report period.
2) Multiple Device scenario: When there are multiple meters are configured as router, there are cases some meters join the network through another router meters instead of the coordinator directly. When this happen these child meters will publish report data to the parent router instead of publish report data to the coordinator. It seems the parent meters does not forward the data to the coordinator. Do you think if TI's simplemeter demo code has implemented this feature or not? If not can you suggest where should I implement the code in the Zstack?
Many thanks,
Mercury