Rename LoRaWAN example
This commit is contained in:
parent
72b54f1b2f
commit
3a6acadeef
8 changed files with 5 additions and 5 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -9,4 +9,4 @@ test
|
|||
.travis.yml
|
||||
script
|
||||
build
|
||||
|
||||
LilyGoLoRaBoard
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@
|
|||
│ └── UBlox_Recovery # Only support Ublox GNSS Module
|
||||
├── LoRaWAN # LoRaWAN examples
|
||||
│ ├── LMIC_Library_OTTA
|
||||
│ └── RadioLib_ABP
|
||||
│ └── RadioLib_OTAA
|
||||
├── OLED
|
||||
│ ├── SH1106FontUsage
|
||||
│ ├── SH1106GraphicsTest
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
│ └── UBlox_Recovery # Only support Ublox GNSS Module
|
||||
├── LoRaWAN # LoRaWAN examples
|
||||
│ ├── LMIC_Library_OTTA
|
||||
│ └── RadioLib_ABP
|
||||
│ └── RadioLib_OTAA
|
||||
├── OLED
|
||||
│ ├── SH1106FontUsage
|
||||
│ ├── SH1106GraphicsTest
|
||||
|
|
|
|||
|
|
@ -192,10 +192,10 @@ void setup()
|
|||
node.beginOTAA(joinEUI, devEUI, nwkKey, appKey);
|
||||
state = node.activateOTAA();
|
||||
debug(state < RADIOLIB_ERR_NONE, F("Join failed"), state, false);
|
||||
if (state == RADIOLIB_ERR_NONE) {
|
||||
if (state == RADIOLIB_ERR_NONE || state == RADIOLIB_LORAWAN_NEW_SESSION) {
|
||||
break;
|
||||
}
|
||||
delay(3000);
|
||||
delay(10000);
|
||||
Serial.print("Retry ");
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue