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

◆ bt_scan_blocklist_device_add()

int bt_scan_blocklist_device_add ( const bt_addr_le_t *  addr)

#include <include/bluetooth/scan.h>

Add a new device to the blocklist.

Use this function to add a device to the blocklist. Scanning module does not generate any event for the blocklist device or does not try to connect such devices.

Parameters
[in]addrDevice address.
Return values
0If the operation was successful. Otherwise, a (negative) error code is returned.