jgh

Dependents:   Migration

Fork of BLE_API by Bluetooth Low Energy

Revision:
1047:2d66d38d9ac9
Parent:
1046:87a2ebe45470
Child:
1048:efb29faf12fc
--- a/ble/DiscoveredCharacteristic.h	Mon Jan 11 08:51:27 2016 +0000
+++ b/ble/DiscoveredCharacteristic.h	Mon Jan 11 08:51:27 2016 +0000
@@ -107,8 +107,8 @@
      *
      * @return  BLE_ERROR_NONE if descriptor discovery is launched successfully; else an appropriate error.
      */
-    ble_error_t discoverDescriptors(CharacteristicDescriptorDiscovery::DiscoveryCallback_t onCharacteristicDiscovered, 
-                                    CharacteristicDescriptorDiscovery::TerminationCallback_t onTermination) const;
+    ble_error_t discoverDescriptors(const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& onCharacteristicDiscovered, 
+                                    const CharacteristicDescriptorDiscovery::TerminationCallback_t& onTermination) const;
 
     /**
      * Perform a write procedure.