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

◆ bt_dfu_smp_reset()

void bt_dfu_smp_reset ( struct bt_dfu_smp * dfu_smp)

#include <dfu_smp.h>

Reset the response state of the DFU SMP Client instance.

Clears any in-flight response state (including the pending response callback). Call this when the underlying connection is lost while a command is outstanding. Otherwise the leftover response state causes subsequent calls to bt_dfu_smp_command to fail with -EBUSY.

Parameters
[in,out]dfu_smpDFU SMP Client instance.