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

◆ bt_scan_start()

int bt_scan_start ( enum bt_scan_type  scan_type)

#include <include/bluetooth/scan.h>

Function for starting scanning.

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

Parameters
[in]scan_typeThe choice between active and passive scanning.
Returns
0 If the operation was successful. Otherwise, a (negative) error code is returned.