imx6 qt bluetooth problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx6 qt bluetooth problem

跳至解决方案
1,954 次查看
Mihan
Contributor IV

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

标签 (1)
标记 (3)
0 项奖励
1 解答
1,769 次查看
karangajjar
Senior Contributor II

Hi 铭恒 李 ,

It will be in the qtconnectivity folder. Please see below links for more reference.

BlueZ | Qt Bluetooth 5.12.7 

https://command-not-found.com/sdpscanner 

Regards,

Karan Gajjar

在原帖中查看解决方案

0 项奖励
3 回复数
1,769 次查看
karangajjar
Senior Contributor II

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

0 项奖励
1,769 次查看
Mihan
Contributor IV

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

0 项奖励
1,770 次查看
karangajjar
Senior Contributor II

Hi 铭恒 李 ,

It will be in the qtconnectivity folder. Please see below links for more reference.

BlueZ | Qt Bluetooth 5.12.7 

https://command-not-found.com/sdpscanner 

Regards,

Karan Gajjar

0 项奖励