nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
549:920e941cbe1e
Parent:
548:8550af084edc
Child:
550:3f782c64d014
diff -r 8550af084edc -r 920e941cbe1e source/nRF5xGattClient.cpp
--- a/source/nRF5xGattClient.cpp	Mon Jan 11 10:19:05 2016 +0000
+++ b/source/nRF5xGattClient.cpp	Mon Jan 11 10:19:06 2016 +0000
@@ -33,7 +33,7 @@
                                         const UUID                                 &matchingServiceUUIDIn,
                                         const UUID                                 &matchingCharacteristicUUIDIn)
 {
-    return discovery.launch(connectionHandle, sc, cc, matchingServiceUUIDIn, matchingCharacteristicUUIDIn);
+    return _discovery.launch(connectionHandle, sc, cc, matchingServiceUUIDIn, matchingCharacteristicUUIDIn);
 }
 
 ble_error_t nRF5xGattClient::discoverCharacteristicDescriptors(
@@ -41,7 +41,7 @@
     const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& discoveryCallback,
     const CharacteristicDescriptorDiscovery::TerminationCallback_t& terminationCallback)
 {
-    return characteristicDescriptorDiscoverer.launch(
+    return _characteristicDescriptorDiscoverer.launch(
         characteristic, 
         discoveryCallback, 
         terminationCallback
@@ -49,11 +49,11 @@
 }
 
 bool nRF5xGattClient::isCharacteristicDescriptorsDiscoveryActive(const DiscoveredCharacteristic& characteristic) const {
-    return characteristicDescriptorDiscoverer.isActive(characteristic);   
+    return _characteristicDescriptorDiscoverer.isActive(characteristic);   
 }
 
 void nRF5xGattClient::terminateCharacteristicDescriptorsDiscovery(const DiscoveredCharacteristic& characteristic) { 
-    return characteristicDescriptorDiscoverer.requestTerminate(characteristic);
+    return _characteristicDescriptorDiscoverer.requestTerminate(characteristic);
 }
 
 #endif
\ No newline at end of file