Bluetooth interface not found

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bluetooth interface not found

2,283件の閲覧回数
Ratataplam
Contributor II

Hi folks,

I'm tryint to use bluetooth interface on my ev board (iMX8 with yocto) whit a sample program.

The firs instruction of this applicatio is : 

hci_get_route


 but it returns a errno code "no such device" so I try to run\activate the BT interface via :

systemctl enable bluetooth.service
systemctl start bluetooth.service


 and check the state with

systemctl status bluetooth.service


and the response is "running" but the problem on  hci_get_route call persist.
I've tryed also via shell with

hcitool dev

to discover the bluetooth interface but the response is empty.

Any suggestion?

0 件の賞賛
返信
1 返信

2,280件の閲覧回数
Ratataplam
Contributor II

The solution is, via command lines, types :

1) brcm_patchram_plus --patchram /etc/firmware/BCM43430A1.1DX.hcd --enable_hci --no2bytes --tosleep 50000 --baudrate 1000000 --use_baudrate_for_download /dev/ttyUSB0 & hciconfig -a

2) hciattach /dev/ttyUSB0 any

3) hciconfig hci0 up

after this 3 steps 

hcitool dev

 show the bt interface and the call at 

hci_get_route 

works. The step 1 is not necessary after hw reboot, you need only to execute step 2 & 3

0 件の賞賛
返信