nRF Connect SDK Bare Metal API 2.0.99
Loading...
Searching...
No Matches

◆ BLE_DB_DISCOVERY_DEF

#define BLE_DB_DISCOVERY_DEF ( _name)

#include <ble_db_discovery.h>

Value:
static struct ble_db_discovery _name = {.discovery_in_progress = 0, \
.conn_handle = BLE_CONN_HANDLE_INVALID}; \
NRF_SDH_BLE_OBSERVER(_name##_obs, ble_db_discovery_on_ble_evt, &_name, HIGH)
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.
Bluetooth LE database discovery.
Definition ble_db_discovery.h:122

Macro for defining a ble_db_discovery instance.

Parameters
_nameName of the instance.