add "LE Device Address" 0x1B to advertising data types
Fork of BLE_API by
Diff: source/DiscoveredCharacteristic.cpp
- Revision:
- 1047:2d66d38d9ac9
- Parent:
- 1045:b9d15970040f
- Child:
- 1052:b55e1ad3e1b3
diff -r 87a2ebe45470 -r 2d66d38d9ac9 source/DiscoveredCharacteristic.cpp --- 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;