This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trying to do update over BLE

I'm trying to do a firmware update over BLE.

Here's what I did:
- I created a new application from sample "smp_svr" because I think that is where I can see how to do firmware updates over BLE.
- Add a build configuration for nRF52-DK.
- Add CONFIG_MCUMGR_SMP_BT=y to prj.conf
- Build and flash
- Copy build/zephyr/dfu_application.zip to an Android smartphone
- On the phone, open nRF Connect
- Connect to "Zephyr"
- Click the DFU button, select the file, it asks to pair, I pair.

After that it just says "Connecting...".

I have used an nRF52840-Dongle to capture a packet dump of the conversation between the devices. The file is here. The failed DFU attempt starts about 30 seconds into the dump.

Parents Reply Children
  • That was the missing magic. After copying over the contents of overlay-bt.conf to prj.conf the BLE firmware update works.

    I haven't tried out the guide but it also looks extremely helpful for adding BLE update functionality to my own application.

Related