![]() |
nRF Connect SDK API 3.4.99
|
| 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.
| [in,out] | dfu_smp | DFU SMP Client instance. |