![]() |
nRF Connect SDK API 3.3.99
|
| const struct bt_gatt_dm_attr * bt_gatt_dm_attr_next | ( | const struct bt_gatt_dm * | dm, |
| const struct bt_gatt_dm_attr * | prev ) |
#include <include/bluetooth/gatt_dm.h>
Get next attribute.
Function returns the attribute next to the given one. It returns any type of the attribute.
| [in] | dm | Discovery Manager instance. |
| [in] | prev | Previous attribute or NULL if we wish to get first attribute (just after service). |
prev or the first attribute if NULL is given.