Remove the device from the advertisement filter list.
Synopsis:
#include <btapi/btle.h>
int bt_le_remove_scan_device(const char *bdaddr)
Arguments:
- bdaddr
-
The address of the Bluetooth-enabled device to remove from the filter list.
Library:
libbtapi (For the qcc command, use the -l btapi option to link against this library)
Description:
If an error is returned from the function call, the errno is set with reason.
Returns:
EOK on successful removal of a device from the filter list,
-1 if an error occurred with the
errno value set. These are some of the error codes that can be returned:
- EAGAIN: The link to the Bluetooth stack is unavailable. You can try again.
- ENODEV: Bluetooth stack is unavailable.
- EINVAL: The Bluetooth MAC address provided is NULL or invalid.
- ENOMEM: Sufficient memory is not available to perform the request.
- ESRVRFAULT: An internal error has occurred.