Texas Instruments CC2540 Software Developers Manual page 138

Bluetooth low energy
Hide thumbs Also See for CC2540:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cc2541

Table of Contents