Need Help Adding DFU OTA via SMP (mcumgr) to Android BLE App

Hello everyone,

I’m fairly new to Android development and currently building a BLE app using Kotlin in Android Studio. So far, I’ve managed to implement scanning, connecting to BLE devices, and reading/writing characteristics.

Now, I want to add Direct Firmware Upgrade (DFU) over-the-air using the SMP protocol, similar to what’s implemented in the nRF Connect Device Manager Android app. I understand that the DFU feature can be implemented using the mcumgr library with SMP over BLE, but I’m struggling to integrate it into my project.

I’ve looked at various resources, but I’m finding it difficult to piece everything together. I would really appreciate a step-by-step guide or any support to help me integrate DFU functionality using mcumgr in my app.

Any example code, working implementation, or explanation would be extremely helpful.

Thank you so much in advance!

Regards,

Nakul

Related