1 of 2 people found this helpful
The HCI control uses WICED HCI Control Protocol. You can refer to the command format in the doc/WICED-HCI-Control-Protocol.pdf.
You can use the Client Control to control the device first.
The problem is how to write audio source application with control algorithm inside the CYW20719 without using UART HCI.
I have a similar project on the table and need some guidance on how to control/establish the connection and then start a stream from inside the Cypress device.
Now I am able to do that controlling the app through UART HCI from PC. But the goal is to use just the CYW20719 for BT as well for whole control/business logic application (NO EXTERNAL uC or PC).
Please, could you give any hint of how to do it? Any examples?
1 of 1 people found this helpful
I think the quick way to realize the function is to check the HCI commands from the PC. Then you can find the corresponding functions and call these functions in a timer callback or button interrupt callback.
For example, you can find the inquiry command in the HCI_CONTROL_GROUP_DEVICE and the function hci_control_inquiry( *p_data );. You can call this function in a button callback and then initiate the connection.