diff --git a/README.md b/README.md index 863c641f..76028f36 100644 --- a/README.md +++ b/README.md @@ -47,9 +47,10 @@ In other cases you can contact the developer via email: -std::vector ZerlegeZeile(std::string input, std::string _delimiter = "") +std::vector ZerlegeZeileWLAN(std::string input, std::string _delimiter = "") { std::vector Output; std::string delimiter = " =,"; @@ -23,13 +23,13 @@ std::vector ZerlegeZeile(std::string input, std::string _delimiter = "") input = trim(input, delimiter); size_t pos = findDelimiterPos(input, delimiter); std::string token; - while (pos != std::string::npos) { + if (pos != std::string::npos) // Zerlegt nur bis ersten Gleichheitszeichen !!! Sonderfall für WLAN.ini + { token = input.substr(0, pos); token = trim(token, delimiter); Output.push_back(token); input.erase(0, pos + 1); input = trim(input, delimiter); - pos = findDelimiterPos(input, delimiter); } Output.push_back(input); @@ -67,10 +67,8 @@ void LoadWlanFromFile(std::string fn, char *&_ssid, char *&_password, char *&_ho while ((line.size() > 0) || !(feof(pFile))) { // printf("%s", line.c_str()); - zerlegt = ZerlegeZeile(line, "="); + zerlegt = ZerlegeZeileWLAN(line, "="); zerlegt[0] = trim(zerlegt[0], " "); - for (int i = 2; i < zerlegt.size(); ++i) - zerlegt[1] = zerlegt[1] + "=" + zerlegt[i]; if ((zerlegt.size() > 1) && (toUpper(zerlegt[0]) == "HOSTNAME")){ hostname = trim(zerlegt[1]); @@ -212,7 +210,7 @@ bool ChangeHostName(std::string fn, std::string _newhostname) while ((line.size() > 0) || !(feof(pFile))) { printf("%s", line.c_str()); - zerlegt = ZerlegeZeile(line, "="); + zerlegt = ZerlegeZeileWLAN(line, "="); zerlegt[0] = trim(zerlegt[0], " "); if ((zerlegt.size() > 1) && (toUpper(zerlegt[0]) == "HOSTNAME")){ diff --git a/code/main/version.cpp b/code/main/version.cpp index 1e76de84..03cb39d2 100644 --- a/code/main/version.cpp +++ b/code/main/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="18f6e83"; -const char* GIT_TAG="v8.4.0"; +const char* GIT_REV="af16785"; +const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2021-10-02 14:29"; \ No newline at end of file +const char* BUILD_TIME="2021-10-07 07:12"; \ No newline at end of file diff --git a/code/main/version.h b/code/main/version.h index 6cfe5ac5..cf40ed34 100644 --- a/code/main/version.h +++ b/code/main/version.h @@ -13,7 +13,7 @@ extern "C" #include "Helper.h" #include -const char* GIT_BASE_BRANCH = "master - v8.4.0 - 2021-09-25"; +const char* GIT_BASE_BRANCH = "master - v8.5.0 - 2021-10-07"; const char* git_base_branch(void) diff --git a/code/version.cpp b/code/version.cpp index 1e76de84..03cb39d2 100644 --- a/code/version.cpp +++ b/code/version.cpp @@ -1,4 +1,4 @@ -const char* GIT_REV="18f6e83"; -const char* GIT_TAG="v8.4.0"; +const char* GIT_REV="af16785"; +const char* GIT_TAG=""; const char* GIT_BRANCH="rolling"; -const char* BUILD_TIME="2021-10-02 14:29"; \ No newline at end of file +const char* BUILD_TIME="2021-10-07 07:12"; \ No newline at end of file diff --git a/firmware/bootloader.bin b/firmware/bootloader.bin index 86053270..87d9fdac 100644 Binary files a/firmware/bootloader.bin and b/firmware/bootloader.bin differ diff --git a/firmware/dig1310s3q.tflite b/firmware/dig1310s3q.tflite new file mode 100644 index 00000000..ba637434 Binary files /dev/null and b/firmware/dig1310s3q.tflite differ diff --git a/firmware/firmware.bin b/firmware/firmware.bin index aa9e1f25..8c96e86c 100644 Binary files a/firmware/firmware.bin and b/firmware/firmware.bin differ diff --git a/sd-card/config/config.ini b/sd-card/config/config.ini index 15cd6870..ae39c3e7 100644 --- a/sd-card/config/config.ini +++ b/sd-card/config/config.ini @@ -20,7 +20,7 @@ FlipImageSize = false /config/ref1.jpg 442 142 [Digits] -Model = /config/dig1210s2q.tflite +Model = /config/dig1310s3q.tflite ;LogImageLocation = /log/digit ;LogfileRetentionInDays = 3 ModelInputSize = 20 32 diff --git a/sd-card/config/dig1310s3q.tflite b/sd-card/config/dig1310s3q.tflite new file mode 100644 index 00000000..ba637434 Binary files /dev/null and b/sd-card/config/dig1310s3q.tflite differ