Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: ble/ServiceDiscovery.h
- Revision:
 - 1169:39f9a7bdf0a5
 - Parent:
 - 1135:22aada733dbd
 - Child:
 - 1179:4ab722f8dca0
 
diff -r 8289757c0d00 -r 39f9a7bdf0a5 ble/ServiceDiscovery.h
--- a/ble/ServiceDiscovery.h	Wed Apr 06 19:15:09 2016 +0100
+++ b/ble/ServiceDiscovery.h	Wed Apr 06 19:15:10 2016 +0100
@@ -117,7 +117,7 @@
                                const UUID               &matchingCharacteristicUUIDIn = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)) = 0;
 
     /**
-     * Is service-discovery currently active?
+     * Check whether service-discovery is currently active.
      */
     virtual bool        isActive(void) const = 0;
 
@@ -154,11 +154,30 @@
     }
 
 protected:
-    Gap::Handle_t            connHandle; /**< Connection handle as provided by the SoftDevice. */
+    /**
+     * Connection handle as provided by the SoftDevice.
+     */
+    Gap::Handle_t            connHandle;
+    /**
+     * UUID-based filter that specifies the service that the application is
+     * interested in.
+     */
     UUID                     matchingServiceUUID;
+    /**
+     * The registered callback handle for when a matching service is found
+     * during service-discovery.
+     */
     ServiceCallback_t        serviceCallback;
+    /**
+     * UUID-based filter that specifies the characteristic that the
+     * application is interested in.
+     */
     UUID                     matchingCharacteristicUUID;
+    /**
+     * The registered callback handler for when a matching characteristic is
+     * found during service-discovery.
+     */
     CharacteristicCallback_t characteristicCallback;
 };
 
-#endif // ifndef __SERVICE_DISOVERY_H__
\ No newline at end of file
+#endif /* ifndef __SERVICE_DISOVERY_H__ */
\ No newline at end of file
    