![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
Library for discovery of a service and its characteristics at the peer server. More...
Data Structures | |
| struct | ble_db_discovery_evt |
| Bluetooth LE database discovery event. More... | |
| struct | ble_db_discovery_config |
| Bluetooth LE database discovery configuration. More... | |
| struct | ble_db_discovery |
| Bluetooth LE database discovery. More... | |
Macros | |
| #define | BLE_DB_DISCOVERY_H__ |
| #define | BLE_DB_DISCOVERY_DEF(_name) |
| Macro for defining a ble_db_discovery instance. | |
Typedefs | |
| typedef void(* | ble_db_discovery_evt_handler) (struct ble_db_discovery *db_discovery, struct ble_db_discovery_evt *evt) |
| DB discovery event handler type. | |
Enumerations | |
| enum | ble_db_discovery_evt_type { BLE_DB_DISCOVERY_COMPLETE , BLE_DB_DISCOVERY_SRV_NOT_FOUND , BLE_DB_DISCOVERY_AVAILABLE , BLE_DB_DISCOVERY_ERROR } |
| Bluetooth LE database discovery event type. More... | |
Functions | |
| uint32_t | ble_db_discovery_init (struct ble_db_discovery *db_discovery, const struct ble_db_discovery_config *db_config) |
| Initialize the DB Discovery library. | |
| uint32_t | ble_db_discovery_start (struct ble_db_discovery *db_discovery, uint16_t conn_handle) |
| Start the discovery of the GATT database at the server. | |
| uint32_t | ble_db_discovery_service_register (struct ble_db_discovery *db_discovery, const ble_uuid_t *uuid) |
| Register service UUID with the DB Discovery instance. | |
| void | ble_db_discovery_on_ble_evt (const ble_evt_t *ble_evt, void *ble_db_discovery) |
| Bluetooth LE event handler for the Database Discovery library. | |
Library for discovery of a service and its characteristics at the peer server.