[Interest] Bluetooth LE: HowTo inspect QBluetoothDeviceInfo::serviceUuids

ekke ekke at ekkes-corner.org
Wed Apr 19 11:51:08 CEST 2017


Am 19.04.17 um 10:47 schrieb ekke:
> Am 19.04.17 um 09:45 schrieb Oliver Wolff:
>> ...
>>> now I'm simply comparing found ServiceUUIDs with the full value
>>> {0000180d-0000-1000-8000-00805f9b34fb}
>>> to detect the Device as a HeartRate Device
>> You don't need to compare to the full value. Comparing to
>> QBluetoothUuid::HeartRate also works (at least it does here). I think
>> if that does not work it's a bug or I am still not understanding the
>> problem at hand.
Oliver,

you're right: QBluetoothUuid::HeartRate also detects the ServiceUUIDs
with the long value
so it's much easier in Qt as in Java ;-)

thx again

ekke
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20170419/6aa39571/attachment.html>


More information about the Interest mailing list