Definitions in btgatt.h

Preprocessor macro definitions for the btgatt.h header file in this library.

Definitions:

#define BT_GATT_VERSION 0x00000900
The Bluetooth Generic Attribute (GATT) API version For example, the value 0x00000900 translates to 0000.09.00 or v0.9.0.

Since: BlackBerry 10.0.0

#define BT_GATT_TIME_INFINITY 0xFFFFFFFF
The time frame used to run a scan indefinitely for a connection.

Since: BlackBerry 10.2.0

#define GATT_TIME_INFINITY BT_GATT_TIME_INFINITY

Deprecated:

This definition is deprecated.

Use BT_GATT_TIME_INFINITY instead.

Since: BlackBerry 10.0.0

#define BT_GATT_UUID_STRING_LENGTH 39
The maximum string length for a universally unique identifier (UUID).

Since: BlackBerry 10.2.0

#define GATT_UUID_STRING_LENGTH BT_GATT_UUID_STRING_LENGTH

Deprecated:

This definition is deprecated.

Use BT_GATT_UUID_STRING_LENGTH instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CLIENT_CHAR_CFG_UUID "0x2902"
Client characteristic configuration UUID.

Since: BlackBerry 10.2.0

#define GATT_CLIENT_CHAR_CFG_UUID BT_GATT_CLIENT_CHAR_CFG_UUID

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_BROADCAST instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_BROADCAST 0x01
Allow for the broadcasting of Generic Attributes (GATT) characteristic values.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_BROADCAST BT_GATT_CHARACTERISTIC_PROP_BROADCAST

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_BROADCAST instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_READ 0x02
Allow the characteristic values to be read.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_READ BT_GATT_CHARACTERISTIC_PROP_READ

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_READ instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_WRITE_NORESP 0x04
Allow characteristic values without responses to be written.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_WRITE_NORESP BT_GATT_CHARACTERISTIC_PROP_WRITE_NORESP

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_WRITE_NORESP instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_WRITE 0x08
Allow for characteristic values to be written.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_WRITE BT_GATT_CHARACTERISTIC_PROP_WRITE

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_WRITE_NORESP instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_NOTIFY 0x10
Permits notification of characteristic values.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_NOTIFY BT_GATT_CHARACTERISTIC_PROP_NOTIFY

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_NOTIFY instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_INDICATE 0x20
Permits indications of characteristic values.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_INDICATE BT_GATT_CHARACTERISTIC_PROP_INDICATE

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_INDICATE instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_WRITE_SIGNED 0x40
Permits signed writes of the GATT characteristic values.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_WRITE_SIGNED BT_GATT_CHARACTERISTIC_PROP_WRITE_SIGNED

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_WRITE_SIGNED instead.

Since: BlackBerry 10.0.0

#define BT_GATT_CHARACTERISTIC_PROP_EXT_PROP 0x80
Additional characteristic properties are defined in the characteristic extended properties descriptor.

Since: BlackBerry 10.2.0

#define GATT_CHARACTERISTIC_PROP_EXT_PROP BT_GATT_CHARACTERISTIC_PROP_EXT_PROP

Deprecated:

This definition is deprecated.

Use BT_GATT_CHARACTERISTIC_PROP_EXT_PROP instead.

Since: BlackBerry 10.0.0

Library:

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