This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
My ZED is a battery-device which goes to sleep for 1min and then wake-up. Now I am measuring the current while ZED loss connection from ZC and trying to rejoin ZC. The scenario is explained as follows:
1. ZED join ZC
2. ZED sends out tempertures and goes to sleep
3. Turn off ZC and ZED will call SystemReset() right after becoming orphan
4. ZED will send Beacon request after system reset and go to sleep if no ZC is on
5. ZED wakes up and sends another Beacon request and then goes to sleep again if no ZC is on
6. Turn on ZC
7. ZED wakes up and sends Beacon request and ZC responses Beacon
The question is why my ZED cannot rejoin ZC even though it gets ZC's Beacon response. The attached is sniffer packet.
Thanks!CANNOT_JOIN.rar
Actually, we dont want our ZED rejoin the old ZC and we want it to join any ZC which is available. If NV_RESTORE enabled, ZED will only try to rejoin the old ZC. Our ZED will call system reset once it becomes Orphan to look for any ZC available for it. I am testing one condition now: if no ZC turns on, ZED powers on and starts scanning channel, it will go to sleep when sleep timer expires and call ZDApp_StopJoiningCycle() b4 going to sleep. Next wakeup cycle, it will call ZDApp_StartJoiningCycle() to restart joining cycle.
I realized that after 2 wakeup cycle, I turned on ZC, ZED did not join the ZC anyway. I have to call system reset again to workaround this issue again. Is there any limit to call ZDApp_StartJoiningCycle() while ZED wakingup?
Thx!
Yes, I reduced this number to 0 and worked fine for me now :)
BTW, how could I know when ZED sends out Association Request?
Thx!