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.

CC2564MODA: HFP Audio Gateway

Part Number: CC2564MODA
Other Parts Discussed in Thread: CC2564

Hi everyone,

I am working on a Bluetooth product with a CC2564MODA to make an HFP communication with another device with a CC2564 (who work fine with a smartphone). I have found in the sdk (https://www.ti.com/tool/CC256XSTBTBLESW#order-start-development) a source file “HFPAG_Demo.c” that I use.

I am calling all the API function in a state machine, all work fine until I want to call the SendCallWaitingNotification. In return of this function, I have "ERROR INVALID_OPERATION".

The order of the call is: OpenStack, SetConnect, SetDisc, SetPairable, Inquiry, ServiceDiscovery, OpenRemoteHandsFreePort, HFPAG_ManageAudioConnection, SendCallWaitingNotification. I have miss a function to call?

best regards,

Alexandre Deslandes

  • Hi Alexandre,

    What platform and SDK version are you using? The latest CC256X SDK has a "HFPDemo_AG.c" file but not a "HFPAG_Demo.c" file as far as I can tell.

    Did you pair the CC2564 with your HF device? Also, did you call HFRE_Enable_Remote_Call_Waiting_Notification before performing the SendCallWaitingNotification() command? The HFREAPI.h file has documentation on the various HFP functions you can call, and I suggest you double-check that file and all of your function calls to ensure that you're not potentially missing any other steps or function calls.

    Regards,

    Michael

  • Hi Michael, thanks you for your respond

    For the sdk I use the v4.0.2.2, with No OS on a STM32 microcontroller.

    Yes I the CC2564 is paired with my device and I check that I call the HFRE_Enable_Remote_Call_Waiting_Notification.

    I will re-check the HFREAPI.h file once again.

    BR,

    Alexandre

  • Hello again everyone,

    First, sorry for a such long delay after my first message but I have to work on other project. And I think I am not clear on my first post so I will try to be clearer.

    Has I said before, I am working on a Bluetooth project to make an audio gateway with two same board and I have found in this sdk https://www.ti.com/tool/CC256XSTBTBLESW#order-start-development (version V4.0.2.2) example program that I use.

    One program as a headset (HFPDemo), this one work fine, I have test It with a smartphone.

    The other card is program as audio gateway (HFPAG_Demo), and in this one I have a problem when I call the SendCallWaitingNotification faction. In return I have “ERROR_INVALID_OPERATION”.

    I try as Michael said to call explicitly the function HFRE_Enable_Remote_Call_Waiting_Notification and I have the same error : “ERROR_INVALID_OPERATION”. Did you have any other ideas ?

    Hope it is clearer,

    BR,

    Alexandre.

  • Hi Alexandre,

    Thanks for clarifying your setup. I will go and try to reproduce your error, and see what might be causing it.

    I will need to obtain the STM32 EVM first, which will take a few days. I appreciate your patience in waiting until I can investigate and provide a more substantial response.

    Regards,

    Michael