|
24 | 24 | *
|
25 | 25 | * @purpose
|
26 | 26 | *
|
27 |
| - * The heart rate service is used by fitness applications to exposes the heart |
28 |
| - * beat per minute measured by an heart rate sensor. |
| 27 | + * Fitness applications use the heart rate service to expose the heart |
| 28 | + * beat per minute measured by a heart rate sensor. |
29 | 29 | *
|
30 | 30 | * Clients can read the intended location of the sensor and the last heart rate
|
31 |
| - * value measured. Additionally clients can subscribe to server initiated |
| 31 | + * value measured. Additionally, clients can subscribe to server initiated |
32 | 32 | * updates of the heart rate value measured by the sensor. The service delivers
|
33 | 33 | * these updates to the subscribed client in a notification packet.
|
34 | 34 | *
|
|
38 | 38 | *
|
39 | 39 | * @par usage
|
40 | 40 | *
|
41 |
| - * When this class is instantiated, it adds an heart rate service in the GattServer. |
| 41 | + * When this class is instantiated, it adds a heart rate service in the GattServer. |
42 | 42 | * The service contains the location of the sensor and the initial value measured
|
43 | 43 | * by the sensor.
|
44 | 44 | *
|
@@ -99,14 +99,14 @@ class HeartRateService {
|
99 | 99 |
|
100 | 100 | public:
|
101 | 101 | /**
|
102 |
| - * Construct and initialize an heart rate service. |
| 102 | + * Construct and initialize a heart rate service. |
103 | 103 | *
|
104 | 104 | * The construction process adds a GATT heart rate service in @p _ble
|
105 | 105 | * GattServer, sets the value of the heart rate measurement characteristic
|
106 | 106 | * to @p hrmCounter and the value of the body sensor location characteristic
|
107 | 107 | * to @p location.
|
108 | 108 | *
|
109 |
| - * @param[in] _ble BLE device which will host the heart rate service. |
| 109 | + * @param[in] _ble BLE device that hosts the heart rate service. |
110 | 110 | * @param[in] hrmCounter Heart beats per minute measured by the heart rate
|
111 | 111 | * sensor.
|
112 | 112 | * @param[in] location Intended location of the heart rate sensor.
|
|
0 commit comments