imx6 qt bluetooth problem

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx6 qt bluetooth problem

ソリューションへジャンプ
2,378件の閲覧回数
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)
0 件の賞賛
返信
1 解決策
2,193件の閲覧回数
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 返答(返信)
2,193件の閲覧回数
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 件の賞賛
返信
2,193件の閲覧回数
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 件の賞賛
返信
2,194件の閲覧回数
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 件の賞賛
返信