From d11a0b04a5b15dddc1f77e41cb6f31adb5870d1c Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Fri, 19 Jun 2015 10:12:20 +0100 Subject: [PATCH] update comment block for launchServiceDiscovery() --- public/ServiceDiscovery.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/public/ServiceDiscovery.h b/public/ServiceDiscovery.h index 24d76d2..d946e1b 100644 --- a/public/ServiceDiscovery.h +++ b/public/ServiceDiscovery.h @@ -98,10 +98,15 @@ public: * 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. */