diff options
author | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-04-26 14:10:01 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@theqtcompany.com> | 2016-04-27 05:32:43 +0000 |
commit | 1e30c5b90a594a82e20bda765fe349390db04d4b (patch) | |
tree | e3bf2c3256a86bc1b8be362d020bf7a91aed44df /tests | |
parent | ff632b6696048919a91844ded21c2b7941380647 (diff) |
Peripheral Privacy Flag (0x2A02) may not be writable on some platforms
Change-Id: Ic80fe48fb192ee66f87aabcebc2b84e4ed3049a0
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qlowenergycontroller/tst_qlowenergycontroller.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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); |