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

◆ bt_gatt_dm_desc_by_uuid()

const struct bt_gatt_dm_attr * bt_gatt_dm_desc_by_uuid ( const struct bt_gatt_dm * dm,
const struct bt_gatt_dm_attr * attr_chrc,
const struct bt_uuid * uuid )

#include <include/bluetooth/gatt_dm.h>

Search the descriptor by UUID.

Function searches for the descriptor with given UUID inside given characteristic.

Parameters
[in]dmDiscovery Manager instance.
[in]attr_chrcThe characteristic attribute where to search
[in]uuidThe UUID of the searched descriptor.
Returns
Pointer to the attribute or NULL if the attribute cannot be found.