![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_db_discovery_init | ( | struct ble_db_discovery * | db_discovery, |
| const struct ble_db_discovery_config * | db_config ) |
#include <ble_db_discovery.h>
Initialize the DB Discovery library.
| [out] | db_discovery | DB discovery instance. |
| [in] | db_config | DB discovery initialization structure. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If db_config, ble_db_discovery_config::evt_handler, ble_db_discovery_config::gatt_queue or db_discovery are NULL. |