![]() |
nRF Connect SDK API 3.3.99
|
| int bt_dfu_smp_command | ( | struct bt_dfu_smp * | dfu_smp, |
| bt_dfu_smp_rsp_part_cb | rsp_cb, | ||
| size_t | cmd_size, | ||
| const void * | cmd_data ) |
#include <include/bluetooth/services/dfu_smp.h>
Execute a command.
| [in,out] | dfu_smp | DFU SMP Client instance. |
| [in] | rsp_cb | Callback function to process the response. |
| [in] | cmd_size | Size of the command data buffer. |
| [in] | cmd_data | Data buffer. |
| 0 | If the operation was successful. Otherwise, a (negative) error code is returned. |