OTA over BLE

gomez9656
Posts: 21
Joined: Mon Mar 14, 2022 7:48 pm

OTA over BLE

Postby gomez9656 » Fri Jan 05, 2024 7:50 pm

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 :)

DrMickeyLauer
Posts: 168
Joined: Sun May 22, 2022 2:42 pm

Re: OTA over BLE

Postby DrMickeyLauer » Sun Jan 07, 2024 3:06 pm

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.

gomez9656
Posts: 21
Joined: Mon Mar 14, 2022 7:48 pm

Re: OTA over BLE

Postby gomez9656 » Sun Jan 07, 2024 5:45 pm

Thanks for the reply!

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

ESP_harshal
Posts: 24
Joined: Wed Jul 06, 2022 8:36 am

Re: OTA over BLE

Postby ESP_harshal » Tue Jan 09, 2024 9:25 am

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!

Who is online

Users browsing this forum: No registered users and 92 guests