![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_scan_init | ( | struct ble_scan * | scan, |
| struct ble_scan_config * | config ) |
#include <ble_scan.h>
Initialize the library.
| [out] | scan | Scan library instance. This structure must be supplied by the application. It is initialized by this function and is later used to identify this particular library instance. |
| [in] | config | Configuration parameters. |
| NRF_SUCCESS | If initialization was successful. |
| NRF_ERROR_NULL | If a NULL pointer is passed as input. |