Hardware Reference
In-Depth Information
Figure 4-2
illustrates an instance of the HRS on a fictitious server. This would not be
the only service contained in the server, so you can see this as a partial slice of the
complete set of attributes that a client could access.
Figure 4-2. GATT Heart Rate Service
Here is a handle-by-handle description of the HRS service illustrated in
Figure 4-2
:
Handle
0x0021
This attribute contains the service declaration (see
“Services” on page 58
) for the
Heart Rate Service. These are the service declaration attribute's fields:
UUID
The UUID is the standard 16-bit UUID for a primary service declaration,
UUID
primary service
(
0x2800
).
Value
The value is the 16-bit UUID for the Heart Rate Service, assigned by the SIG
(
0x180D
).
Handle
0x0024
This attribute contains the characteristic declaration (see
“Characteristic declara‐
tion attribute” on page 59
) for the Heart Rate Measurement characteristic. These
are the characteristic declaration attribute's fields:
UUID
The UUID is the standard 16-bit UUID for a characteristic declaration,
UUID
characteristic
(
0x2803
).