Skip to content

Commit 0d6d566

Browse files
committed
GattClient: Fix documentation typos.
1 parent 65678b5 commit 0d6d566

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

BLE_GattClient/BLEProcess.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ class BLEProcess : private mbed::NonCopyable<BLEProcess> {
146146
}
147147

148148
/**
149-
* Stop the gatt client process when a the device is disconnected then
150-
* restart advertising.
149+
* Stop the gatt client process when the device is disconnected then restart
150+
* advertising.
151151
*/
152152
void when_disconnection(const Gap::DisconnectionCallbackParams_t *event)
153153
{

BLE_GattClient/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ class GattClientProcess : private mbed::NonCopyable<GattClientProcess> {
177177
/**
178178
* Handle services discovered.
179179
*
180-
* The GattClient invoke this function when a service has been discovered.
180+
* The GattClient invokes this function when a service has been discovered.
181181
*
182182
* @see GattClient::launchServiceDiscovery
183183
*/
184184
void when_service_discovered(const DiscoveredService *discovered_service)
185185
{
186-
// print informations of the service discovered
186+
// print information of the service discovered
187187
printf("Service discovered: value = ");
188188
print_uuid(discovered_service->getUUID());
189189
printf(", start = %u, end = %u.\r\n",
@@ -227,7 +227,7 @@ class GattClientProcess : private mbed::NonCopyable<GattClientProcess> {
227227
/**
228228
* Handle termination of the service and characteristic discovery process.
229229
*
230-
* The GattClient invoke this function when a the service and characteristic
230+
* The GattClient invokes this function when the service and characteristic
231231
* discovery process ends.
232232
*
233233
* @see GattClient::onServiceDiscoveryTermination

0 commit comments

Comments
 (0)