BLE
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1048:2d66d38d9ac9
- Parent:
- 1047:87a2ebe45470
- Child:
- 1049: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.