Hi TI,
I'm having trouble getting end-devices to rejoin a network they where once associated with.
The devices preform their scan and issues an Association request, I have noticed that the calling end-device never polls again to receive the Association response. Therefor never joins the network, but the router issues the new device update to the router, thinking the end device has join.If I restart the end devices they join the network instantly.
As we have an end device scenario where devices are mobile and need to migrate between networks,.
I am using the ZDApp_StartJoiningCycle() and ZDApp_StopJoiningCycle() to manage the scan process to conserve power, as the devices can spend extended periods between networks. After 4 scanning cycles I call;
zgWriteStartupOptions(ZG_STARTUP_SET, ZCD_STARTOPT_DEFAULT_NETWORK_STATE);
ZDOInitDevice( 0 );
To allow the device to stop the rejoining process and allow a new join to take place on a new network.
This issue seems to have come about after enabling security and could also be related to this post regarding router not rejoining when security is enabled.
https://e2e.ti.com/support/wireless_connectivity/zigbee_6lowpan_802-15-4_mac/f/158/t/180151
Setup;
CC2530
ZStack 2.50
MANAGED_SCAN
TC_LINKKEY_JOIN with pre-configured keys