Bluetooth HCI Setup command

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

Bluetooth HCI Setup command

跳至解决方案
1,189 次查看
tanoue
Contributor III

I would like to make a Bluetooth driver for IW416 chipset on i.MX8M SoC.

 

I read a NXP document  (11.1 Connectivity for Bluetooth wireless technology and Wi-Fi) and a knowledge base then I could use Bluetooth function now.

However, I didn't fully understand how to setup Bluetooth HCI.

 

Please tell me what each command does.

# For PCIe8997/SDIO8997/SDIO8987 and SDIO IW41
hciattach <device> any 115200 flow
hciconfig hci0 up
hcitool -i hci0 cmd 0x3f 0x0009 0xc0 0xc6 0x2d 0x00
killall hciattach
hciattach <device> any -s 3000000 3000000 flow
hciconfig hci0 up 

I wonder why it needs to execute twice "hciattach" and twice "hciconfig hci0 up".

These details are not written in any documentation.

 

Best Regards,

tanoue.

 

0 项奖励
1 解答
1,179 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Recommend you to create thread here https://community.nxp.com/t5/Wireless-Connectivity/bd-p/wireless-connectivity.

Hope can do help for you

Wish you have a nice day

在原帖中查看解决方案

0 项奖励
2 回复数
1,180 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Recommend you to create thread here https://community.nxp.com/t5/Wireless-Connectivity/bd-p/wireless-connectivity.

Hope can do help for you

Wish you have a nice day

0 项奖励
1,174 次查看
tanoue
Contributor III
0 项奖励