1

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.

3
  • this applies arduino.stackexchange.com/questions/57940/… Commented 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. Commented 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.cpp Commented Nov 22, 2018 at 17:38

1 Answer 1

3

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.