mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #15227 from zul00/fix/lora_timing/join_req_retransmission/call_in
lorawan: Fix Join Request retransmission timing (Interop test)pull/15238/head
commit
2d59c759bd
|
@ -739,7 +739,10 @@ void LoRaWANStack::process_reception_timeout(bool is_timeout)
|
||||||
_loramac.on_radio_rx_timeout(is_timeout);
|
_loramac.on_radio_rx_timeout(is_timeout);
|
||||||
|
|
||||||
if (slot == RX_SLOT_WIN_2 && !_loramac.nwk_joined()) {
|
if (slot == RX_SLOT_WIN_2 && !_loramac.nwk_joined()) {
|
||||||
state_controller(DEVICE_STATE_JOINING);
|
const int ret = _queue->call_in(
|
||||||
|
500, this, &LoRaWANStack::state_controller, DEVICE_STATE_JOINING);
|
||||||
|
MBED_ASSERT(ret != 0);
|
||||||
|
(void)ret;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue