Hi
I using Imx6dl 4.1.15 with Qt 5.6.2.
I want to use Qt Bluetooth to connect a mouse or keyboard.
Before using Qt, I tried to use bluetoothctl to test the function.It worked.
After that,I tried to use QBluetoothSocket to connect it.It didn't work, with message:
qt.bluetooth.bluez: SDP search failed for "6C:5D:63:7D:D3:92" QBluetoothSocket::ServiceNotFoundError qt.bluetooth.bluez: Cannot find sdpscanner: ""
what should I do next
Regards
Mihan
已解决! 转到解答。
Hi 铭恒 李 ,
It will be in the qtconnectivity folder. Please see below links for more reference.
https://command-not-found.com/sdpscanner
Regards,
Karan Gajjar
Hi 铭恒 李,
Bluetooth is working fine with bluetoothctl that means bluetooth on the device is okay and we need to work on application level.
From the error log we can see that the application is unable to find sdpscanner. Can you check if sdpscanner is present in filesystem or not?
Regards,
Karan Gajjar
Thanks karan.gajjar@volansystech.com
Dose having sdptool mean having sdpscanner?
There is sdptool in filesystem, version v5.37
If not, could you please tell me how can I check it in detail
Regards
Mihan
Hi 铭恒 李 ,
It will be in the qtconnectivity folder. Please see below links for more reference.
https://command-not-found.com/sdpscanner
Regards,
Karan Gajjar