nRF Connect SDK API 0.1.0
|
const struct bt_gatt_dm_attr * bt_gatt_dm_desc_next | ( | const struct bt_gatt_dm * | dm, |
const struct bt_gatt_dm_attr * | prev | ||
) |
#include <include/bluetooth/gatt_dm.h>
Get next descriptor.
Function returns next descriptor. The difference between this function and bt_gatt_dm_attr_next is that it returns NULL also when returned attribute appears to be next characteristic.
[in] | dm | Discovery Manager instance. |
[in] | prev | Previous attribute. The characteristic if we wish to get first descriptor or previous descriptor. If NULL or pointer to service attribute is given the result is undefined. |