4.
Setting/Handling of Pre-Defined Service
The management of services are done in the GATT layer of the ATBTLC1000 ROM coded Bluetooth Low
Energy Stack. The GATT transactions are based on high-level nested objects called "Profiles", "Services"
and "Characteristics" stored in SRAM memory of ATBTLC1000 device. This assignment adds the pre-
defined service of information service from ASF library.
Figure 4-1. ATBTLC1000 GATT Layers
•
Profiles:
Profiles are not available in the Bluetooth Low Energy peripheral; they are simply a pre-defined
collection of services that have been compiled by either the Bluetooth SIG (adopted GATT based
profile) or by the application developer (custom profiles). For example, the
combines the Heart Rate Service and the Device Information Service.
Note:
The complete list of officially adopted GATT-based profiles is available on the
•
Services:
A service is a collection of data and associated behaviors which accomplish a particular function or
feature of a device, or portions of a device. A service may reference other primary or secondary
services and/or a set of characteristics that make up the service. Each service distinguishes itself
from other services by means of a unique numeric ID called as UUID, which can be either 16-bit
(for officially adopted Bluetooth Low Energy Services) or 128-bit (for custom services).
Note:
A full list of officially adopted services and their UUID are seen on the
•
Characteristics:
A characteristic is the lowest level concept in GATT transactions. It contains a single data point with
different attributes such as notify, read, or write capabilities. Similar to Services, each characteristic
can be distinguished by a SIG-defined adopted UUID (16-bit) or custom (128-bit) UUID. This UUID
ensures interoperability across Bluetooth Low Energy devices. The characteristics are important to
interact with in a Bluetooth Low Energy network. In addition to standard UUID, the custom UUID is
used in case of specific application. When characteristics with custom UUID are used in a device,
then it will be interoperable only with those devices that support these characteristics with custom
UUID.
ATBTLC1000
Setting/Handling of Pre-Defined Service
©
2017 Microchip Technology Inc.
Training Manual
DS00002599A-page 30