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
ESP32 OTA via BLE
Re: ESP32 OTA via BLE
Hi,chegewara wrote: ↑Sat May 30, 2020 12:16 amSimple 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.
Did you try BLE OTA on iOS? How long does it take?
Re: ESP32 OTA via BLE
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
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?
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
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.
-
- Posts: 14
- Joined: Sat Sep 07, 2019 8:09 am
Re: ESP32 OTA via BLE
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
https://github.com/espressif/esp-iot-so ... th/ble_ota
Who is online
Users browsing this forum: No registered users and 330 guests