From f2f47e088ab004b1faa257bbd4210490af5e0940 Mon Sep 17 00:00:00 2001 From: StevenCellist Date: Sat, 18 May 2024 11:18:09 +0200 Subject: [PATCH] [LoRaWAN] Fix activateABP() --- src/protocols/LoRaWAN/LoRaWAN.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/protocols/LoRaWAN/LoRaWAN.cpp b/src/protocols/LoRaWAN/LoRaWAN.cpp index 7790c5ff..63271919 100644 --- a/src/protocols/LoRaWAN/LoRaWAN.cpp +++ b/src/protocols/LoRaWAN/LoRaWAN.cpp @@ -832,6 +832,8 @@ int16_t LoRaWANNode::activateABP(bool force, uint8_t initialDr) { LoRaWANNode::hton(&this->bufferSession[RADIOLIB_LW_SESSION_HOMENET_ID], this->homeNetId); LoRaWANNode::hton(&this->bufferSession[RADIOLIB_LW_SESSION_VERSION], this->rev); + this->isActive = true; + return(RADIOLIB_LORAWAN_NEW_SESSION); }