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

◆ bt_scan_params_set()

int bt_scan_params_set ( struct bt_le_scan_param *  scan_param)

#include <include/bluetooth/scan.h>

Function for changing the scanning parameters.

Use this function to change scanning parameters. During the parameter change the scan is stopped. To resume scanning, use bt_scan_start. Scanning parameters can be set to NULL. If so, the default static configuration is used.

Parameters
[in]scan_paramPointer to Scanning parameters. Can be initialized as NULL.
Returns
0 If the operation was successful. Otherwise, a (negative) error code is returned.