aboutsummaryrefslogtreecommitdiff
path: root/ble/BluetoothImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ble/BluetoothImpl.h')
-rw-r--r--ble/BluetoothImpl.h31
1 files changed, 4 insertions, 27 deletions
diff --git a/ble/BluetoothImpl.h b/ble/BluetoothImpl.h
index 802c844..975a011 100644
--- a/ble/BluetoothImpl.h
+++ b/ble/BluetoothImpl.h
@@ -40,33 +40,6 @@ protected:
// Shared classes
-namespace detail {
-
-template<typename T, typename U>
-struct constify2;
-
-template<typename T, typename U>
-struct constify2<T *, U *> {
- typedef T *type;
-};
-
-template<typename T, typename U>
-struct constify2<T *, U const *> {
- typedef T const *type;
-};
-
-}
-
-template<typename A, typename B>
-class CollectionImpl : public Collection<A> {
-public:
- explicit CollectionImpl(B &b) : b(b) {
- }
-
-private:
- B &b;
-};
-
class DefaultBluetoothGattCharacteristic : protected LogSetup, public BluetoothGattCharacteristic {
public:
DefaultBluetoothGattCharacteristic(const BluetoothGattServicePtr &service, uint16_t handle, Uuid uuid,
@@ -97,6 +70,10 @@ public:
return valueHandle;
}
+ shared_ptr<BluetoothGattDescriptor> getDescriptor(Uuid uuid) const override {
+ return {};
+ }
+
protected:
BluetoothGattServicePtr service;
uint16_t handle;