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.
This commit is contained in:
Nico Maas 2023-11-03 19:53:09 +01:00 committed by GitHub
parent aca1d78a97
commit 9db4123352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {