nRF Connect SDK API 0.1.0
|
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.
[in] | addr | Device address. |
0 | If the operation was successful. Otherwise, a (negative) error code is returned. |