Other Parts Discussed in Thread: CC1352P, Z-STACK
Hello!
As you perhaps can see from previous tickets, we have prepared a preliminary plant test made of 20 zigBee devices, same Hw, same Fw, each one structured the following way:
4 x router devices: "zr_genericapp_CC1352P_2_LAUNCHXL_tirtos_ticlang"
16 x end devices: "zed_genericapp_CC1352P_2_LAUNCHXL_tirtos_ticlang"
All these devices have been configured in "zcl_genericapp_data.c " to handle 8 Endpoints, where each one disposes: 1 x ATTRID_SE_METERING_CURR_SUMM_DLVD, 1 x ATTRID_ON_OFF_ON_OFF
We use these devices to "collect power consumption" and to enable "power distribution"
All these devices are joined to a SONOFF coordinator and, at the moment, we can handle all devices using "ZigBee2Mqtt" application downloaded from the web.
We are testing the entire plant in laboratory in order to check the stability of the system along some weeks time....
During test period each device: a) sends periodically 4 "CurrentSummationDelivered" measures to our console "ZigBee2Mqtt" ; b) handles remote console ON/OFF commands
The biggest problem that has arisen recently is that sometimes (let's say one of the 20 devices each day) a single device sends the four Power measures, but does not accept ON/OFF commands! (all other devices are ok)
In this condition (using an external PC application talking with CC1352P processor by the use of a processor free Uart), we can check internal device main state variables: "zstack_DevState_DEV_END_DEVICE" (even BDB_COMMISSIONING_NETWORK_RESTORED): so they are.
Furthermore, the periodic transmission of "CurrentSummationDelivered" measures implies that the application is not locked!
But no way to activate the 8 ON/OFF buttons!
Every time this happens, it's sufficient turning off, then on power supply, and it all restarts working well!
Any idea about what could happen?
What can my internal application verify, besides checking " zstack_DevState"
Again many thanks!
BR
Luigi