Skip to content

Commit d0bf12f

Browse files
committed
v8.5.0
1 parent af16785 commit d0bf12f

File tree

11 files changed

+16
-64
lines changed

11 files changed

+16
-64
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
4747

4848

4949

50-
##### Rolling (2021-10-02)
50+
##### 8.5.0 - Multi Meter Support (2021-10-07)
5151

52-
* Bug fix: neural network output
52+
* Upgrade digital CNN to v13.1.0 (added new images)
53+
* bug fix: wlan password with space, double digit output
5354

5455
##### 8.4.0 - Multi Meter Support (2021-09-25)
5556

code/components/jomjol_wlan/connect_wlan.cpp

Lines changed: 0 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -184,32 +184,6 @@ void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostna
184184
ip_addr_set_ip4_u32(&dns_info.ip, ip.addr);
185185
ESP_ERROR_CHECK(esp_netif_set_dns_info(my_sta, ESP_NETIF_DNS_MAIN, &dns_info));
186186
}
187-
/////////////////////////////////////////////////////////////////
188-
189-
190-
// esp_netif_create_default_wifi_sta();
191-
192-
// wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
193-
// ESP_ERROR_CHECK(esp_wifi_init(&cfg));
194-
195-
196-
197-
/*
198-
////////////////////////////// esp-idf 4.2 //////////////////////////
199-
esp_event_handler_instance_t instance_any_id;
200-
esp_event_handler_instance_t instance_got_ip;
201-
ESP_ERROR_CHECK(esp_event_handler_instance_register(WIFI_EVENT,
202-
ESP_EVENT_ANY_ID,
203-
&event_handler,
204-
NULL,
205-
&instance_any_id));
206-
ESP_ERROR_CHECK(esp_event_handler_instance_register(IP_EVENT,
207-
IP_EVENT_STA_GOT_IP,
208-
&event_handler,
209-
NULL,
210-
&instance_got_ip));
211-
////////////////////////// ENDE esp-idf 4.2 ///////////////////////////
212-
*/
213187

214188
ESP_ERROR_CHECK(esp_event_handler_register(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler, NULL));
215189
ESP_ERROR_CHECK(esp_event_handler_register(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler, NULL));
@@ -253,27 +227,6 @@ void wifi_init_sta(const char *_ssid, const char *_password, const char *_hostna
253227
} else {
254228
ESP_LOGE(TAG, "UNEXPECTED EVENT");
255229
}
256-
257-
/* The event will not be processed after unregister */
258-
/*
259-
////////////////////////////// esp-idf 4.2 //////////////////////////
260-
ESP_ERROR_CHECK(esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_ip));
261-
ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, instance_any_id));
262-
////////////////////////// ENDE esp-idf 4.2 ///////////////////////////
263-
*/
264-
265-
/* Deaktiveren, damit bei einen Verbindungsabbruch neu aufgebaut wird
266-
ESP_ERROR_CHECK(esp_event_handler_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, &event_handler));
267-
ESP_ERROR_CHECK(esp_event_handler_unregister(WIFI_EVENT, ESP_EVENT_ANY_ID, &event_handler));
268-
vEventGroupDelete(s_wifi_event_group);
269-
*/
270-
271-
/*
272-
while (BlinkIsRunning)
273-
{
274-
vTaskDelay(100 / portTICK_PERIOD_MS);
275-
}
276-
*/
277230
}
278231

279232

code/components/jomjol_wlan/read_wlanini.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <string.h>
1313

1414

15-
std::vector<string> ZerlegeZeile(std::string input, std::string _delimiter = "")
15+
std::vector<string> ZerlegeZeileWLAN(std::string input, std::string _delimiter = "")
1616
{
1717
std::vector<string> Output;
1818
std::string delimiter = " =,";
@@ -23,13 +23,13 @@ std::vector<string> ZerlegeZeile(std::string input, std::string _delimiter = "")
2323
input = trim(input, delimiter);
2424
size_t pos = findDelimiterPos(input, delimiter);
2525
std::string token;
26-
while (pos != std::string::npos) {
26+
if (pos != std::string::npos) // Zerlegt nur bis ersten Gleichheitszeichen !!! Sonderfall für WLAN.ini
27+
{
2728
token = input.substr(0, pos);
2829
token = trim(token, delimiter);
2930
Output.push_back(token);
3031
input.erase(0, pos + 1);
3132
input = trim(input, delimiter);
32-
pos = findDelimiterPos(input, delimiter);
3333
}
3434
Output.push_back(input);
3535

@@ -67,10 +67,8 @@ void LoadWlanFromFile(std::string fn, char *&_ssid, char *&_password, char *&_ho
6767
while ((line.size() > 0) || !(feof(pFile)))
6868
{
6969
// printf("%s", line.c_str());
70-
zerlegt = ZerlegeZeile(line, "=");
70+
zerlegt = ZerlegeZeileWLAN(line, "=");
7171
zerlegt[0] = trim(zerlegt[0], " ");
72-
for (int i = 2; i < zerlegt.size(); ++i)
73-
zerlegt[1] = zerlegt[1] + "=" + zerlegt[i];
7472

7573
if ((zerlegt.size() > 1) && (toUpper(zerlegt[0]) == "HOSTNAME")){
7674
hostname = trim(zerlegt[1]);
@@ -212,7 +210,7 @@ bool ChangeHostName(std::string fn, std::string _newhostname)
212210
while ((line.size() > 0) || !(feof(pFile)))
213211
{
214212
printf("%s", line.c_str());
215-
zerlegt = ZerlegeZeile(line, "=");
213+
zerlegt = ZerlegeZeileWLAN(line, "=");
216214
zerlegt[0] = trim(zerlegt[0], " ");
217215

218216
if ((zerlegt.size() > 1) && (toUpper(zerlegt[0]) == "HOSTNAME")){

code/main/version.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const char* GIT_REV="18f6e83";
2-
const char* GIT_TAG="v8.4.0";
1+
const char* GIT_REV="af16785";
2+
const char* GIT_TAG="";
33
const char* GIT_BRANCH="rolling";
4-
const char* BUILD_TIME="2021-10-02 14:29";
4+
const char* BUILD_TIME="2021-10-07 07:12";

code/main/version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ extern "C"
1313
#include "Helper.h"
1414
#include <fstream>
1515

16-
const char* GIT_BASE_BRANCH = "master - v8.4.0 - 2021-09-25";
16+
const char* GIT_BASE_BRANCH = "master - v8.5.0 - 2021-10-07";
1717

1818

1919
const char* git_base_branch(void)

code/version.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const char* GIT_REV="18f6e83";
2-
const char* GIT_TAG="v8.4.0";
1+
const char* GIT_REV="af16785";
2+
const char* GIT_TAG="";
33
const char* GIT_BRANCH="rolling";
4-
const char* BUILD_TIME="2021-10-02 14:29";
4+
const char* BUILD_TIME="2021-10-07 07:12";

firmware/bootloader.bin

0 Bytes
Binary file not shown.

firmware/dig1310s3q.tflite

62.3 KB
Binary file not shown.

firmware/firmware.bin

-256 Bytes
Binary file not shown.

sd-card/config/config.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FlipImageSize = false
2020
/config/ref1.jpg 442 142
2121

2222
[Digits]
23-
Model = /config/dig1210s2q.tflite
23+
Model = /config/dig1310s3q.tflite
2424
;LogImageLocation = /log/digit
2525
;LogfileRetentionInDays = 3
2626
ModelInputSize = 20 32

0 commit comments

Comments
 (0)