Hello weidong
I execute below cmd
hciattach /dev/ttymxc0 any -s 230400 230400 flow
hciattach /dev/ttymxc0 any -s 460800 460800 flow
hciattach /dev/ttymxc0 any -s 230400 230400 flow
but it still happened tx timeout message.
if you have any clue, let me know. plz help me.
===
root@imx8mnddr4evk:~# hciconfig
hci0: Type: Primary Bus: UART
BD Address: AA:AA:AA:AA:AA:AA ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING PSCAN
RX bytes:1408 acl:0 sco:0 events:78 errors:0
TX bytes:1206 acl:0 sco:0 commands:78 errors:0
root@imx8mnddr4evk:~# hcitool -i hci0 cmd 0x3f 0x0009 0xc0 0xc6 0x2d 0x00
< HCI Command: ogf 0x3f, ocf 0x0009, plen 4
C0 C6 2D 00
> HCI Event: 0x0e plen 4
01 09 FC 01
root@imx8mnddr4evk:~# killall hciattach
root@imx8mnddr4evk:~# [252506.226703] Bluetooth: hci0: sending frame failed (-49)
root@imx8mnddr4evk:~# hciattach /dev/ttymxc0 any 230400 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mnddr4evk:~# [252537.510074] Bluetooth: hci0: command 0x1003 tx timeout
[252539.526033] Bluetooth: hci0: command 0x1001 tx timeout
[252541.542009] Bluetooth: hci0: command 0x1009 tx timeout
root@imx8mnddr4evk:~# killall hciattach
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# hciattach /dev/ttymxc0 any 460800 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mnddr4evk:~# [252564.005663] Bluetooth: hci0: command 0x1003 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# [252566.021627] Bluetooth: hci0: command 0x1001 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# [252568.037595] Bluetooth: hci0: command 0x1009 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# killall hciattach
root@imx8mnddr4evk:~# hciattach /dev/ttymxc0 any 921600 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mnddr4evk:~# [252590.085253] Bluetooth: hci0: command 0x1003 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# [252592.101217] Bluetooth: hci0: command 0x1001 tx timeout
[252594.117188] Bluetooth: hci0: command 0x1009 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# killall hciattach
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# hciattach /dev/ttymxc0 any 1843200 flow
Setting TTY to N_HCI line discipline
Device setup complete
root@imx8mnddr4evk:~# [252606.212997] Bluetooth: hci0: command 0x1003 tx timeout
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~#
root@imx8mnddr4evk:~# [252608.228968] Bluetooth: hci0: command 0x1001 tx timeout
root@imx8mnddr4evk:~# [252610.244941] Bluetooth: hci0: command 0x1009 tx timeout
root@imx8mnddr4evk:~#
===
thanks
Bryan