QML Bluetooth - service undefined
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.
Hi! It's a bug in the example. To fix it, change line 155 to
text: service ? get_details(service) : ""