From 9f54d528a63f5019d68a17ab0c514996856c1cdb Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Thu, 28 May 2015 14:47:27 +0100 Subject: [PATCH] add some comment headers --- public/ServiceDiscovery.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/public/ServiceDiscovery.h b/public/ServiceDiscovery.h index 563712e..d627e52 100644 --- a/public/ServiceDiscovery.h +++ b/public/ServiceDiscovery.h @@ -36,9 +36,20 @@ public: const UUID &matchingServiceUUID = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN), const UUID &matchingCharacteristicUUIDIn = UUID::ShortUUIDBytes_t(BLE_UUID_UNKNOWN)); + /** + * Terminate an ongoing service-discovery. This should result in an + * invocation of the TerminationCallback if service-discovery is active. + */ static void terminate(void); + /** + * Is service-discovery currently active? + */ static bool isActive(void); + + /** + * Setup callback to be invoked when service discovery is terminated. + */ static void onTermination(TerminationCallback_t callback); protected: