[LoRaWAN] Improve example comments and persistence

This commit is contained in:
StevenCellist 2024-02-22 10:09:31 +01:00
parent 3d9db21387
commit fb2bbe56b2
3 changed files with 4 additions and 6 deletions

View file

@ -158,7 +158,7 @@ void loop() {
Serial.println(state); Serial.println(state);
} }
// on EEPROM enabled boards, you can save the current session // on EEPROM enabled boards, you should save the current session
// by calling "saveSession" which allows retrieving the session after reboot or deepsleep // by calling "saveSession" which allows retrieving the session after reboot or deepsleep
node.saveSession(); node.saveSession();

View file

@ -165,7 +165,7 @@ void loop() {
Serial.println(state); Serial.println(state);
} }
// on EEPROM enabled boards, you can save the current session // on EEPROM enabled boards, you should save the current session
// by calling "saveSession" which allows retrieving the session after reboot or deepsleep // by calling "saveSession" which allows retrieving the session after reboot or deepsleep
node.saveSession(); node.saveSession();

View file

@ -283,11 +283,9 @@ void loop() {
Serial.println(state); Serial.println(state);
} }
// on EEPROM enabled boards, you can save the current session // on EEPROM enabled boards, you should save the current session
// by calling "saveSession" which allows retrieving the session after reboot or deepsleep // by calling "saveSession" which allows retrieving the session after reboot or deepsleep
/* node.saveSession();
node.saveSession();
*/
// wait before sending another packet // wait before sending another packet
uint32_t minimumDelay = 60000; // try to send once every minute uint32_t minimumDelay = 60000; // try to send once every minute