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

cross mob
oxz1918
Level 3
Level 3
25 sign-ins 10 replies posted 10 sign-ins

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
1 Solution
DheerajPK_41
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

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

View solution in original post

0 Likes
6 Replies