From 904b7f5163ceff4eba0bfccf91bbd40b2ddeff12 Mon Sep 17 00:00:00 2001 From: Vincent Coubard Date: Mon, 7 Sep 2020 14:32:18 +0100 Subject: [PATCH] BLE: reintroduce default implementation GattClient::discoverServices. --- .../FEATURE_BLE/source/generic/GattClientImpl.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/connectivity/FEATURE_BLE/source/generic/GattClientImpl.cpp b/connectivity/FEATURE_BLE/source/generic/GattClientImpl.cpp index f77ed778f1..51330588a1 100644 --- a/connectivity/FEATURE_BLE/source/generic/GattClientImpl.cpp +++ b/connectivity/FEATURE_BLE/source/generic/GattClientImpl.cpp @@ -1105,6 +1105,16 @@ ble_error_t GattClient::discoverServices( ); } +ble_error_t GattClient::discoverServices( + ble::connection_handle_t connectionHandle, + ServiceDiscovery::ServiceCallback_t callback, + GattAttribute::Handle_t startHandle, + GattAttribute::Handle_t endHandle +) +{ + return BLE_ERROR_NOT_IMPLEMENTED; +} + bool GattClient::isServiceDiscoveryActive() const { ProcedureControlBlock *pcb = control_blocks;