Bluetooth HCI Setup command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bluetooth HCI Setup command

Jump to solution
1,114 Views
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 Kudos
1 Solution
1,104 Views
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

View solution in original post

0 Kudos
2 Replies
1,105 Views
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 Kudos
1,099 Views
tanoue
Contributor III
0 Kudos