Search code examples
arduinoesp32

arduino-esp32 do OTA via BLE


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.


Solution

  • 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