diff options
Diffstat (limited to 'Bluetooth.h')
-rw-r--r-- | Bluetooth.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Bluetooth.h b/Bluetooth.h index 80e0193..e840f37 100644 --- a/Bluetooth.h +++ b/Bluetooth.h @@ -79,6 +79,9 @@ private: class BluetoothGattCharacteristic { public: + virtual ~BluetoothGattCharacteristic() { + }; + virtual BluetoothGattService &getService() const = 0; virtual const boost::uuids::uuid getUuid() const = 0; @@ -86,6 +89,9 @@ public: class BluetoothGattService { public: + virtual ~BluetoothGattService() { + }; + virtual BluetoothDevice &getDevice() const = 0; virtual boost::uuids::uuid getUuid() const = 0; @@ -134,6 +140,7 @@ protected: enum AttPduType { ERROR = 0x00, + INVALID_HANDLE = 0x01, READ_BY_TYPE_REQ = 0x08, READ_BY_TYPE_RES = 0x09, READ_BY_GROUP_TYPE_REQ = 0x10, |