nRF Connect SDK API 2.8.99
|
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.
[in,out] | dm | Discovery object. |
[in,out] | dfu_smp | DFU SMP Client instance. |
0 | If 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. |