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

◆ bt_gatt_dm_attr_cnt()

size_t bt_gatt_dm_attr_cnt ( const struct bt_gatt_dm *  dm)

#include <include/bluetooth/gatt_dm.h>

Get total number of attributes decoded.

The number of attributes including the service attribute. It means that service without any attribute would return 1 here.

Parameters
[in]dmDiscovery Manager instance.
Returns
Total number of attributes parsed.