SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
The application and profiles can call GAP API functions to perform BLE-related functions such as advertising or connecting. Most of the GAP functionality is handled by the GAPRole Task. For more information on this abstraction hierarchy, see Figure 5-4.
Configure the GAPRole module and use its APIs to interface with the GAP layer. Section 5.2.3 describes the functions and parameters not handled or configured through the GAPRole task. These functions and parameters must be modified directly through the GAP layer.