Esp32-S3 : OTA update informations

ThomasESP32
Posts: 191
Joined: Thu Jul 14, 2022 5:15 am

Esp32-S3 : OTA update informations

Postby ThomasESP32 » Tue May 30, 2023 2:05 pm

Good afternoon,



I would like to do OTA firmware update on a Esp32S3 (Esp32-S3-DevKitC-1) and I see that there are two examples in
ESP-IDF. One "native ota example" and one "simple ota example".
My goal is to do OTA update using BLE but I am not sure that these two examples are based on BLE.

Do you have more informations concerning these two examples please ?

Best regards,

Thomas TRUILHE

a2800276
Posts: 74
Joined: Sat Jan 23, 2016 1:59 pm

Re: Esp32-S3 : OTA update informations

Postby a2800276 » Tue May 30, 2023 5:31 pm

You are correct in the 'native_ota_example' and 'simple_ota_example' don't seem to contain BLE code.

IDF 4.4 contains four ota example projects and IDF 5 contains five of them.

If your IDF only contains two OTA sample projects, I can only assume you are using an old IDF version (persumbly v.2 :lol: ) or your computer is broken.

The `advanced_https_ota` example does contain ble code. There's not enough documentation to tell whether it uses ble to trigger an https OTA update or whether the updates themselves are performed via BLE, without delving into the code. But you didn't really state a preference in that regard.

What further information you are asking for is unclear, maybe reading the excellent OTA documentation would provide a deeper understanding and allow you to ask a more precise question?

ThomasESP32
Posts: 191
Joined: Thu Jul 14, 2022 5:15 am

Re: Esp32-S3 : OTA update informations

Postby ThomasESP32 » Wed May 31, 2023 6:24 am

Good morning,

thank you for your answer.
My question is : "I would like to implement OTA using BLE. Is there any example somewhere ?"

Best regards,

Thomas TRUILHE

a2800276
Posts: 74
Joined: Sat Jan 23, 2016 1:59 pm

Re: Esp32-S3 : OTA update informations

Postby a2800276 » Wed May 31, 2023 7:38 am

Ok, so I guess I answered your question?

https://github.com/espressif/esp-idf/tr ... https_ota

ThomasESP32
Posts: 191
Joined: Thu Jul 14, 2022 5:15 am

Re: Esp32-S3 : OTA update informations

Postby ThomasESP32 » Tue Jun 06, 2023 11:40 am

Are you sure this example uses BLE ??
Because I see https and I think this is related to IP am I right ?

Best regards,

ThomasESP32
Posts: 191
Joined: Thu Jul 14, 2022 5:15 am

Re: Esp32-S3 : OTA update informations

Postby ThomasESP32 » Tue Jun 06, 2023 11:53 am

Using this example with BLE, do I need a software or something maybe on a smartphone in order to
send the firmware over BLE to the card ?


Best regards,

Thomas TRUILHE

a2800276
Posts: 74
Joined: Sat Jan 23, 2016 1:59 pm

Re: Esp32-S3 : OTA update informations

Postby a2800276 » Tue Jun 06, 2023 5:03 pm

Are you sure this example uses BLE ??
Because I see https and I think this is related to IP am I right ?

The `advanced_https_ota` example does contain ble code. There's not enough documentation to tell whether it uses ble to trigger an https OTA update or whether the updates themselves are performed via BLE, without delving into the code. But you didn't really state a preference in that regard.
Using this example with BLE, do I need a software or something maybe on a smartphone in order to
send the firmware over BLE to the card ?
I'm not sure about your understanding of BLE. Of course there are two parties involved, the second party can be a phone or a PC or even a second ESP. Could you elaborate your expectations a little bit?

I'm afraid I assumed you were a developer and would could, e.g. look at the example an find the BLE code. Sorry for my confusion! I don't think there are ready to use firmwares together with apps that can be used by non-programmers. Have you had a look at the ESP-Rainmaker offering?

Who is online

Users browsing this forum: DrMickeyLauer, Google [Bot] and 64 guests