Page 1 of 1

Esp32-S3 : OTA update informations

Posted: Tue May 30, 2023 2:05 pm
by ThomasESP32
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

Re: Esp32-S3 : OTA update informations

Posted: Tue May 30, 2023 5:31 pm
by a2800276
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?

Re: Esp32-S3 : OTA update informations

Posted: Wed May 31, 2023 6:24 am
by ThomasESP32
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

Re: Esp32-S3 : OTA update informations

Posted: Wed May 31, 2023 7:38 am
by a2800276
Ok, so I guess I answered your question?

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

Re: Esp32-S3 : OTA update informations

Posted: Tue Jun 06, 2023 11:40 am
by ThomasESP32
Are you sure this example uses BLE ??
Because I see https and I think this is related to IP am I right ?

Best regards,

Re: Esp32-S3 : OTA update informations

Posted: Tue Jun 06, 2023 11:53 am
by ThomasESP32
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

Re: Esp32-S3 : OTA update informations

Posted: Tue Jun 06, 2023 5:03 pm
by a2800276
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?