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

◆ ble_scan_start()

uint32_t ble_scan_start ( const struct ble_scan * scan)

#include <ble_scan.h>

Start scanning.

This function starts the scanning according to the configuration set during the initialization.

Parameters
[in]scanScan library instance.
Return values
NRF_SUCCESSIf scanning started.
NRF_ERROR_NULLIf a NULL pointer is passed as input.
Returns
In addition, this function may return any error returned by the following SoftDevice functions:
  • sd_ble_gap_scan_start()