AnsweredAssumed Answered

imx8mq + 1CX bluetooth cannot connect

Question asked by Luan Duy on Mar 22, 2020

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


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