Using MCUBoot, Is there a way to temporarily stop/reject nRF Connect app from executing the DFU when the MCU is doing something critical?
Using MCUBoot, Is there a way to temporarily stop/reject nRF Connect app from executing the DFU when the MCU is doing something critical?
Hello,
It looks like you can use the "notification hooks" for this, see https://github.com/nrfconnect/sdk-zephyr/blob/6f75c99b8b2a638a9715aec61b4abe59dbc908cf/subsys/mgmt/mcumgr/Kconfig#L104
"Some callbacks support notifying the calling function of a status, in which to accept or decline the current operation, by returning false this will signal to the calling functions that the request should be denied, for informal-only notifications or acceptable, true must be returned by all the registered notification handlers."
Best regards,
Vidar