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.

CC2564CSTBTBLESW: HFP AG unexpected disconection

Part Number: CC2564CSTBTBLESW
Other Parts Discussed in Thread: CC2564C

Hello,
I have a problem with HFPDemo_AG application running on our STM32F4 custom board with CC2564C. Bluetopiastack CC2564CSTBTBLESW-v5.1.1.1
Application not works with Samsung SM-R180 EarBuds2.  With several other commercial headsets, the app works fine.
After opening the HandsFree port, the connection is terminated.

Here is log from terminal:

HFP AG>openaudiogatewayclient 1 6
Bluetooth Device Address: 0x64037F1A9401
Open Remote HandsFree Port = 0006
HFRE_Open_Remote_HandsFree_Port: Function Successful ID = 0004.
OpenRemoteHandsFreePort: HFRE_Update_Current_Control_Indicator_Status Function Status 0.

HFP AG>
atLinkKeyRequest: 0x64037F1A9401
GAP_Authentication_Response() Success.

HFP AG>
atAuthenticationStatus: 0 Board: 0x64037F1A9401

HFP AG>
Unknown/Unhandled GAP Event: 1.

HFP AG>
HFRE Open Port Confirmation, ID: 0x0004, Status: 0x0000.

HFP AG>
HFRE Close Port Indication, ID: 0x0004, Status: 0x0001.

I am also attaching the log from TX Debug pin captured by TI Logger.

Interesting think is line #1096 LMP_Detach and several lines above.

Best regards

Pavel Novotny

CC2564C-Samsung-problem.zip

  • Hi Pavel,

    Unfortunately, it seems as though this certain specific earbud is terminating the connection. The FW logs wont give us more information on whats happening and you would need to understand the behavior on the bt stack on the Earbuds. Another option would be to take air sniffer traces using a BT sniffer like elisys and we could try to understand why the earbuds are choosing to disconnect. 

    Best,

    Rogelio