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
720 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
1 Solution
412 Views
luan_duy
Contributor II

I solved this.

Thanks!

View solution in original post

0 Kudos
2 Replies
413 Views
luan_duy
Contributor II

I solved this.

Thanks!

0 Kudos
637 Views
jimmychan
NXP TechSupport
NXP TechSupport

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

0 Kudos