ESP32 OTA via BLE

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

Re: ESP32 OTA via BLE

Postby fbiego » Mon Feb 15, 2021 7:08 am

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

pawkata
Posts: 2
Joined: Mon Jan 25, 2021 11:35 am

Re: ESP32 OTA via BLE

Postby pawkata » Thu Jul 08, 2021 3:06 pm

chegewara wrote:
Sat May 30, 2020 12:16 am
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?

chegewara
Posts: 2378
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32 OTA via BLE

Postby chegewara » Sat Jul 10, 2021 2:30 pm

I dont remember exactly how long it takes, about 2.5-3+ minutes to update standard 1.3MB or so.

AntonZ
Posts: 2
Joined: Wed May 04, 2022 9:24 am

Re: ESP32 OTA via BLE

Postby AntonZ » Wed May 04, 2022 9:31 am

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?

AntonZ
Posts: 2
Joined: Wed May 04, 2022 9:24 am

Re: ESP32 OTA via BLE

Postby AntonZ » Mon May 09, 2022 1:14 pm

ralfaro wrote:
Fri Jan 29, 2021 10:19 pm
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.

Panometric
Posts: 14
Joined: Sat Sep 07, 2019 8:09 am

Re: ESP32 OTA via BLE

Postby Panometric » Thu Mar 02, 2023 9:09 pm

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

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 85 guests