[LoRaWAN] Do not reject first JoinAccept for 1.0.4 on Chirpstack
This commit is contained in:
parent
577a0761ac
commit
957a533089
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ int16_t LoRaWANNode::processJoinAccept(LoRaWANJoinEvent_t *joinEvent) {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// for v1.0.4, the JoinNonce is simply a non-repeating value (we only check the last value)
|
// for v1.0.4, the JoinNonce is simply a non-repeating value (we only check the last value)
|
||||||
if(joinNonceNew == this->joinNonce) {
|
if((this->joinNonce > 0) && (joinNonceNew == this->joinNonce)) {
|
||||||
return(RADIOLIB_ERR_JOIN_NONCE_INVALID);
|
return(RADIOLIB_ERR_JOIN_NONCE_INVALID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue