Part Number: LAUNCHXL-CC26X2R1
Hello,
I have two sensors connected to the LAUNCHXL-CC26X2R1 working as a coordinator. When I press the button on the sensors, the devices will disconnect form the coordinator. That's fine. Permit join is on (ZDO_MGMT_PERMIT_JOIN_REQ) - fe052536 0f ffff ff 00 e6 (allowing broadcast join, for all devices, join enabled without duration).
I do get the ZDO_LEAVE_IND from the coordinator:
fe0d45c9 aef3 eef27705008d1500 00 00 00 2a - ZDO_LEAVE_IND (this is sensor 1)
fe0d45c9 75e6 5a7b4a05008d1500 00 00 00 e4 - ZDO_LEAVE_IND (this is sensor 2)
We can see the ShortAddr, IEEEAddr, Request, Remove and Rejoin are all zero.
I would right away like to be able to have those devices rejoin. However, If I press the button on the devices to re-connect them to the network, it does not work.
If I restart my script device can re-join right away (script does start the network with ZDO_STARTUP_FROM_APP + ZDO_MGMT_PERMIT_JOIN_REQ).
How can I get my devices joining back without the need to restart my script/the network please?
I understand there are some options like ZDO_SET_REJOIN_PARAMETERS and APP_CNF_SET_ALLOWREJOIN_TC_POLICY. Is there a default backoff-timer? Do I need to use those functions?
Thanks,
Robert