Unsolved QML Bluetooth - service undefined
-
Hi Everybody!!
I'm having an issue with bluetooth on QML on android Qt 5.6.0 and Qt 5.6.1
I can't even fully test the example:
http://doc.qt.io/qt-5/qtbluetooth-scanner-example.htmltrying to access service inside onServiceDiscovered: it gets undefined.
as documentation says : serviceDiscovered(BluetoothService service)
serviceDiscovered parameter is "service" but it return undefined...is it a bug? is there some workaround?
Thanks in advance.
Best regards
-
Hi! It's a bug in the example. To fix it, change line 155 to
text: service ? get_details(service) : ""