SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
param – Profile parameter ID (see Section F.3)
len – length of data to write
pValue – pointer to value to set parameter. This depends on the parameter ID and is cast to the appropriate data type
SUCCESS: parameter was set
INVALIDPARAMETER: param was not valid
bleInvalidRange: len is not valid for the given param
param – Profile parameter ID (see Section F.3
pValue – pointer to a location to get the value. This pointer depends on the param ID and is cast to the appropriate data type.
SUCCESS: param was successfully placed in pValue
INVALIDPARAMETER: param was not valid
addrType – address type of the peer device:
peerAddr – peer device address
connHandle – connection handle
role – master or slave role
SUCCESS: GAPBondMgr was notified of link establishment
connHandle – connection handle
connHandle – connection handle
addrType – address type of the peer device:
peerAddr – peer device address
pResolvedAddr – pointer to buffer to put the resolved address
Bonding index (0 – (GAP_BONDINGS_MAX-1): if address was found...
GAP_BONDINGS_MAX: if address was not found
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.
SUCCESS – bond record found and changed
bleNoResources – no bond records found (for 0xFFFF connHandle)
bleNotConnected – connection with connHandle is invalid
connectionHandle – connection handle of the connected device or 0xFFFF for all devices in database.
attrHandle – attribute handle
value – characteristic configuration value
SUCCESS – bond record found and changed
bleNoResources – no bond records found (for 0xFFFF connectionHandle)
bleNotConnected – connection with connectionHandle is invalid
pCB – pointer to callback function structure (see Section F.4)
connectionHandle – connection handle of the connected device or 0xFFFF for all devices in database.
status – SUCCESS if passcode is available, otherwise, see SMP_PAIRING_FAILED_DEFINES in gapbondmgr.h
passcode – integer value containing the passcode
SUCCESS: connection found and passcode was changed
bleIncorrectMode: connectionHandle connection not found or pairing has not started
INVALIDPARAMETER: passcode is out of range
bleMemAllocError: heap is out of memory
NOTE
This bypass mechanism is an advanced feature and should not be called unless the normal GAP Bond Manager task ID registration is overridden.
pMsg – GAP event message
TRUE: safe to deallocate incoming GAP message
FALSE: not safe to deallocate an incoming gap message
id – NV ID
len – lengths in bytes of item.
SUCCESS: NV item is the correct length
FAILURE: NV item is an incorrect length