mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-11 14:07:00 +03:00
Merge branch 'rolling'
This commit is contained in:
@@ -47,8 +47,9 @@ In other cases you can contact the developer via email: <img src="https://raw.gi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
##### 8.0.2 - Multi Meter Support (2021-07-23
|
##### 8.0.3 - Multi Meter Support (2021-07-25)
|
||||||
|
|
||||||
|
* NEW 8.0.3: bug fix: reboot during `config.ini` handling, html error
|
||||||
* NEW 8.0.2: saving roundes prevalue, bug fix html server
|
* NEW 8.0.2: saving roundes prevalue, bug fix html server
|
||||||
* NEW 8.0.1: bug fix html handling of parameter `FixedExposure` and `ImageSize`
|
* NEW 8.0.1: bug fix html handling of parameter `FixedExposure` and `ImageSize`
|
||||||
* Dual / multi meter support (more than 1 number to be recognized)
|
* Dual / multi meter support (more than 1 number to be recognized)
|
||||||
|
|||||||
@@ -486,10 +486,10 @@ static esp_err_t upload_post_handler(httpd_req_t *req)
|
|||||||
int start_fn = strlen(((struct file_server_data *)req->user_ctx)->base_path);
|
int start_fn = strlen(((struct file_server_data *)req->user_ctx)->base_path);
|
||||||
printf("Directory: %s, start_fn: %d, found: %d\n", directory.c_str(), start_fn, found);
|
printf("Directory: %s, start_fn: %d, found: %d\n", directory.c_str(), start_fn, found);
|
||||||
directory = directory.substr(start_fn, found - start_fn + 1);
|
directory = directory.substr(start_fn, found - start_fn + 1);
|
||||||
printf("Directory danach: %s\n", directory.c_str());
|
printf("Directory danach 1: %s\n", directory.c_str());
|
||||||
|
|
||||||
directory = "/fileserver" + directory;
|
directory = "/fileserver" + directory;
|
||||||
printf("Directory danach: %s\n", directory.c_str());
|
printf("Directory danach 2: %s\n", directory.c_str());
|
||||||
|
|
||||||
/* Redirect onto root to see the updated file list */
|
/* Redirect onto root to see the updated file list */
|
||||||
httpd_resp_set_status(req, "303 See Other");
|
httpd_resp_set_status(req, "303 See Other");
|
||||||
@@ -500,11 +500,13 @@ static esp_err_t upload_post_handler(httpd_req_t *req)
|
|||||||
httpd_resp_set_hdr(req, "Location", directory.c_str());
|
httpd_resp_set_hdr(req, "Location", directory.c_str());
|
||||||
httpd_resp_sendstr(req, "File uploaded successfully");
|
httpd_resp_sendstr(req, "File uploaded successfully");
|
||||||
|
|
||||||
|
/*
|
||||||
if (strcmp(filepath, CONFIG_FILE) == 0) {
|
if (strcmp(filepath, CONFIG_FILE) == 0) {
|
||||||
printf("New config foung. Reload handler.");
|
printf("New config found. Reload handler.");
|
||||||
gpio_handler_deinit();
|
gpio_handler_deinit();
|
||||||
MQTTdestroy();
|
MQTTdestroy();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
}
|
}
|
||||||
@@ -606,10 +608,10 @@ static esp_err_t delete_post_handler(httpd_req_t *req)
|
|||||||
int start_fn = strlen(((struct file_server_data *)req->user_ctx)->base_path);
|
int start_fn = strlen(((struct file_server_data *)req->user_ctx)->base_path);
|
||||||
printf("Directory: %s, start_fn: %d, found: %d\n", directory.c_str(), start_fn, found);
|
printf("Directory: %s, start_fn: %d, found: %d\n", directory.c_str(), start_fn, found);
|
||||||
directory = directory.substr(start_fn, found - start_fn + 1);
|
directory = directory.substr(start_fn, found - start_fn + 1);
|
||||||
printf("Directory danach: %s\n", directory.c_str());
|
printf("Directory danach 3: %s\n", directory.c_str());
|
||||||
|
|
||||||
directory = "/fileserver" + directory;
|
directory = "/fileserver" + directory;
|
||||||
printf("Directory danach: %s\n", directory.c_str());
|
printf("Directory danach 4: %s\n", directory.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const char* GIT_REV="9ae8d0a";
|
const char* GIT_REV="104b725";
|
||||||
const char* GIT_TAG="";
|
const char* GIT_TAG="";
|
||||||
const char* GIT_BRANCH="master";
|
const char* GIT_BRANCH="rolling";
|
||||||
const char* BUILD_TIME="2021-07-23 20:49";
|
const char* BUILD_TIME="2021-07-25 18:05";
|
||||||
@@ -13,7 +13,7 @@ extern "C"
|
|||||||
#include "Helper.h"
|
#include "Helper.h"
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
|
|
||||||
const char* GIT_BASE_BRANCH = "master - v8.0.2 - 2021-07-23";
|
const char* GIT_BASE_BRANCH = "master - v8.0.3 - 2021-07-25";
|
||||||
|
|
||||||
|
|
||||||
const char* git_base_branch(void)
|
const char* git_base_branch(void)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const char* GIT_REV="9ae8d0a";
|
const char* GIT_REV="104b725";
|
||||||
const char* GIT_TAG="";
|
const char* GIT_TAG="";
|
||||||
const char* GIT_BRANCH="master";
|
const char* GIT_BRANCH="rolling";
|
||||||
const char* BUILD_TIME="2021-07-23 20:49";
|
const char* BUILD_TIME="2021-07-25 18:05";
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -367,9 +367,6 @@ textarea {
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
ExtendedResolution
|
|
||||||
|
|
||||||
<tr class="expert" id="ex10">
|
<tr class="expert" id="ex10">
|
||||||
<td width="20px" style="padding-left: 40px;"> </td>
|
<td width="20px" style="padding-left: 40px;"> </td>
|
||||||
<td> <class id="Analog_ModelInputSize_text" style="color:black;">ModelInputSize</class> </td>
|
<td> <class id="Analog_ModelInputSize_text" style="color:black;">ModelInputSize</class> </td>
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
9.5.1
|
9.5.2
|
||||||
Reference in New Issue
Block a user