Other Parts Discussed in Thread: CC2530, CC2630, Z-STACK, , LAUNCHXL-CC26X2R1
Hello,
I want to build router for my end device running on CC2530, CC2630 so i use Sample Light to build the router (Z-Stack Home 1.2.2a.44539), running on CC2530 chip.
But i have the problems: could not send data to End Devices through the Router. This only occur after some conditions. Be low is the step to produce it:
1, Coordinator running ZNP firmware for CC2530 (Z-Stack Home 1.2) or CC2652R (LAUNCHXL-CC26X2R1 zigbee 3.0 znp).
2, 1 router and 1 end device running Sample Light, both of them in range of the coordinator, I am not change any code, just disable EZ_MODE, and HOLD_AUTO_START, change build variable for each type device running on two CC2530 kit (I use these kit:
)
3, Start the network with ZTOOL for ZNP 1.2 and ZNP 3.0 with SENSOR-TO-CLOUD
. I test 1.2 ZNP first and then 3.0 ZNP.
4, Join router and and device to the network and it work fine, I can control on/off of them using AF_DATA_REQUEST for 1.2 and web ui for 3.0.
5, Stop the coordinator, unplug it power (Simulate coordinator offline or lost power in the real life), now after some seconds, the end device will send orphan and then re connect to the router.
6, Power the coordinator and then restart the network, now I only could control the Router, the End Device still connect to the network through the router but not receive or respond to the ON/OFF command.
So i will ask two question:
1, If it is Z-stack bug, how to fix it?
2, If it cause by the the sample light code, what is the best router solution for end devices running Z-stack 1.2?