Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Bluetooth

oxz1918
New Contributor II

We test the WICED  6.2   and program the headset example into CYBT_343026_EVAL.  We read the source code of 20706 and see some HCI commands, could you explain how to use these commands? Or  could you give me some guide document  for vender specific hci command?

Thanks a lot.

 

HCI_OCF_WRITE_SCO_PCM_INT_PARAM 0x1C
HCI_OCF_READ_SCO_PCM_INT_PARAM 0x1D
HCI_OCF_WRITE_PCM_DATA_FORMAT_PARAM 0X1E
HCI_OCF_READ_PCM_DATA_FORMAT_PARAM 0X1f
HCI_OCF_WRITE_SCO_TS 0x22
HCI_OCF_READ_SCO_TS 0x23
HCI_OCF_DELAY_PERIPHERAL_SCO_STARTUP 0x2A
HCI_OCF_SCO_DIAG_STAT 0x110
HCI_OCF_GENERIC_AUDIO_TEST 0X6C
HCI_OCF_I2S_PCM_INTERFACE 0x6D
HCI_OCF_AUDIO_ROUTE_INFO 0xa2
HCI_OCF_WRITE_DYNAMIC_SCO_ROUTING 0x83

0 Likes
5 Replies
DheerajPK_41
Moderator
Moderator

Hi,

Could you please let us know where do you see usage of these HCI commands? Why do you need to use these HCI commands?

Thanks,

-Dheeraj.P.K

0 Likes
oxz1918
New Contributor II

I find these commands from the Broadcom source code ,  I guess the Cypress have 

similar vendor HCI commands.  could you tell us which HCI command can set the SCO route path? 
 
Or it is better to tell us how to set the SCO route path. Thank you very much!

 

0 Likes
DheerajPK_41
Moderator
Moderator

Hi,

I am not sure which source code exposes these HCI commands. 

If you want to setup the SCO you can use the APIs in  wiced_bt_sco.h. WICED HCI commands can get form hci_control_api.h.

 

If you are using the device in controller mode, then you can get the required HCi commands fromm CyBluetool. (Eg. Write_SCO_PCM_Int_Param)

https://community.cypress.com/t5/Public-Archive/CyBluetool-Windows-Installer/m-p/252162#M4213

Thanks,

-Dheeraj.P.K

0 Likes
oxz1918
New Contributor II

Thank you for youre reply, our device used as controller , we try to send the command "Write_SCO_PCM_Int_Param" to 20706, and  it responses sucessfully. But when we use HFP to make a call, there are no data send to host.

Could you give me some advices for routing the SCO data to the host? Thanks a lot.

0 Likes
oxz1918
New Contributor II

Hi,DheerajPK_41

      This project is very important for us. The HFP needs play sound,  I look forward to receiving your help, thank you very much!

0 Likes