3
SWRU271H – October 2010 – Revised April 2019
Copyright © 2010–2019, Texas Instruments Incorporated
Contents
5.5.4
GATT Server Abstraction
.........................................................................................
5.6
L2CAP
.......................................................................................................................
5.7
HCI
...........................................................................................................................
5.7.1
HCI Extension Vendor-Specific Commands
...................................................................
5.7.2
Receiving HCI Extension Events in the Application
..........................................................
5.8
Library Files
.................................................................................................................
6
Drivers
..............................................................................................................................
6.1
Overview
.....................................................................................................................
6.2
ADC
..........................................................................................................................
6.3
AES
..........................................................................................................................
6.4
LCD
..........................................................................................................................
6.5
LED
...........................................................................................................................
6.6
KEY
..........................................................................................................................
6.7
DMA
..........................................................................................................................
6.8
UART and SPI
..............................................................................................................
6.9
Other Peripherals
...........................................................................................................
6.10
Simple NV (SNV)
...........................................................................................................
7
Creating a Custom Bluetooth Low Energy Application
............................................................
7.1
Overview
.....................................................................................................................
7.2
Configuring the Bluetooth Low Energy Stack
...........................................................................
7.3
Define Bluetooth Low Energy Behavior
.................................................................................
7.4
Define Application Tasks
..................................................................................................
7.5
Configure Hardware Peripherals
.........................................................................................
7.6
Configuring Parameters for Custom Hardware
.........................................................................
7.6.1
Board File
..........................................................................................................
7.6.2
Adjusting for 32-MHz Crystal Stabilization Time
..............................................................
7.6.3
Setting the Sleep Clock Accuracy
...............................................................................
7.7
Software Considerations
..................................................................................................
7.7.1
Memory Management for GATT Notifications and Indications
..............................................
7.7.2
Limit Application Processing During Bluetooth Low Energy Activity
.......................................
7.7.3
Global Interrupts
...................................................................................................
8
Development and Debugging
...............................................................................................
8.1
Overview
.....................................................................................................................
8.2
IAR Overview
...............................................................................................................
8.3
Using IAR Embedded Workbench
.......................................................................................
8.3.1
Open an Existing Project
.........................................................................................
8.3.2
Project Options, Configurations, and Defined Symbols
......................................................
8.3.3
Building and Debugging a Project
..............................................................................
8.3.4
Linker Map File
....................................................................................................
9
General Information
............................................................................................................
9.1
Overview
.....................................................................................................................
9.2
Porting From BLE-Stack 1.4.2 to 1.5.0
..................................................................................
9.3
Porting From Earlier BLE-Stack Versions
...............................................................................
9.3.1
Porting BLEv1.4.1 Projects to BLEv1.4.2
......................................................................
9.3.2
Porting BLEv1.4.0 Projects to BLEv1.4.1
......................................................................
9.3.3
Porting BLEv1.3.2 Projects to BLEv1.4.0
......................................................................
9.3.4
Porting BLEv1.2 Projects to BLEv1.3
...........................................................................
9.3.5
Porting From CC2540 to CC2541 Project
.....................................................................
9.4
Release Notes History
.....................................................................................................
9.5
Document History
.........................................................................................................
A
GAP API
..........................................................................................................................
A.1
Commands
................................................................................................................