Application¶
Memory Management¶
This section aims to describe the various memory regions available on the device as well as how they are used by the stack and application. The chapter starts with an overview of the memory map of the device, and then each section goes into detail on how this memory region is used.
BLE5-Stack¶
Table of contents
- Overview
- Generic Access Profile (GAP)
- Generic Attribute Profile (GATT)
- GAP GATT Service (GGS)
- Generic Attribute Profile Service (GATT Service)
- GATTServApp Module
- Building up the Attribute Table
- Implementing Profiles in Attributes Table
- Add Service Function
- Register Application Callback Function
- Read and Write Callback Functions
- Read Request from Client
- Write Request from Client
- Get and Set Functions
- Queued Writes
- Allocating Memory for GATT Procedures
- Registering to Receive Additional GATT Events in the Application
- Delaying an ATT Read Request
- GAP Bond Manager and LE Secure Connections
- Privacy
- Logical Link Control and Adaptation Layer Protocol (L2CAP)
- Link Layer (LL)
- Channel Selection Algorithm #2
- Host Controller Interface (HCI)
- Physical Layer (PHY)
- Stack Configurations
Developing a Custom Application¶
A system designer must have a firm grasp on the general system architecture, application, and Bluetooth Low Energy stack framework to implement a custom Bluetooth Low Energy application. This section provides indications and guidance on where and how to start implementing a custom application based on information presented in the previous sections (Introduction and BLE5-Stack) as well as knowledge of TI-RTOS and CC13xx or CC26xx.
Decide what role and purpose the custom application should have. If an application is tied to a specific service or profile, start with that sample application.
A project’s role can be essentially be placed in one of the five (5) categories as described by GAP Roles.