This commit is contained in:
Klaus K Wilting 2018-09-21 19:30:02 +02:00
parent 5b9327512b
commit 5678a5b23c
3 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@ description = Paxcounter is a proof-of-concept ESP32 device for metering passeng
[common] [common]
; for release_version use max. 10 chars total, use any decimal format like "a.b.c" ; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
release_version = 1.4.36 release_version = 1.5.0
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running! ; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose ; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
debug_level = 0 debug_level = 0
@ -76,7 +76,7 @@ platform = ${common.platform_espressif32}
framework = arduino framework = arduino
board = heltec_wifi_lora_32 board = heltec_wifi_lora_32
board_build.partitions = ${common.board_build.partitions} board_build.partitions = ${common.board_build.partitions}
upload_speed = 115200 upload_speed = 921600
lib_deps = lib_deps =
${common.lib_deps_all} ${common.lib_deps_all}
${common.lib_deps_display} ${common.lib_deps_display}

View File

@ -15,7 +15,7 @@
limitations under the License. limitations under the License.
*/ */
#include "OTA.h" #include "ota.h"
const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE); const BintrayClient bintray(BINTRAY_USER, BINTRAY_REPO, BINTRAY_PACKAGE);

View File

@ -6,6 +6,7 @@
#include <WiFiClientSecure.h> #include <WiFiClientSecure.h>
#include <Update.h> #include <Update.h>
#include <BintrayClient.h> #include <BintrayClient.h>
#include <string>
void checkFirmwareUpdates(); void checkFirmwareUpdates();
void processOTAUpdate(const String &version); void processOTAUpdate(const String &version);