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.