bt_feature_t

This enumeration defines features and profiles available for Bluetooth.

Synopsis:

#include <btapi/btdevice.h>
 
typedef enum {
      BT_FEATURE_BLUETOOTH   
      BT_FEATURE_MAP   
      BT_FEATURE_OPP_SERVER   
      BT_FEATURE_OPP_CLIENT   
      BT_FEATURE_PBAP   
      BT_FEATURE_A2DP_SOURCE   
      BT_FEATURE_A2DP_SINK   
      BT_FEATURE_AVRCP   
      BT_FEATURE_LOW_ENERGY   
      BT_FEATURE_HFPG   
      BT_FEATURE_HFP   
      BT_FEATURE_HID_CLIENT   
      BT_FEATURE_HID_SERVER   
      BT_FEATURE_SPP   
      BT_FEATURE_PAN   
      BT_FEATURE_UNDEFINED   
} bt_feature_t;

Since:

BlackBerry 10.1.0

Data:

BT_FEATURE_BLUETOOTH
General Bluetooth.
BT_FEATURE_MAP
Message Access Profile (MAP).
BT_FEATURE_OPP_SERVER
Object Push Profile (OPP) server.
BT_FEATURE_OPP_CLIENT
Object Push Profile (OPP) client.
BT_FEATURE_PBAP
Phonebook Access Profile (PBAP).
BT_FEATURE_A2DP_SOURCE
Advanced Audio Distribution Profile (A2DP) source.
BT_FEATURE_A2DP_SINK
Advanced Audio Distribution Profile (A2DP) sink.
BT_FEATURE_AVRCP
Audio/Video Remote Control Profile (AVRCP).
BT_FEATURE_LOW_ENERGY
Low Energy.
BT_FEATURE_HFPG
Handsfree Profile (HFP) gateway.
BT_FEATURE_HFP
Handsfree Profile (HFP) gateway.
BT_FEATURE_HID_CLIENT
Human Interface Device (HID) client.
BT_FEATURE_HID_SERVER
Human Interface Device (HID) server.
BT_FEATURE_SPP
Serial Port Profile (SPP).
BT_FEATURE_PAN
Personal Area Network (PAN).
BT_FEATURE_UNDEFINED
Undefined (end of list placeholder).

Library:

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

Description:

Features and profiles can be disabled in various ways. The enumerated values are used as constants for the bt_ldev_get_feature_enabled() function to specify the feature and profiles you want to test in enabled status.

Last modified: 2014-05-14



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

comments powered by Disqus