File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ static parent_info_t *ws_bootstrap_candidate_parent_get(struct protocol_interfac
116116static void ws_bootstrap_candidate_parent_sort (struct protocol_interface_info_entry * cur , parent_info_t * new_entry );
117117static void ws_bootstrap_packet_congestion_init (protocol_interface_info_entry_t * cur );
118118
119+ static void ws_bootstrap_asynch_trickle_stop (protocol_interface_info_entry_t * cur );
120+ static void ws_bootstrap_advertise_start (protocol_interface_info_entry_t * cur );
121+
119122typedef enum {
120123 WS_PARENT_SOFT_SYNCH = 0 , /**< let FHSS make decision if synchronization is needed*/
121124 WS_PARENT_HARD_SYNCH , /**< Synch FHSS with latest synch information*/
@@ -2579,6 +2582,12 @@ static void ws_bootstrap_rpl_callback(rpl_event_t event, void *handle)
25792582 // After successful DAO ACK connection to border router is verified
25802583 cur -> ws_info -> pan_timeout_timer = cur -> ws_info -> cfg -> timing .pan_timeout ;
25812584
2585+
2586+ }
2587+
2588+ if (!cur -> ws_info -> trickle_pa_running || !cur -> ws_info -> trickle_pc_running ) {
2589+ //Enable wi-sun asynch adverisment
2590+ ws_bootstrap_advertise_start (cur );
25822591 }
25832592
25842593 ws_set_fhss_hop (cur );
You can’t perform that action at this time.
0 commit comments