From ca3dc0a8d296c82f584c4c028d8dbc586c896300 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Thu, 30 Oct 2014 12:36:58 +0100 Subject: 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 Reviewed-by: Alex Blasche --- src/bluetooth/qbluetoothdevicediscoveryagent.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent.h') 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 }; -- cgit v1.2.3