From 1e30c5b90a594a82e20bda765fe349390db04d4b Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Tue, 26 Apr 2016 14:10:01 +0200 Subject: Peripheral Privacy Flag (0x2A02) may not be writable on some platforms Change-Id: Ic80fe48fb192ee66f87aabcebc2b84e4ed3049a0 Reviewed-by: Christian Kandeler --- tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp index 50ecc099..079a901f 100644 --- a/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp +++ b/tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp @@ -615,8 +615,7 @@ void tst_QLowEnergyController::verifyServiceProperties( temp = QString("00002a02-0000-1000-8000-00805f9b34fb"); QCOMPARE(chars[2].uuid(), QBluetoothUuid(temp)); HANDLE_COMPARE(chars[2].handle(), QLowEnergyHandle(0x7)); - QCOMPARE(chars[2].properties(), - (QLowEnergyCharacteristic::Read|QLowEnergyCharacteristic::Write)); + QVERIFY(chars[2].properties() & QLowEnergyCharacteristic::Read); QCOMPARE(chars[2].value(), QByteArray::fromHex("00")); QVERIFY(chars[2].isValid()); QCOMPARE(chars[2].descriptors().count(), 0); -- cgit v1.2.3