English
Language : 

AN91267 Datasheet, PDF (56/62 Pages) Ramtron International Corporation – Getting Started with PSoC
Getting Started with PSoC® 4 BLE
Figure 65. Characteristic Format and Example
Format
Example
<<Characteristic>>
<<Value>>
<<Descriptor>>
<<Descriptor>>
Battery Level
Characteristic
Battery Level
Client Characteristic
Configuration Descriptor
Characteristic Presentation
Format
 Service: The type of Attribute that defines a function performed by the GATT server. A Service is a collection of
Characteristics and can include other Services. The concept of a Service is used to establish the grouping of
relative data and provide a data hierarchy. See Figure 66 for an example of a Heart Rate Service (HRS).
A Service can be of two types: A primary Service or a secondary Service. A primary Service exposes the main
functionality of the device, while the secondary Service provides additional functionality. For example, in a heart-
rate monitoring device, the HRS is a primary Service and BAS is a secondary Service.
A Service can also include other Services that are present on the GATT server. The entire included Services
become part of the new Service.
Figure 66. BLE Heart Rate Service Example
Heart Rate Service
Service
Heart Rate Service
Characteristic
Heart Rate measurement
Characteristic
Body Sensor Location
Characteristic
Heart Rate Control Point
The word “Profile” in BLE is a collection of Services and their behavior that together perform a particular end
application. A Heart Rate Profile (HRP) is an example of a BLE Profile that defines all the required Services for
creating a heart-rate monitoring device. See the Generic Access Profile (GAP) section for details.
www.cypress.com
Document No. 001-91267 Rev. *D
56