High level Bluetooth Low Energy API and radio abstraction layer
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Overview
The BLE_API is a high level abstraction for using Bluetooth Low Energy on multiple platforms. For details and examples using the BLE_API please see the BLE_API Summary Page. Or click on the API Documentation tab above.
Supported Services
Supported services can be found in the BLE_API/services folder.
Diff: source/DiscoveredCharacteristic.cpp
- Revision:
- 1047:2d66d38d9ac9
- Parent:
- 1045:b9d15970040f
- Child:
- 1052:b55e1ad3e1b3
--- a/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:27 2016 +0000 +++ b/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:27 2016 +0000 @@ -60,8 +60,8 @@ } ble_error_t DiscoveredCharacteristic::discoverDescriptors( - CharacteristicDescriptorDiscovery::DiscoveryCallback_t onCharacteristicDiscovered, - CharacteristicDescriptorDiscovery::TerminationCallback_t onTermination) const { + const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& onCharacteristicDiscovered, + const CharacteristicDescriptorDiscovery::TerminationCallback_t& onTermination) const { if(!gattc) { return BLE_ERROR_INVALID_STATE;