From e0eafbdfb48aaa22a4c59973b9203aed11ec8894 Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Sat, 7 Aug 2021 12:27:09 +0200 Subject: [PATCH 1/2] fix #124 --- RX_FSK/RX_FSK.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index 6957ccf..fbf0ace 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -2231,7 +2231,9 @@ void loopDecoder() { } #endif } else { +#if FEATURE_SONDEHUB sondehub_finish_data(&shclient, s, &sonde.config.sondehub); +#endif } // always send data, even if not valid.... if (rdzclient.connected()) { From 74eafe1fd6082fd475e9559a9c4e124fc318b59c Mon Sep 17 00:00:00 2001 From: "Hansi, dl9rdz" Date: Sat, 7 Aug 2021 23:16:51 +0200 Subject: [PATCH 2/2] maybe a first step for #122 --- .travis/push.sh | 2 ++ RX_FSK/RX_FSK.ino | 4 ++++ RX_FSK/data/index.html | 3 +++ RX_FSK/version.h | 4 ++-- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.travis/push.sh b/.travis/push.sh index 9e1d5d0..ff2e613 100755 --- a/.travis/push.sh +++ b/.travis/push.sh @@ -61,6 +61,8 @@ commit_website_files() { git add ${BRANCH}/update.ino.bin echo "${TRAVIS_COMMIT_MESSAGE}" >> ${BRANCH}/${VERSION}-changelog.txt git add ${BRANCH}/${VERSION}-changelog.txt + echo "

${VERSION}

" > ${BRANCH}/update-info.html + git add ${BRANCH}/update-info.html git commit --message "Travis build: $TRAVIS_BUILD_NUMBER" } upload_files() { diff --git a/RX_FSK/RX_FSK.ino b/RX_FSK/RX_FSK.ino index fbf0ace..e75d101 100644 --- a/RX_FSK/RX_FSK.ino +++ b/RX_FSK/RX_FSK.ino @@ -1008,7 +1008,11 @@ const char *createUpdateForm(boolean run) { if (run) { strcat(ptr, "

Doing update, wait until reboot

"); } else { + sprintf(ptr+strlen(ptr), "

Currently installed: %s-%c%d

\n", version_id, SPIFFS_MAJOR+'A'-1, SPIFFS_MINOR); + strcat(ptr, "

Available master::
" + "Available devel:

"); strcat(ptr, "
"); + strcat(ptr, "

Note: If suffix is the same, update should work fully. If the number is different, update contains changes in the file system. A full re-flash is required to get all new features, but the update should not break anything. If the letter is different, a full re-flash is mandatory, update will not work

"); } strcat(ptr, ""); Serial.printf("Update form: size=%d bytes\n", strlen(message)); diff --git a/RX_FSK/data/index.html b/RX_FSK/data/index.html index 81e842d..036eb00 100644 --- a/RX_FSK/data/index.html +++ b/RX_FSK/data/index.html @@ -51,6 +51,9 @@ %VERSION_NAME%
Copyright © 2019-2021 by Hansi Reiser, DL9RDZ
(version %VERSION_ID%)

+ + Check for update (requires TTGO internet connection via WiFi)

+ with contributions by Vigor and Xavier (M20 support), Luke Prior and OH3BSG (SondeHub support), Meinhard Guenther, DL2MF, diff --git a/RX_FSK/version.h b/RX_FSK/version.h index 0ba37d7..3602cca 100644 --- a/RX_FSK/version.h +++ b/RX_FSK/version.h @@ -1,4 +1,4 @@ const char *version_name = "rdzTTGOsonde"; -const char *version_id = "devel20210806"; +const char *version_id = "devel20210807"; const int SPIFFS_MAJOR=2; -const int SPIFFS_MINOR=12; +const int SPIFFS_MINOR=13;