rejoin after every powercycle, updated cubecell lib
This commit is contained in:
parent
4adaf33835
commit
15d75f10fc
|
|
@ -22,7 +22,7 @@ Das sind die verwendeten Libraries [1]:
|
||||||
|
|
||||||
| URL | Commit | Commit Date |
|
| 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_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 |
|
| https://github.com/sparkfun/SparkFun_BME280_Arduino_Library.git | 0b5eabf | Wed, 30 Dec 2020 20:44:27 -0700 |
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ BME280 bme280;
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* Firmware Version */
|
/* Firmware Version */
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
static const int32_t fwVersion = 20210206;
|
static const int32_t fwVersion = 20210222;
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
/* LoraWAN Settings */
|
/* LoraWAN Settings */
|
||||||
|
|
@ -932,7 +932,9 @@ void setup() {
|
||||||
enableAt();
|
enableAt();
|
||||||
#endif
|
#endif
|
||||||
deviceState = DEVICE_STATE_INIT;
|
deviceState = DEVICE_STATE_INIT;
|
||||||
LoRaWAN.ifskipjoin();
|
//LoRaWAN.ifskipjoin();
|
||||||
|
// Join after every power cycle
|
||||||
|
LoRaWAN.join();
|
||||||
}
|
}
|
||||||
|
|
||||||
/******************************************************************************/
|
/******************************************************************************/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue