OTA via WiFi File upload in AP-mode #263
Closed
Erhie
started this conversation in
Show and tell
Replies: 1 comment
-
Thankyou for the suggestion; quite a reasonable idea, sorry I did not get round to it. I am not doing any further development on this project. it is old code and somewhat obsolete. I am currently working on retiring it; I will try to link to a more actively updated fork when I do. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I enhanced this software by adding the possibility for OTA update via WiFi with a binary file. This in softAP-mode .
This is important for me because my project is located in free landscape without Internet and the steering device is an android tablet.
As example I used code snippets from Jeija/esp32-softap-ota on GitHub.
I inserted
static esp_err_t update_post_handler_pre(httpd_req_t *req) {}
in app_httpd.cpp .
In this routine I started with
streamKill = true;
delay(50);
esp_camera_deinit();
periph_module_disable(PERIPH_I2C0_MODULE); // try to shut I2C down properly
periph_module_disable(PERIPH_I2C1_MODULE);
periph_module_reset(PERIPH_I2C0_MODULE);
periph_module_reset(PERIPH_I2C1_MODULE);
and than call update_post_handler(req) in
main.c of the project Jeija/esp32-softap-ota.
Beta Was this translation helpful? Give feedback.
All reactions