From 9db4123352ef9391879595d0a8c0f46d804e8e35 Mon Sep 17 00:00:00 2001 From: Nico Maas Date: Fri, 3 Nov 2023 19:53:09 +0100 Subject: [PATCH] LoRaWAN OTAA example fix node.begin(); does not exist anymore, in OTAA speech, this should be node.restoreOTAA();. However, I am unsure what should be the correct way to fix the ABP example. --- examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino b/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino index 63dfe2bf..6dd74e14 100644 --- a/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino +++ b/examples/LoRaWAN/LoRaWAN_End_Device/LoRaWAN_End_Device.ino @@ -111,7 +111,7 @@ void setup() { // by calling "begin" /* Serial.print(F("[LoRaWAN] Resuming previous session ... ")); - state = node.begin(); + state = node.restoreOTAA(); if(state == RADIOLIB_ERR_NONE) { Serial.println(F("success!")); } else {