[LoRaWAN] Force default Rx2 for JoinAccept
This commit is contained in:
parent
7186ae598b
commit
139fc7ee35
1 changed files with 3 additions and 0 deletions
|
@ -537,6 +537,9 @@ int16_t LoRaWANNode::activateOTAA(uint8_t joinDr, LoRaWANJoinEvent_t *joinEvent)
|
|||
this->rxDelays[0] = RADIOLIB_LORAWAN_JOIN_ACCEPT_DELAY_1_MS;
|
||||
this->rxDelays[1] = RADIOLIB_LORAWAN_JOIN_ACCEPT_DELAY_2_MS;
|
||||
|
||||
// make sure the Rx2 settings are back to this band's default
|
||||
this->rx2 = this->band->rx2;
|
||||
|
||||
// handle Rx1 and Rx2 windows - returns RADIOLIB_ERR_NONE if a downlink is received
|
||||
state = downlinkCommon();
|
||||
RADIOLIB_ASSERT(state);
|
||||
|
|
Loading…
Add table
Reference in a new issue