Hello. I have BLE running on my device. I have used ble_secure_server example from the ESP-IDF. I have created 1 service with 2 characterstics.
I would love to implement firmware update over the BLE. At some point in the future, there will be an app on the phone that will have the hex file and I would like to update the FW on my device.
I havent managed to find a lot of information on how OTA via the BLE can be done. If anyone has done it, could you please share your knowledge with me and point me in the right direction?
At the moment, there is no such app and I would like to somehow try and test it. What are the possible ways to test firmware update over the BLE without an actual BLE app?
ESP32 OTA via the BLE
-
- Posts: 9
- Joined: Thu Nov 16, 2017 9:09 pm
Re: ESP32 OTA via the BLE
For ble ota I'm not sure if there is any example is esp idf but you can find an ota mechanism that supports both serial and ble in https://github.com/blockstream/jade - it wraps the ota data in cbor messages
It uses by default deflate compression via minix in the rom but you can skip that (it works well though)
It uses by default deflate compression via minix in the rom but you can skip that (it works well though)
Who is online
Users browsing this forum: ok-home and 74 guests