Commands
www.ti.com
138
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPBondMgr API
void GAPBondMgr_LinkTerm(uint16 connHandle)
Notify the Bond Manager that a connection has been terminated.
Parameters connHandle – connection handle
void GAPBondMgr_SlaveReqSecurity(uint16 connHandle)
Notify the Bond Manager that a Slave Security Request is received.
Parameters connHandle – connection handle
uint8 GAPBondMgr_ResolveAddr(uint8 addrType, uint8 *pDevAddr, uint8 *pResolvedAddr)
Resolve an address from bonding information.
Parameters addrType – address type of the peer device:
peerAddr – peer device address
pResolvedAddr – pointer to buffer to put the resolved address
Returns Bonding index (0 – (GAP_BONDINGS_MAX-1): if address was found...
GAP_BONDINGS_MAX: if address was not found
bStatus_t GAPBondMgr_ServiceChangeInd(uint16 connectionHandle, uint8 setParam )
Set/clear the service change indication in a bond record.
Parameters connHandle – connection handle of the connected device or 0xFFFF for devices in
database.
setParam – TRUE to set the service change indication, FALSE to clear it.
Returns SUCCESS – bond record found and changed
bleNoResources – no bond records found (for 0xFFFF connHandle)
bleNotConnected – connection with connHandle is invalid
bStatus_t GAPBondMgr_UpdateCharCfg(uint16 connectionHandle, uint16 attrHandle, uint16
value )
Update the Characteristic Configuration in a bond record.
Parameters connectionHandle – connection handle of the connected device or 0xFFFF for all
devices in database.
attrHandle – attribute handle
value – characteristic configuration value
Returns SUCCESS – bond record found and changed
bleNoResources – no bond records found (for 0xFFFF connectionHandle)
bleNotConnected – connection with connectionHandle is invalid