How to bring up bluetooth on linux platform using CYBT-343026.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
50 replies posted 100 sign-ins First like received

Dear Sir,

We use the HCI mode (the device has a flash connected with it.) and reference the information.

https://community.infineon.com/t5/Resource-Library/Run-CYW20706-in-HCI-Mode/ta-p/246397

After setting the HCI mode, how to bring up Bluetooth on Linux platform.

Here is our sequence.

1.sudo hciattach  /dev/ttyACM0 -t 10 any 115200 noflow nosleep

billwu_0-1642472466222.png

2.hciconfig

billwu_1-1642472466225.png

We find  that the MAC address is 00:00:00:00.

We think that a serial flash is connected if there is a valid application, the CYW207xx device loads and executes the

application.

In the condition, we didn't use the command "sudo hciattach /dev/ttyACM0 bcm43xx 115200", and change to the command "sudo hciattach  /dev/ttyACM0 -t 10 any 115200 noflow nosleep", Is that right?

Could you have any suggestion?

 

B.R.

Bill

0 Likes
1 Solution
BragadeeshV
Moderator
Moderator
Moderator
First question asked 1000 replies posted 750 replies posted

Hi @Bill_123 ,

Ensure that you load an empty application to the eval kit before attaching to the bluez stack. Also after  hciattach, you need to run sudo hciconfig hci0 up to open and initialize HCI device. See that the hciconfig output for hci0 in your screenshot is showing as "DOWN" which means the HCI device is closed.  

Regards,
Bragadeesh

View solution in original post

0 Likes
3 Replies