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

◆ dfu_target_smp_bt_transport_register()

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.

Parameters
[in]smp_clientInitialized and discovered DFU SMP Client instance.
Return values
0on success.
-EINVALif smp_client is NULL.
-errnonegative error code on failure.