How to perform DFU OTA over BLE without using nordic mobile app?

Hi, I'm developing a product for a client using nrf52840 which has support for DFU OTA over BLE. I'm using nrf connect sdk 2.5.0 and DFU OTA over BLE was ridiculously easy to enable with the following three configs:

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU=y
CONFIG_NCS_SAMPLE_MCUMGR_BT_OTA_DFU_SPEEDUP=y

However, now my client want to be able to perform the updates with their own smartphone app.

Since the implementation of the DFU OTA support is very abstracted I'm curious about what has to be done from the client side (the mobile app) to request an update?

I have looked briefly through the docs and code of mcumgr but still feel a bit confused. Is there an easy way to integrate your DFU OTA functionality from nrf connect for mobile into a custom mobile app? If not, can you point me somewhere to get a better understanding of the update flow? Debugging the flow on my device is not an option since debugging over a BLE connection crashes as soon as you hit a breakpoint.

Grateful for any help.

Parents Reply Children
Related