nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ dfu_target_smp_recovery_mode_enable()

int dfu_target_smp_recovery_mode_enable ( dfu_target_reset_cb_t  cb)

#include <include/dfu/dfu_target_smp.h>

Register recovery mode reset callback.

Function that boots the target in MCUboot serial recovery mode, needed before sending SMP commands.

Parameters
[in]cbUser defined target reset function for entering recovery mode.
Returns
0 on success, negative errno otherwise.