EasyManuals Logo

Texas Instruments CC2540 Software Developers Guide

Texas Instruments CC2540
162 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
www.ti.com
GAPRole Task
35
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
The Bluetooth Low Energy Protocol Stack
5.3.2 Central Role
The central GAPRole task is defined in central.c and central.h. For the full API including commands,
configurable parameters, events, and callbacks, see Appendix C.
To use this module, do the following:
1. Initialize the GAPRole parameters. Section B.2 defines these parameters. Define the parameters in the
application initialization function (that is, SimpleBLECentral_init()).
2. Initialize the GAPRole task. Do this initialization when processing START DEVICE EVT. This
initialization involves passing function pointers to application callback functions. Section C.3 defines
these callbacks.
3. Send GAPRole commands from the application. The following is an example of the application using
GAPCentralRole_StartDiscovery().
NOTE: The return value from the Bluetooth Low Energy protocol stack only indicates whether the
attempt to perform device discovery was initiated or not. The termination of connection event
is returned asynchronously and is described in the following step. For the list of return
parameter associated with each API, see Appendix A through Appendix G.

Table of Contents

Other manuals for Texas Instruments CC2540

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments CC2540 and is the answer not in the manual?

Texas Instruments CC2540 Specifications

General IconGeneral
BrandTexas Instruments
ModelCC2540
CategoryMicrocontrollers
LanguageEnglish

Related product manuals