imx8mq + 1CX bluetooth cannot connect

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mq + 1CX bluetooth cannot connect

Jump to solution
1,014 Views
luan_duy
Contributor II

I'm using 2 board IMX8MQEVK with 1CX wifi module for test connect bluetooth but
I can't connect them.
I was trying by:

hciattach /dev/ttymxc2 bcm43xx 3000000 flow -t 20
sleep 1
hciconfig hci0 up
sleep 1
hciconfig hci0 piscan
sleep 1
hciconfig hci0 encrypt
sleep 1
hciconfig hci0 auth
sleep 1
hciconfig hci0 sspmode 1
sleep 1
pacmd set-default-sink 1

bluetoothctl

power on
agent on
scan on
scan off

pair xx:xx:xx:xx:xx
trust xx:xx:xx:xx:xx
connect xx:xx:xx:xx:xx

but following an error:
[bluetooth]# connect D4:53:83:1B:A3:D7
Attempting to connect to D4:53:83:1B:A3:D7
[CHG] Device D4:53:83:1B:A3:D7 Connected: yes
[CHG] Device D4:53:83:1B:A3:D7 ServicesResolved: yes
Failed to connect: org.bluez.Error.NotAvailable
[CHG] Device D4:53:83:1B:A3:D7 ServicesResolved: no
[CHG] Device D4:53:83:1B:A3:D7 Connected: no

Labels (1)
0 Kudos
Reply
1 Solution
706 Views
luan_duy
Contributor II

I solved this.

Thanks!

View solution in original post

0 Kudos
Reply
2 Replies
707 Views
luan_duy
Contributor II

I solved this.

Thanks!

0 Kudos
Reply
931 Views
jimmychan
NXP TechSupport
NXP TechSupport

Could you tell me which version of BSP are you using?

0 Kudos
Reply