Good morning,
I'm facing a problem when trying to rejoin a secured network with a device (created starting from the GenericApp example). When security is disabled everything works perfectly but enabling security I'm facing the following problem:
One coordinator is running a secured network with pre-shared keys. A router joins the network, receive its address and becomes part of the network being able of exchanging data, etc.
If the router is reset and a RE-join is attempted, more retries are needed. In details, the router performs a network discovery (sending 3 beacon request and getting the responses) then sends an encrypted association request to the coordinator. The coordinator don't reply (probably the key index or frame counter is wrong or something similar) and the router times out after around 1400 ms. The router sens another beacon request, get the response and sends another encrypted association request to the coordinator. The process keeps going on until eventually the concentrator receives and accept the request and send an association response. The number of retries needed for the router to rejoin the network increases by 2 every time the router is reset and attempt a new rejoin.
This happens using the GenericApp (with some modifications to force rejoin) also, has anyone seen this also? Is it something about counters or key indexes?
In which way can the router rejoin the network immediately as it should be?
Thanks