www.ti.com
5
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
List of Figures
List of Figures
1-1. Bluetooth Low Energy Protocol Stack .................................................................................... 9
2-1. Single-Device Configuration .............................................................................................. 12
2-2. Network Processor Configuration ........................................................................................ 13
3-1. OSAL Task Loop ........................................................................................................... 17
4-1. Project Files................................................................................................................. 20
4-2. SimpleBLEPeripheral Complete Attribute Table ....................................................................... 25
5-1. GAP State Diagram........................................................................................................ 27
5-2. Connection Event and Interval ........................................................................................... 28
5-3. Slave Latency............................................................................................................... 29
5-4. GAP Abstraction............................................................................................................ 31
5-5. Just Works Pairing ......................................................................................................... 40
5-6. Bonding After Just Works Pairing........................................................................................ 42
5-7. Pairing With MITM Authentication........................................................................................ 43
5-8. GATT Client and Server................................................................................................... 45
5-9. simpleGATTProfile Characteristic Table from BTool .................................................................. 46
5-10. GATT Client Abstraction................................................................................................... 48
5-11. GATT Server Abstraction.................................................................................................. 51
5-12. Attribute Table Initialization ............................................................................................... 52
5-13. Get and Set Profile Parameter Usage................................................................................... 61
6-1. HAL Drivers ................................................................................................................. 65
8-1. IAR Embedded Workbench............................................................................................... 72
8-2. Project Configurations and Options...................................................................................... 73
8-3. Project Configurations ..................................................................................................... 73
8-4. Preprocessor Defined Symbols Settings................................................................................ 74
8-5. The buildConfig.h File ..................................................................................................... 75
8-6. Configuration File Setup................................................................................................... 75
8-7. Building a Project........................................................................................................... 77
8-8. Debug Button in IAR ....................................................................................................... 78
8-9. Target Selection ............................................................................................................ 78
8-10. IAR Debug Toolbar......................................................................................................... 79
8-11. Map File in File List ........................................................................................................ 79
9-1. Edit IAR Project Configuration ........................................................................................... 87
9-2. IAR Project Options - Device Selection ................................................................................. 87
9-3. IAR Project Options - Predefined Symbols ............................................................................. 88
9-4. Stack Build Configuration ................................................................................................. 89
9-5. BLE Library: Exclude From Custom Build .............................................................................. 89
9-6. BLE Library: Add To LIB Group .......................................................................................... 90