bt_rdev_is_known()

Retrieve the known state of the remote Bluetooth-enabled device.

Synopsis:

#include <btapi/btdevice.h>
 
int bt_rdev_is_known(const bt_remote_device_t *remote_device, bool *known)

Since:

BlackBerry 10.1.0

Arguments:

remote_device

A pointer to a remote device structure.

known

A pointer to a bool to indicate whether the remote device is known.

Library:

libbtapi (For the qcc command, use the -l btapi option to link against this library)

Description:

Use this function to determine if the remote device is known. The known argument indicates whether the device is known after the function is successfully called. A value of true indicates that the remote device is known.

Returns:

0 is returned upon success, -1 with the errno set otherwise. Possible errno values include:
  • EINVAL: An invalid parameter was passed in.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus