![]() |
nRF Connect SDK API 3.4.99
|
| int dfu_target_smp_bt_transport_register | ( | struct bt_dfu_smp * | smp_client | ) |
#include <dfu_target_smp_bt.h>
Register the Bluetooth LE SMP client transport.
The application is responsible for establishing the connection, running service discovery and assigning the handles to smp_client (see bt_dfu_smp_handles_assign) before calling this function.
| [in] | smp_client | Initialized and discovered DFU SMP Client instance. |
| 0 | on success. |
| -EINVAL | if smp_client is NULL. |
| -errno | negative error code on failure. |