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

◆ bt_gatt_dm_char_next()

const struct bt_gatt_dm_attr * bt_gatt_dm_char_next ( const struct bt_gatt_dm * dm,
const struct bt_gatt_dm_attr * prev )

#include <include/bluetooth/gatt_dm.h>

Get next characteristic.

Parameters
[in]dmDiscovery Manager instance.
[in]prevAn attribute where start to search. If NULL - the first characteristic in the service would be found. Note: It can be the previous characteristic attribute or the last descriptor inside the previous attribute. Function would start searching for the next characteristic from that point.
Returns
The pointer for an attribute that describes the characteristic or NULL if no more characteristic is present.