aa
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
--- 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. */