Generic Attribute Profile (GATT)
www.ti.com
46
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
The Bluetooth Low Energy Protocol Stack
• Permissions – This attribute enforces whether and how a GATT client device can access the value of
the attribute.
5.5.2 GATT Services and Profile
A GATT service is a collection of characteristics. For example, the heart rate service contains a heart rate
measurement characteristic and a body location characteristic. You can group services together to form a
profile. Many profiles implement only one service; so the two terms are used interchangeably.
The SimpleBLEPeripheral application has the following four GATT profiles:
• Mandatory GAP Service – This service contains device and access information such as the device
name, vendor identification, and product identification. This service is a part of the Bluetooth Low
Energy protocol stack and is required for every Bluetooth Low Energy device per the Bluetooth Low
Energy specification. The source code for this service is not provided but is built into the stack library.
• Mandatory GATT Service – This service contains information about the GATT server and is a part of
the Bluetooth Low Energy protocol stack. This service is required for every GATT server device per the
Bluetooth Low Energy specification. The source code for this service is not provided but is built into the
stack library.
• Device Information Service – This service exposes information about the device such as the hardware
version, software version, firmware version, regulatory information, compliance information, and the
name of the manufacturer. The Device Information Service is part of the Bluetooth Low Energy
protocol stack and is configured by the application. For more information, see Device Information
Service (Bluetooth Specification), version 1.0 (24-May-2011).
• simpleGATTProfile Service – This service is a sample profile for testing and demonstration. The full
source code is in the files simpleGATTProfile.c and simpleGATTProfile.h.
Figure 5-9 shows and describes the portion of the attribute table in the SimpleBLEPeripheral project
corresponding to the simpleGATTProfile service. This section is an introduction to the attribute table. For
information on how this profile is implemented in the code, see Section 5.5.4.2.
Figure 5-9. simpleGATTProfile Characteristic Table from BTool