nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
GATT Discovery Manager API

Module for GATT Discovery Manager. More...

Data Structures

struct  bt_gatt_dm_attr
 Discovery Manager GATT attribute. More...
 
struct  bt_gatt_dm_cb
 Discovery callback structure. More...
 

Functions

struct bt_gatt_service_val * bt_gatt_dm_attr_service_val (const struct bt_gatt_dm_attr *attr)
 Access service value saved with service attribute.
 
struct bt_gatt_chrc * bt_gatt_dm_attr_chrc_val (const struct bt_gatt_dm_attr *attr)
 Access characteristic value saved with characteristic attribute.
 
struct bt_conn * bt_gatt_dm_conn_get (struct bt_gatt_dm *dm)
 Get the connection object.
 
size_t bt_gatt_dm_attr_cnt (const struct bt_gatt_dm *dm)
 Get total number of attributes decoded.
 
const struct bt_gatt_dm_attrbt_gatt_dm_service_get (const struct bt_gatt_dm *dm)
 Get service value.
 
const struct bt_gatt_dm_attrbt_gatt_dm_char_next (const struct bt_gatt_dm *dm, const struct bt_gatt_dm_attr *prev)
 Get next characteristic.
 
const struct bt_gatt_dm_attrbt_gatt_dm_char_by_uuid (const struct bt_gatt_dm *dm, const struct bt_uuid *uuid)
 Get the characteristic by its UUID.
 
const struct bt_gatt_dm_attrbt_gatt_dm_attr_by_handle (const struct bt_gatt_dm *dm, uint16_t handle)
 Get attribute by handle.
 
const struct bt_gatt_dm_attrbt_gatt_dm_attr_next (const struct bt_gatt_dm *dm, const struct bt_gatt_dm_attr *prev)
 Get next attribute.
 
const struct bt_gatt_dm_attrbt_gatt_dm_desc_by_uuid (const struct bt_gatt_dm *dm, const struct bt_gatt_dm_attr *attr_chrc, const struct bt_uuid *uuid)
 Search the descriptor by UUID.
 
const struct bt_gatt_dm_attrbt_gatt_dm_desc_next (const struct bt_gatt_dm *dm, const struct bt_gatt_dm_attr *prev)
 Get next descriptor.
 
int bt_gatt_dm_start (struct bt_conn *conn, const struct bt_uuid *svc_uuid, const struct bt_gatt_dm_cb *cb, void *context)
 Start service discovery.
 
int bt_gatt_dm_continue (struct bt_gatt_dm *dm, void *context)
 Continue service discovery.
 
int bt_gatt_dm_data_release (struct bt_gatt_dm *dm)
 Release data associated with service discovery.
 
static void bt_gatt_dm_data_print (const struct bt_gatt_dm *dm)
 Print service discovery data.
 

Detailed Description

Module for GATT Discovery Manager.