rejoin after every powercycle, updated cubecell lib

This commit is contained in:
Joerg Lehmann 2021-02-22 18:13:20 +01:00
parent 4adaf33835
commit 15d75f10fc
2 changed files with 5 additions and 3 deletions

View File

@ -22,7 +22,7 @@ Das sind die verwendeten Libraries [1]:
| URL | Commit | Commit Date |
| --- | ----- | ----------- |
| https://github.com/HelTecAutomation/ASR650x-Arduino.git | 9856523 | Thu, 4 Feb 2021 18:02:48 +0800 |
| https://github.com/HelTecAutomation/ASR650x-Arduino.git | 7d1ef98 | Mon, 22 Feb 2021 17:19:27 +0800 |
| https://github.com/sparkfun/SparkFun_Qwiic_Scale_NAU7802_Arduino_Library.git | 688f255 | Fri, 3 Jan 2020 12:35:22 -0700 |
| https://github.com/sparkfun/SparkFun_BME280_Arduino_Library.git | 0b5eabf | Wed, 30 Dec 2020 20:44:27 -0700 |

View File

@ -12,7 +12,7 @@ BME280 bme280;
/******************************************************************************/
/* Firmware Version */
/******************************************************************************/
static const int32_t fwVersion = 20210206;
static const int32_t fwVersion = 20210222;
/******************************************************************************/
/* LoraWAN Settings */
@ -932,7 +932,9 @@ void setup() {
enableAt();
#endif
deviceState = DEVICE_STATE_INIT;
LoRaWAN.ifskipjoin();
//LoRaWAN.ifskipjoin();
// Join after every power cycle
LoRaWAN.join();
}
/******************************************************************************/