Updating for github transfer.
Fork of BLE_API by
Diff: source/DiscoveredCharacteristic.cpp
- Revision:
- 1053:ec4a5b9b254e
- Parent:
- 1052:b55e1ad3e1b3
- Child:
- 1063:187f9929cb60
diff -r b55e1ad3e1b3 -r ec4a5b9b254e source/DiscoveredCharacteristic.cpp --- a/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:31 2016 +0000 +++ b/source/DiscoveredCharacteristic.cpp Mon Jan 11 08:51:32 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