TI BLE-Stack for Bluetooth 4.2 API Documentation  3.01.00.07
Macros
Size of mandatory fields of ATT requests

Macros

#define ATT_AUTHEN_SIG_LEN   12
 Length of Authentication Signature field.
 
#define ATT_ERROR_RSP_SIZE   4
 Length of Error Response: Command opcode in error (1) + Attribute handle in error (2) + Status code (1)
 
#define ATT_EXCHANGE_MTU_REQ_SIZE   2
 Length of Exchange MTU Request: client receive MTU size (2)
 
#define ATT_EXCHANGE_MTU_RSP_SIZE   2
 Length of Exchange MTU Response: server receive MTU size (2)
 
#define ATT_EXECUTE_WRITE_REQ_SIZE   1
 Length of Execute Write Request: Flags (1)
 
#define ATT_FIND_BY_TYPE_VALUE_REQ_FIXED_SIZE   6
 Length of Find By Type Value Request's fixed fields: Start handle (2) + End handle (2) + Type (2)
 
#define ATT_FIND_BY_TYPE_VALUE_REQ_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_FIND_BY_TYPE_VALUE_REQ_FIXED_SIZE )
 Length of Find By Type Value Request's Header.
 
#define ATT_FIND_INFO_REQ_FIXED_SIZE   4
 Length of Find Information Request's fixed fields: First handle number (2) + Last handle number (2)
 
#define ATT_FIND_INFO_RSP_FIXED_SIZE   1
 Length of Find Information Response's fixed field: Format (1)
 
#define ATT_FIND_INFO_RSP_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_FIND_INFO_RSP_FIXED_SIZE )
 Length of Find Information Response's Header.
 
#define ATT_HANDLE_VALUE_IND_FIXED_SIZE   2
 Length of Handle Value Indication's fixed size: Attribute Handle (2)
 
#define ATT_HANDLE_VALUE_IND_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_HANDLE_VALUE_IND_FIXED_SIZE )
 Size of Indication header.
 
#define ATT_OPCODE_SIZE   1
 Length of opcode field: Opcode (1)
 
#define ATT_PREPARE_WRITE_REQ_FIXED_SIZE   4
 Length of Prepare Write Request's fixed fields: Attribute Handle (2) + Value Offset (2)
 
#define ATT_PREPARE_WRITE_REQ_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_PREPARE_WRITE_REQ_FIXED_SIZE )
 Size of Prepare Write Request Header.
 
#define ATT_PREPARE_WRITE_RSP_FIXED_SIZE   4
 Length of Prepare Write Response's fixed size: Attribute Handle (2) + Value Offset (2)
 
#define ATT_READ_BLOB_REQ_SIZE   4
 Length of Read Blob Request: Attribute Handle (2) + Value Offset (2)
 
#define ATT_READ_BY_GRP_TYPE_RSP_FIXED_SIZE   1
 Length of Read By Type Response's fixed fields: Length (1)
 
#define ATT_READ_BY_GRP_TYPE_RSP_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_READ_BY_GRP_TYPE_RSP_FIXED_SIZE )
 Size of Read by Group Type Response Header.
 
#define ATT_READ_BY_TYPE_REQ_FIXED_SIZE   4
 Length of Read By Type Request's fixed fields: First handle number (2) + Last handle number (2)
 
#define ATT_READ_BY_TYPE_REQ_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_READ_BY_TYPE_REQ_FIXED_SIZE )
 Size of Read by Type Request Header.
 
#define ATT_READ_BY_TYPE_RSP_FIXED_SIZE   1
 Length of Read By Type Response's fixed fields: Length (1)
 
#define ATT_READ_BY_TYPE_RSP_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_READ_BY_TYPE_RSP_FIXED_SIZE )
 Size of Read by Type Response Header.
 
#define ATT_READ_REQ_SIZE   2
 Length of Read Request: Attribute Handle (2)
 
#define ATT_WRITE_REQ_FIXED_SIZE   2
 Length of Write Request's fixed field: Attribute Handle (2)
 
#define ATT_WRITE_REQ_FIXED_SIZE   2
 Length of Write Request's fixed field: Attribute Handle (2)
 
#define ATT_WRITE_REQ_HDR_SIZE   ( ATT_OPCODE_SIZE + ATT_WRITE_REQ_FIXED_SIZE )
 Size of Write Request Header.
 

Detailed Description

Copyright 2017, Texas Instruments Incorporated