Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- 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.