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

◆ bt_gatt_dm_attr_by_handle()

const struct bt_gatt_dm_attr * bt_gatt_dm_attr_by_handle ( const struct bt_gatt_dm * dm,
uint16_t handle )

#include <include/bluetooth/gatt_dm.h>

Get attribute by handle.

Function returns any type of the attribute using its handle.

Parameters
[in]dmDiscovery Manager instance.
[in]handleThe handle to find
Returns
The pointer to the attribute or NULL if there is no attribute with such a pointer.