Anyone know how to do arduino-esp32 OTA via BLE. I wanna use tablet to update ESP32. Tablet download firmware and transfer to ESP32, and ESP32 save it in to partition and reboot.
-
this applies arduino.stackexchange.com/questions/57940/…Juraj– Juraj2018-11-21 12:30:36 +00:00Commented Nov 21, 2018 at 12:30
-
This is totally different question. In my case. I don’t have gprs. ESP32 not able to connect to internet directly.Lawrence song– Lawrence song2018-11-22 17:25:29 +00:00Commented Nov 22, 2018 at 17:25
-
Transport the bin file over Bluetooth and then use the Update singleton object. It is declared in Update.h. Example is ArduinoOTAClass::_runUpdate() in ArduinoOTA.cpp or ESP8266HTTPUpdate::runUpdate() in ESP8266httpUpdate.cppJuraj– Juraj2018-11-22 17:38:42 +00:00Commented Nov 22, 2018 at 17:38
Add a comment
|
1 Answer
after some research, this is what I am looking for.
https://github.com/espressif/arduino-esp32/tree/master/libraries/Update/examples
We can use "SD_Update" example to do BLE OTA. tablet transfer bin file to ESP32 and save it into SPIFFS as a bin file. after the data transfer. Follow SD_Update to start OTA