![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_adv_init | ( | struct ble_adv * | ble_adv, |
| const struct ble_adv_config * | ble_adv_config ) |
#include <ble_adv.h>
Initialize the Bluetooth LE advertising library.
| [in] | ble_adv | Bluetooth LE advertising instance. |
| [in] | ble_adv_config | Initialization configuration. |
| NRF_SUCCESS | On success. |
| NRF_ERROR_NULL | If ble_adv or ble_adv_config are NULL. |
| NRF_ERROR_INVALID_PARAM | If the configuration ble_adv_config is invalid. |