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?.
OTA over Bluetooth
Re: OTA over Bluetooth
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
Re: OTA over Bluetooth
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
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
hahaha, nice 3 years later he gets his answer... i was looking for this too thanks!fbiego wrote: ↑Mon Feb 15, 2021 7:13 amCheck 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
-
- Posts: 5
- Joined: Wed Oct 19, 2022 6:08 pm
Re: OTA over Bluetooth
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?sebasdt wrote: ↑Tue Feb 16, 2021 4:40 pmhahaha, nice 3 years later he gets his answer... i was looking for this too thanks!fbiego wrote: ↑Mon Feb 15, 2021 7:13 amCheck 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
Who is online
Users browsing this forum: No registered users and 64 guests