bluekitchen / btstack

Dual-mode Bluetooth stack, with small memory footprint.
http://bluekitchen-gmbh.com
Other
1.74k stars 618 forks source link

Is there an example for OTA? #513

Closed xihua13104 closed 1 year ago

xihua13104 commented 1 year ago

Is there an example for OTA over ble or classic?

mringwal commented 1 year ago

Not in the BTstack repository.

Feel free to ask on the mailing list as other users might have one.

In general, you need to get the current version and if there's a mismatch send a new firmware. However, there are many details (A/B update or delta updates, push/pull, how to update the flash itself, what bootloader to use/trust, ...) that will be project specific. esp-idf provides a most of this, so you'd only need to check the version and send the new firmware.