CC2340R5: Which function in the protocol stack automatically invokes the rejoin request?

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.

  • 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