![]() |
nRF Connect SDK Bare Metal API 2.0.99
|
| uint32_t ble_scan_params_set | ( | struct ble_scan * | scan, |
| const ble_gap_scan_params_t * | scan_params ) |
#include <ble_scan.h>
Set the scanning parameters.
Use this function to change scanning parameters. During the parameter change the scan is stopped. To resume scanning, use ble_scan_start.
| [in,out] | scan | Scan library instance. |
| [in] | scan_params | GAP scanning parameters. Can be initialized as NULL. |
| NRF_SUCCESS | If parameters are changed successfully. |
| NRF_ERROR_NULL | If a NULL pointer is passed as input. |