summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent.h
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-10-30 12:36:58 +0100
committerAlex Blasche <alexander.blasche@digia.com>2014-10-30 15:17:30 +0100
commitca3dc0a8d296c82f584c4c028d8dbc586c896300 (patch)
tree5705fee106c7ec1663cac0a4cd0ec93acf823564 /src/bluetooth/qbluetoothdevicediscoveryagent.h
parenta6c18d1babb2b38ade3d7a67c0a903701ef3ebf2 (diff)
Add QBLuetoothDeviceDiscoveryAgent::UnsupportedPlatformError
iOS does not support classic Bluetooth device discovery. However since iOS 5.0 it is possible to search for Bluetooth Low Energy devices. On pre 5.0 devices tLE scan is not possible and this error enum is going to be used. In addition the enum is utilized by the default backend which is used on unsupported Bluetooth platforms. [ChangeLog][QtBluetooth][QBluetoothDeviceDiscoveryAgent] A new UnsupportedPlatformError enum value added. Change-Id: I74b85782ba1e8ac55798171151b364d5dc0aa79f Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent.h')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent.h b/src/bluetooth/qbluetoothdevicediscoveryagent.h
index 4638a4f2..f516bcec 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent.h
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent.h
@@ -58,6 +58,7 @@ public:
InputOutputError,
PoweredOffError,
InvalidBluetoothAdapterError,
+ UnsupportedPlatformError,
UnknownError = 100 // New errors must be added before Unknown error
};