No changes

Fork of nRF51822 by Nordic Semiconductor

Revision:
548:920e941cbe1e
Parent:
544:9e3d053ad4ec
Child:
549:3f782c64d014
--- a/source/nRF5xServiceDiscovery.h	Mon Jan 11 10:19:05 2016 +0000
+++ b/source/nRF5xServiceDiscovery.h	Mon Jan 11 10:19:06 2016 +0000
@@ -94,6 +94,12 @@
         terminateServiceDiscovery();
     }
 
+    void terminate(Gap::Handle_t connectionHandle) { 
+        if(connHandle == connectionHandle) { 
+            terminate();
+        }
+    }
+
     virtual void onTermination(ServiceDiscovery::TerminationCallback_t callback) {
         onTerminationCallback = callback;
     }