Commands
www.ti.com
118
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPRole Central Role API
bStatus_t GAPCentralRole_TerminateLink (uint16 connHandle);
Terminates an existing connection.
Parameters connHandle - connection handle of link to terminate or...
0xFFFE: cancel the current link establishment request or...
0xFFFF: terminate all links
Returns SUCCESS: termination has started
bleIncorrectMode: there is no active connection
LL_STATUS_ERROR_CTRL_PROC_ALREADY_ACTIVE: terminate procedure already
started
bStatus_t GAPCentralRole_EstablishLink(uint8 highDutyCycle, uint8 whiteList, uint8
addrTypePeer, uint8 *peerAddr)
Establishes a link to a peer device.
Parameters highDutyCycle - TRUE to high duty cycle scan, FALSE if not
whiteList - determines use of the white list
addrTypePeer - address type of the peer device:
peerAddr - peer device address
Returns SUCCESS: link establishment has started
bleIncorrectMode: invalid profile role.
bleNotReady: a scan is in progress.
bleAlreadyInRequestedMode: cannot process now.
bleNoResources: too many links.