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

◆ bt_dfu_smp_handles_assign()

int bt_dfu_smp_handles_assign ( struct bt_gatt_dm * dm,
struct bt_dfu_smp * dfu_smp )

#include <include/bluetooth/services/dfu_smp.h>

Assign handles to the DFU SMP Client instance.

Parameters
[in,out]dmDiscovery object.
[in,out]dfu_smpDFU SMP Client instance.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.
(-ENOTSUP)Special error code used when the UUID of the service does not match the expected UUID.