Page 1 of 1

OTA over Bluetooth

Posted: Thu May 24, 2018 11:27 am
by Sundar
Hi,
I started working on ESP wroom32 using Arduino IDE,I just want to know is it possible to do Over the Air programming through Bluetooth.
If so how to perform it?.

Re: OTA over Bluetooth

Posted: Thu May 24, 2018 6:43 pm
by kolban
OTA in ESP32 is implemented in application logic in your own application. What this means is that your app is responsible for retrieving the new flash image. How the data gets into your ESP32 is up to you ... whether it be received by TCP/IP over WiFi, or loaded from a flash memory card or pushed in by serial ... all are good. For Bluetooth, your puzzle breaks down to "How do I move about 1MByte of data from a source into the ESP32?" ... from there the OTA APIs take over. If the ESP32 is one half of the communicating pair, what is the other half? How would you envisage Bluetooth and OTA being combined?

Re: OTA over Bluetooth

Posted: Mon Feb 15, 2021 7:13 am
by fbiego
Check out this implementation of Arduino code https://github.com/fbiego/ESP32_BLE_OTA_Android
I was able to transfer the update.bin file via BLE from the phone to ESP32, 1005392 bytes in 5mins 20sec

Re: OTA over Bluetooth

Posted: Tue Feb 16, 2021 4:40 pm
by sebasdt
fbiego wrote:
Mon Feb 15, 2021 7:13 am
Check out this implementation of Arduino code https://github.com/fbiego/ESP32_BLE_OTA_Android
I was able to transfer the update.bin file via BLE from the phone to ESP32, 1005392 bytes in 5mins 20sec
hahaha, nice 3 years later he gets his answer... i was looking for this too thanks!

Re: OTA over Bluetooth

Posted: Thu Jan 04, 2024 1:16 am
by marcarleto
sebasdt wrote:
Tue Feb 16, 2021 4:40 pm
fbiego wrote:
Mon Feb 15, 2021 7:13 am
Check out this implementation of Arduino code https://github.com/fbiego/ESP32_BLE_OTA_Android
I was able to transfer the update.bin file via BLE from the phone to ESP32, 1005392 bytes in 5mins 20sec
hahaha, nice 3 years later he gets his answer... i was looking for this too thanks!
Nice, thank you very much! Do you have an example with an ESP32 sending txt files from SPIFFS or SD card to mobile over BLE?