Other Parts Discussed in Thread: Z-STACK
Reboot creates a big problem for me.
i have 3-4 networks.
New device, after switching on:
1) Scann channels and create list of network
2) After set zgConfigPANID , zgDefaultChannelList and call ZDOInitDevice
3) End device send test msg and if answer wrong i call NLME_LeaveReq with 'rejoin= FALSE'
The device reboots.
In the next cycle device connect to the next network and againe reboot using NLME_LeaveReq .
In this case device again connetc to the first network and i got crazy loop.
There's a normal way to disconnect from the network ?