bt_discoverable_t

An enumeration that represents various discoverable and connectable modes that can be used during the inquiry procedure.

Synopsis:

#include <btapi/btdevice.h>
 
typedef enum {
      BT_DISCOVERABLE_UNKNOWN = -1   
      BT_DISCOVERABLE_NONE = 0   
      BT_DISCOVERABLE_GIAC = 1   
      BT_DISCOVERABLE_LIAC = 2   
      BT_DISCOVERABLE_CONNECTABLE = 3   
      BT_DISCOVERABLE_DISCOVERABLE = 4   
} bt_discoverable_t;

Since:

BlackBerry 10.0.0

Data:

BT_DISCOVERABLE_UNKNOWN
Unknown.

This value occurs when discovery fails.

BT_DISCOVERABLE_NONE
Not discoverable or connectable.
BT_DISCOVERABLE_GIAC
General Inquiry Access Code (GIAC).

Generally discoverable and connectable.

BT_DISCOVERABLE_LIAC
Limited Inquiry Access Code (LIAC).

Limited discoverability but connectable.

BT_DISCOVERABLE_CONNECTABLE
Connectable but not discoverable.
BT_DISCOVERABLE_DISCOVERABLE
Discoverable but not connectable.

Library:

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

Description:

The inquiry procedure is the process of discovering other Bluetooth-enabled devices that are within range.

Last modified: 2014-05-14



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

comments powered by Disqus