Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
QML Bluetooth - service undefined
MathArtist last edited by
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:
trying 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.
A Former User last edited by
Hi! It's a bug in the example. To fix it, change line 155 to
text: service ? get_details(service) : ""