OTA over Bluetooth

Sundar
Posts: 5
Joined: Tue May 15, 2018 2:22 pm

OTA over Bluetooth

Postby Sundar » Thu May 24, 2018 11:27 am

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?.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: OTA over Bluetooth

Postby kolban » Thu May 24, 2018 6:43 pm

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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

fbiego
Posts: 3
Joined: Sun Jan 24, 2021 1:00 pm

Re: OTA over Bluetooth

Postby fbiego » 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

sebasdt
Posts: 17
Joined: Fri Jul 24, 2020 8:18 am

Re: OTA over Bluetooth

Postby sebasdt » 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!

marcarleto
Posts: 5
Joined: Wed Oct 19, 2022 6:08 pm

Re: OTA over Bluetooth

Postby marcarleto » Thu Jan 04, 2024 1:16 am

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?

Who is online

Users browsing this forum: No registered users and 79 guests