imx6 qt bluetooth problem

cancel
Showing results for 
Search instead for 
Did you mean: 

imx6 qt bluetooth problem

Jump to solution
524 Views
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

Labels (1)
0 Kudos
1 Solution
339 Views
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

View solution in original post

0 Kudos
3 Replies
339 Views
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 Kudos
339 Views
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 Kudos
340 Views
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

View solution in original post

0 Kudos