SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_db_discovery.h File Reference

ble_db_discovery.h File Reference

Go to the source code of this file.

Data Structures

struct  ble_db_discovery_char_t
 Structure for holding the characteristic and the handle of its CCCD found during the discovery process. More...
struct  ble_db_discovery_srv_t
 Structure for holding information about the service and the characteristics found during the discovery process. More...
struct  ble_db_discovery_t
 Structure for holding the information related to the GATT database at the server. More...
struct  ble_db_discovery_evt_t
 Structure containing the event from the DB discovery module to the application. More...

Typedefs

typedef void(* ble_db_discovery_evt_handler_t )(ble_db_discovery_evt_t *p_evt)
 DB Discovery event handler type.

Enumerations

enum  ble_db_discovery_evt_type_t { BLE_DB_DISCOVERY_COMPLETE, BLE_DB_DISCOVERY_ERROR, BLE_DB_DISCOVERY_SRV_NOT_FOUND }
 

Type of the DB Discovery event.

More...

Functions

uint32_t ble_db_discovery_init (void)
 Function for initializing the DB Discovery module.
uint32_t ble_db_discovery_close (void)
 Function for closing the DB Discovery module.
uint32_t ble_db_discovery_evt_register (const ble_uuid_t *const p_uuid, const ble_db_discovery_evt_handler_t evt_handler)
 Function for registering with the DB Discovery module.
uint32_t ble_db_discovery_start (ble_db_discovery_t *const p_db_discovery, uint16_t conn_handle)
 Function for starting the discovery of the GATT database at the server.
void ble_db_discovery_on_ble_evt (ble_db_discovery_t *const p_db_discovery, const ble_evt_t *const p_ble_evt)
 Function for handling the Application's BLE Stack events.

Detailed Description

Definition in file ble_db_discovery.h.