TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Modules | Macros
ATT / GATT Constants

Modules

 ATT Error Codes
 
 ATT Event IDs
 
 ATT MTU Size
 
 ATT Methods
 
 ATT Opcode field bitmasks
 
 Authentication Signature status
 
 GATT Attribute Access Permissions Bit Fields
 
 GATT Encryption Key Size Limits
 
 Size of mandatory fields of ATT requests
 

Macros

#define ATT_CANCEL_PREPARED_WRITES   0x00
 Cancel all prepared writes.
 
#define ATT_HANDLE_BT_UUID_TYPE   0x01
 Handle and 16-bit Bluetooth UUID.
 
#define ATT_HANDLE_UUID_TYPE   0x02
 Handle and 128-bit UUID.
 
#define ATT_MIN_NUM_HANDLES   2
 Minimum number of handles in a single Read Multiple Request.
 
#define ATT_WRITE_COMMAND(method, cmd)   ( ( (method) == ATT_WRITE_REQ ) && ( (cmd) == TRUE ) )
 ATT Write Command.
 
#define ATT_WRITE_PREPARED_VALUES   0x01
 Immediately write all pending prepared values.
 
#define GATT_ATTR_HANDLE_SIZE   0x02
 Number of octets attribute handle.
 
#define GATT_BASE_METHOD   0x40
 GATT Base Method.
 
#define GATT_INVALID_HANDLE   0x0000
 Invalid attribute handle.
 
#define GATT_MAX_ATTR_SIZE   512
 GATT Maximum length of an attribute value.
 
#define GATT_MAX_HANDLE   0xFFFF
 Maximum attribute handle.
 
#define GATT_MAX_MTU   0xFFFF
 Maximum MTU size.
 
#define GATT_MAX_NUM_PREPARE_WRITES   5
 GATT Maximum number of attributes that Attribute Server can prepare for writing per Attribute Client.
 
#define GATT_MIN_HANDLE   0x0001
 Minimum attribute handle.
 

Detailed Description

Copyright 2017, Texas Instruments Incorporated