ESP32 OTA via BLE
ESP32 OTA via BLE
Hi,
I want to know is it possible to update esp32 firmware via ble?
Kindly give your feedback as soon as possible.
Thanks in Advance!
I want to know is it possible to update esp32 firmware via ble?
Kindly give your feedback as soon as possible.
Thanks in Advance!
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 OTA via BLE
In theory, sure. You can do an OTA update from anywhere: just receive the data over whatever channel you choose and write it to flash. In practice, BTLE isn't really meant for speedy data transfers and ESP32 firmwares aren't exactly that small: I expect that with a lot of tweaking, you can get the time it takes to flash the ESP32 over BTLE down to several minutes, but not much less.
Re: ESP32 OTA via BLE
Does the espressif is planning to release any example for ota via bluetooth. We urgently require this information .
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 OTA via BLE
I don't know the plans of everyone in Espressif off the top of my head, but I highly doubt it: as I stated before, OTA over BLE is impractical because of the long times it would take. It's better to use WiFi, or maybe it's possible to get some kind of OTA over BTClassic when we have the required profiles for that.
Re: ESP32 OTA via BLE
Basically we are developing two products for our client.One is Bluetooth enabled and another is wifi enable(as per clients requirement). We are using esp32 for both. Now for both the products we require OTA feature individually,so that using this feature user can update the firmware from our smartphone app. So what is the best way to implement it.
Also i believe for our product it is ok to spent several minute (say 5 min ) for update because this might be a once in a 6 month/year procedure.
can we get any documentation on OTA via BLE,some sort of procedure like you have given for wifi.It will be very helpful during development.
Thanks!
Also i believe for our product it is ok to spent several minute (say 5 min ) for update because this might be a once in a 6 month/year procedure.
can we get any documentation on OTA via BLE,some sort of procedure like you have given for wifi.It will be very helpful during development.
Thanks!
Re: ESP32 OTA via BLE
Hello,
I wonder if you solved this.
We will have the same problem in our next project. Most of our installations are in isolated areas with no internet or WiFi, but we would like to enable customers with mobile phone to update a device OTA by BT or BLE.
Please let me know if you succeeded doing this.
Thanks.
I wonder if you solved this.
We will have the same problem in our next project. Most of our installations are in isolated areas with no internet or WiFi, but we would like to enable customers with mobile phone to update a device OTA by BT or BLE.
Please let me know if you succeeded doing this.
Thanks.
Re: ESP32 OTA via BLE
I'm interested in OTA over BLE as well.
Though in my case, I may use BLE to let the user set the Wifi SSID/Pswd for the device, and then let the device connect and do the OTA over wifi.
Thanks!
Though in my case, I may use BLE to let the user set the Wifi SSID/Pswd for the device, and then let the device connect and do the OTA over wifi.
Thanks!
ESP32 OTA via BLE
is there any information on this topic..? anyone tried this before?
any direction in this regards will be helpful.. i need to implement this on device that i am developing.
any direction in this regards will be helpful.. i need to implement this on device that i am developing.
Re: ESP32 OTA via BLE
OTA over BTClassic (SPP profile) can be easily implemented as all needed components are now available.
Use bt_spp_acceptor and ota examples as a base.
Use bt_spp_acceptor and ota examples as a base.
Re: ESP32 OTA via BLE
It is possible to implement OTA over BLE but it will be very slow. Like loboris said, classic BT is better choice.
Who is online
Users browsing this forum: No registered users and 166 guests