imx8mq + 1CX bluetooth cannot connect

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx8mq + 1CX bluetooth cannot connect

跳至解决方案
755 次查看
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

标签 (1)
0 项奖励
1 解答
447 次查看
luan_duy
Contributor II

I solved this.

Thanks!

在原帖中查看解决方案

0 项奖励
2 回复数
448 次查看
luan_duy
Contributor II

I solved this.

Thanks!

0 项奖励
672 次查看
jimmychan
NXP TechSupport
NXP TechSupport

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

0 项奖励