This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2564: HSP AG Mode : How can I use my own functions based on the call status of the incoming pressButton indication?

Part Number: CC2564

Hi,

I am using CC2564 Bluetooth Chip Module in a project. Currently working with HSP Demo application with CC2564x STM32 Bluetopia SDK. The Bluetooth device works as HSP Audio Gateway and is connected to the "Commercial Headset" configured in the HSP Headset (server) role. I press the button from the Commercial Headset. I want to assign functions according to call state of incoming pressButton indication event.

For example, according to the incoming call state, when the button is pressed, the call becomes disconnect. I don't want it to be disconnected.

I couldn't find the relevant field in the HSPDemo code, where can I find it? How can I check these states?

Best regards.

Furkan

  • Hello Furkan,

    I apologize for the late response, it seems as it is not possible to keep the call connected after receiving the button pressed indication. In the bluetopia core, when it recieves the pressed button event, it disconnects the SCOconnection yet leaves the connection state as ConnectedNoAudio, it then dispatches the button pressed event. My recommendation is to try to reopen the SCOconnection after receiving the button pressed event and assign further functions you would like to implement.

    Kind Regards,

    Rogelio