Part Number: CC2340R5
Hi
I want to find out how the protocol stack automatically calls the rejoin request function, or what event will be triggered.
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,
The ZBOSS stack will automatically attempt to rejoin on device restart if it detects that it had previously joined a network (zb_bdb_is_factory_new), and the application is notified as to whether this is successful or not based on the ZB_BDB_SIGNAL_TC_REJOIN_DONE case. If the rejoin failed it can then choose to attempt the rejoin again by scheduling zb_bdb_initiate_tc_rejoin as an application alarm, as observed in the SimpleLink F3 SDK v9.14 on_off_switch.c example.
Regards,
Ryan