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: source/DiscoveredCharacteristic.cpp
- Revision:
- 1078:79c089630b38
- Parent:
- 1077:98d37e26903c
- Child:
- 1098:5f6b5ea5d5f2
diff -r 98d37e26903c -r 79c089630b38 source/DiscoveredCharacteristic.cpp --- a/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:43 2016 +0000 +++ b/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:44 2016 +0000 @@ -151,17 +151,8 @@ return error; } -ble_error_t DiscoveredCharacteristic::discoverDescriptors( - const CharacteristicDescriptorDiscovery::DiscoveryCallback_t& onCharacteristicDiscovered, - const CharacteristicDescriptorDiscovery::TerminationCallback_t& onTermination) const { - - if(!gattc) { - return BLE_ERROR_INVALID_STATE; - } - - ble_error_t err = gattc->discoverCharacteristicDescriptors( - *this, onCharacteristicDiscovered, onTermination - ); - - return err; +ble_error_t +DiscoveredCharacteristic::discoverDescriptors(DescriptorCallback_t callback, const UUID &matchingUUID) const +{ + return BLE_ERROR_NOT_IMPLEMENTED; /* TODO: this needs to be filled in. */ } \ No newline at end of file