nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ Scan()

CHIP_ERROR Nrf::BLEConnectivityManager::Scan ( ScanDoneCallback callback,
void * context,
uint32_t scanTimeoutMs = kScanTimeoutMs )

Start scanning for Bluetooth LE peripheral devices advertising service UUIDs passed in Init method.

Parameters
callbackcallback with results to be called once scan is done
contextcontext that will be passed as an argument once calling callback
scanTimeoutMsoptional timeout on scan operation in ms (by default 10 s)
Returns
CHIP_NO_ERROR on success
other error code on failure