www.ti.com
GAPRole Task
33
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
The Bluetooth Low Energy Protocol Stack
2. Initialize the GAPRole task. Do this initialization when processing START_DEVICE_EVT. This
initialization involves passing function pointers to application callback functions. Section B.3 defines
these callbacks.
3. Send GAPRole commands from the application. The following is an example of the application using
GAPRole_TerminateConnection().
NOTE: The return value from the Bluetooth Low Energy protocol stack only indicates whether the
attempt to terminate the connection was initiated successfully. The termination of connection
event sent to the application asynchronously and is described in the following example. The
API in Section B.3 lists the return parameters for each command and associated callback
function events.