www.ti.com
4
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
Contents
A.2 Configurable Parameters ................................................................................................ 105
A.3 Events ...................................................................................................................... 108
B GAPRole Peripheral Role API............................................................................................. 112
B.1 Commands ................................................................................................................ 112
B.2 Configurable Parameters ................................................................................................ 114
B.3 Callbacks................................................................................................................... 115
B.3.1 State Change Callback (pfnStateChange) ................................................................... 115
B.3.2 RSSI Callback (pfnRssiRead).................................................................................. 116
C GAPRole Central Role API ................................................................................................. 117
C.1 Commands ................................................................................................................ 117
C.2 Configurable Parameters ................................................................................................ 121
C.3 Callbacks................................................................................................................... 121
C.3.1 RSSI Callback (rssiCB) ......................................................................................... 121
C.3.2 Central Event Callback (eventCB)............................................................................. 122
D GATT/ATT API .................................................................................................................. 123
D.1 Overview ................................................................................................................... 123
D.2 Server Commands........................................................................................................ 123
D.3 Client Commands......................................................................................................... 124
D.4 Return Values ............................................................................................................. 130
D.5 Events ...................................................................................................................... 131
D.6 GATT Commands and Corresponding ATT Events.................................................................. 133
D.7 ATT_ERROR_RSP Error Codes ....................................................................................... 133
E GATTServApp API ............................................................................................................ 135
E.1 Overview ................................................................................................................... 135
E.2 Commands ................................................................................................................ 135
F GAPBondMgr API ............................................................................................................. 137
F.1 Overview ................................................................................................................... 137
F.2 Commands ................................................................................................................ 137
F.3 Configurable Parameters ................................................................................................ 140
F.4 Callbacks................................................................................................................... 141
F.4.1 Passcode Callback (passcodeCB) ............................................................................ 141
F.4.2 Pairing State Callback (pairStateCB) ......................................................................... 141
G HCI Extension API ............................................................................................................ 143
G.1 Overview ................................................................................................................... 143
G.2 Commands ................................................................................................................ 143
G.3 Host Error Codes ......................................................................................................... 160
Revision History........................................................................................................................ 161