nRF Connect SDK API 2.8.99
|
int bt_gattp_handles_assign | ( | struct bt_gatt_dm * | dm, |
struct bt_gattp * | gattp ) |
#include <include/bluetooth/services/gattp.h>
Assign handles to the GATT profile instance.
Call this function when a link has been established with a peer to associate the link to this instance of the module. This makes it possible to handle several links and associate each link to a particular instance of this module.
[in] | dm | Discovery object. |
[in,out] | gattp | GATT profile instance. |
0 | If the operation is successful. Otherwise, a (negative) error code is returned. |