Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/DiscoveredCharacteristic.h
- Revision:
- 1047:2d66d38d9ac9
- Parent:
- 1046:87a2ebe45470
- Child:
- 1048:efb29faf12fc
diff -r 87a2ebe45470 -r 2d66d38d9ac9 ble/DiscoveredCharacteristic.h --- 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.