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.
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of BLE_API by
Diff: public/ServiceDiscovery.h
- Revision:
- 562:ad06c59db307
- Parent:
- 524:6e97ab392e2a
diff -r 4122e5d0e043 -r ad06c59db307 public/ServiceDiscovery.h --- a/public/ServiceDiscovery.h Fri Jun 19 15:52:11 2015 +0100 +++ b/public/ServiceDiscovery.h Fri Jun 19 15:52:11 2015 +0100 @@ -98,10 +98,15 @@ * values, then only a single characteristic callback is * invoked for the matching characteristic. * - * @Note Using wildcard values for both service-UUID and characteristic- + * @note Using wildcard values for both service-UUID and characteristic- * UUID will result in complete service discovery--callbacks being * called for every service and characteristic. * + * @note Providing NULL for the characteristic callback will result in + * characteristic discovery being skipped for each matching + * service. This allows for an inexpensive method to discover only + * services. + * * @return * BLE_ERROR_NONE if service discovery is launched successfully; else an appropriate error. */