Commit 649f3519 authored by Nedim Hadzic's avatar Nedim Hadzic Committed by The Qt Project
Browse files

Unused error enums removed


Emitting errors is done by QLowEnergyController class.
These enums were not used.

Change-Id: I7883ee16ce67bf6ae06916ae7789efe802c098d6
Reviewed-by: default avatarAlex Blasche <alexander.blasche@digia.com>
parent 11bba384
No related merge requests found
Showing with 0 additions and 41 deletions
......@@ -58,16 +58,6 @@ QT_BEGIN_NAMESPACE
Some characteristics can contain none, one or more descriptors.
*/
/*!
\enum QLowEnergyCharacteristicInfo::Error
This enum describes the type of an error that can appear.
\value NotificationFail Could not subscribe or could not get notifications from wanted characteristic.
\value NotConnected GATT Service is not connected.
\value UnknownError Unknown error.
*/
/*!
\enum QLowEnergyCharacteristicInfo::Property
......
......@@ -60,12 +60,6 @@ class Q_BLUETOOTH_EXPORT QLowEnergyCharacteristicInfo
friend class QLowEnergyCharacteristicInfoPrivate;
public:
enum Error {
NotificationFail = 0x001,
NotConnected = 0x002,
UnknownError = 0x003
};
enum Property {
Broadcasting = 0x01,
Read = 0x02,
......
......@@ -69,22 +69,6 @@ QT_BEGIN_NAMESPACE
\value IncludedService The included service by primary services.
*/
/*!
\enum QLowEnergyServiceInfo::Error
This enum describes the type of an error that can appear.
\value ConnectionRefused The connection to the service was refused. This can be caused if the device
got turned off or it has a random device address. To solve
the case if device has a random address on linux platform
setRandomAddress() method must be called before connecting.
\value DeviceBusy The device is already connected to another Bluetooth device.
\value InitializationFailed Could not initialize GATT callbacks.
\value MemoryAllocation Could not initialize memory needed for reading GATT characteristics.
\value DisconnectFail Could not disconnect from the service.
\value UnknownError Unknown error.
*/
/*!
Method for parsing the service name with given \a uuid.
* \brief parseUuid
......
......@@ -64,15 +64,6 @@ public:
IncludedService = 0x00000002
};
enum Error {
ConnectionRefused = 0x001,
DeviceBusy = 0x002,
InitializationFailed = 0x003,
MemoryAllocation = 0x004,
DisconnectFail = 0x005,
UnknownError = 0x006
};
QLowEnergyServiceInfo();
QLowEnergyServiceInfo(const QBluetoothUuid &uuid);
QLowEnergyServiceInfo(const QLowEnergyServiceInfo &other);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment