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

AIROC™ Bluetooth

Bill_123
Level 3
50 sign-ins 25 sign-ins 10 replies posted
Level 3

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 First question asked 1000 replies posted 750 replies posted
Moderator

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
Bill_123
Level 3
50 sign-ins 25 sign-ins 10 replies posted
Level 3

Dear Dheeraj.P.K,

 

Yes,I have checked  https://community.infineon.com/t5/Resource-Library/Running-BlueZ-on-CY-Part/ta-p/246050 but it still error.

BTW, In this condition, we use the command as "sudo hcitool dev", the MAC address is empty.

billwu_0-1642556606763.png

 

B.R.

Bill

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

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
0 Likes