EasyManua.ls Logo

Texas Instruments CC2540

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
Loading...
2
SWRU271HOctober 2010Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
Contents
Contents
Preface ........................................................................................................................................ 7
1 Overview............................................................................................................................. 7
1.1 Support Note ................................................................................................................. 8
1.2 Introduction ................................................................................................................... 8
1.3 Bluetooth Low Energy Protocol Stack Basics............................................................................ 9
2 The TI Bluetooth Low Energy Software Development Platform ................................................ 11
2.1 Overview..................................................................................................................... 11
2.2 Configurations .............................................................................................................. 11
2.3 Projects ...................................................................................................................... 14
2.4 Software Overview ......................................................................................................... 14
3 The Operating System Abstraction Layer (OSAL)................................................................... 15
3.1 Overview..................................................................................................................... 15
3.2 Task Initialization ........................................................................................................... 16
3.3 Task Events and Event Processing...................................................................................... 17
3.4 Heap Manager.............................................................................................................. 18
3.5 OSAL Messages ........................................................................................................... 19
4 The Application and Profiles................................................................................................ 20
4.1 Overview..................................................................................................................... 20
4.2 Project Overview ........................................................................................................... 20
4.3 Start-up in main()........................................................................................................... 22
4.4 Application Initialization.................................................................................................... 23
4.5 Event Processing........................................................................................................... 23
4.5.1 Periodic Event ..................................................................................................... 23
4.5.2 OSAL Messages .................................................................................................. 24
4.6 Callbacks .................................................................................................................... 24
4.7 Complete Attribute Table.................................................................................................. 25
4.8 Additional Sample Projects ............................................................................................... 26
5 The Bluetooth Low Energy Protocol Stack ............................................................................ 27
5.1 Overview..................................................................................................................... 27
5.2 Generic Access Profile (GAP) ............................................................................................ 27
5.2.1 Overview............................................................................................................ 27
5.2.2 GAP Abstraction................................................................................................... 31
5.2.3 Configuring the GAP Layer ...................................................................................... 31
5.3 GAPRole Task.............................................................................................................. 32
5.3.1 Peripheral Role .................................................................................................... 32
5.3.2 Central Role........................................................................................................ 35
5.4 Gap Bond Manager (GAPBondMgr)..................................................................................... 37
5.4.1 Overview of Bluetooth Low Energy Security................................................................... 37
5.4.2 Using the GapBondMgr Profile .................................................................................. 38
5.4.3 GAPBondMgr Examples for Various Security Modes ........................................................ 40
5.5 Generic Attribute Profile (GATT) ......................................................................................... 45
5.5.1 GATT Characteristics and Attributes ........................................................................... 45
5.5.2 GATT Services and Profile....................................................................................... 46
5.5.3 GATT Client Abstraction.......................................................................................... 48

Table of Contents

Other manuals for Texas Instruments CC2540

Related product manuals