Page 3 of 3
Re: ESP32 OTA via BLE
Posted: Mon Feb 15, 2021 7:08 am
by fbiego
I have implemented an Arduino code (1005392 bytes compiled) which takes around 5mins 20sec to upload the same file via BLE.
The Arduino code is available here
https://github.com/fbiego/ESP32_BLE_OTA_Arduino along with the Android app code
https://github.com/fbiego/ESP32_BLE_OTA_Android
Re: ESP32 OTA via BLE
Posted: Thu Jul 08, 2021 3:06 pm
by pawkata
Simple code, using Kolban's library, the same which is in arduino-esp32. No CRC or any other error correction, sending with notifications, MTU 512. Client app to OTA update is ionic on android, iOS app is using max 185 MTU and update is longer accordingly.
I am using it in few projects, also commercial projects.
Hi,
Did you try BLE OTA on iOS? How long does it take?
Re: ESP32 OTA via BLE
Posted: Sat Jul 10, 2021 2:30 pm
by chegewara
I dont remember exactly how long it takes, about 2.5-3+ minutes to update standard 1.3MB or so.
Re: ESP32 OTA via BLE
Posted: Wed May 04, 2022 9:31 am
by AntonZ
Hi!
I also need to be able to update the firmware via BLE and thinking of using Nordic's DFU for that.
So, just to make sure I haven't miss something: Espressif currently doesn't provide any similar feature, right?
Re: ESP32 OTA via BLE
Posted: Mon May 09, 2022 1:14 pm
by AntonZ
Very late to this thread, but we successfully ported Nordic legacy buttonless DFU...we get timing of ~2.5 minutes for ~1.4MB binary. Keep in mind the DFU service uses write-no-response and we don't use the prn flow-control.
Hi!
Just a question for you: did you try using an Nrf connect iOS app to test the speed?
I just experience too small MTU value used by this app when uploading a firmware.
Re: ESP32 OTA via BLE
Posted: Thu Mar 02, 2023 9:09 pm
by Panometric
It's an old issue, but an obvious need. Here's the closest thing I have found from espressif. But it does not support IoS. Is there more?
https://github.com/espressif/esp-iot-so ... th/ble_ota