keep the retransmission timer in case the node gets synchronized next time.
@@ -172,6 +172,13 @@ void cjoin_retransmission_task_cb(void) {
open_addr_t* joinProxy;
if (ieee154e_isSynch() == FALSE){
+ // keep the retransmission timer, in case it synchronized at next time
+ opentimers_scheduleIn(cjoin_vars.timerId,
+ (uint32_t) TIMEOUT,
+ TIME_MS,
+ TIMER_ONESHOT,
+ cjoin_retransmission_cb
+ );
return;
}
