- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Tags:
- vender HCI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I find these commands from the Broadcom source code , I guess the Cypress have
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the delay.
Could you please share us your test environment? Which is your Host device? What is the testing procedure you are following?
Thanks,
-Dheeraj.P.K