We're using nrf Device Manager for mobile to perform DFU over BLE to an nrf5340-based module with firmware built using the nrf connect 1.6.1 SDK and the out-of-the-box Zephyr/MCU boot loader/SMP functionality (i.e.: CONFIG_MCUMGR_SMP_BT=y).
Our app performs BLE scanning / connecting of nearby devices for data acquisition. We have code which will execute a system reboot if certain application data acquisition conditions are not satisfied after a period of time, but we don't want this reboot to occur if an OTA DFU is in process.
Is there example code or an API that our application can invoke to determine if an SMP over BT DFU is in progress?
Thank you!