Page 1 of 1

OTA over BLE

Posted: Fri Jan 05, 2024 7:50 pm
by gomez9656
Hello there Espressif team!

I have an ESP32 project in ESP-IDF where I need to do OTA using BLE.

So far the examples I have found are for the Arduino framework, but not for ESP-IDF.

Is this supported by default or I'm not looking in the correct place?

Thank a lot in advance :)

Re: OTA over BLE

Posted: Sun Jan 07, 2024 3:06 pm
by DrMickeyLauer
I guess most customers will want to upgrade the firmware via WiFi, so that might be the reason for a missing example.

It's definitely possible though. In my (proprietary) firmware I have implemented OTA over BLE. Since I didn't want to deal with the fragmentation introduced by GATT, I used the L2CAP layer with a connection-oriented channel and a custom binary protocol.

Re: OTA over BLE

Posted: Sun Jan 07, 2024 5:45 pm
by gomez9656
Thanks for the reply!

At least I know I can start working on a custom firmware to do it

Re: OTA over BLE

Posted: Tue Jan 09, 2024 9:25 am
by ESP_harshal
Hello @gomez9656,

The ESP BLE OTA component maintained by Espressif is registered in the ESP Component Registry.
Please checkout https://components.espressif.com/compon ... if/ble_ota.

Thank you!