Commands
www.ti.com
120
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
GAPRole Central Role API
bStatus_t GAPCentralRole_CancelDiscovery(void)
Cancel a device discovery scan.
Parameters None
Returns SUCCESS: cancelling of device discovery has started
bleIncorrectMode: Not in discovery mode.
bStatus_t GAPCentralRole_StartRssi(uint16 connHandle, uint16 period)
Start periodic RSSI reads on a link.
Parameters connHandle - connection handle of link
period - RSSI read period in ms
Returns SUCCESS: RSSI calculation has started
bleIncorrectMode: No active link.
bleNoResources: No resources for allocation.
bStatus_t GAPCentralRole_CancelRssi(uint16 connHandle)
Cancel periodic RSSI reads on a link.
Parameters connHandle - connection handle of link
Returns SUCCESS
bleIncorrectMode: No active link.