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

◆ bt_dfu_smp_command()

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.

Parameters
[in,out]dfu_smpDFU SMP Client instance.
[in]rsp_cbCallback function to process the response.
[in]cmd_sizeSize of the command data buffer.
[in]cmd_dataData buffer.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.