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.

Linux: BT handset lost connection in Android

Other Parts Discussed in Thread: CC2564C

Tool/software: Linux

Hello,

Our phone uses CC2564C BT chip and works under android mode.

 When paired with BT handset, sometimes the handset will lost connection with our phone.

From our application log, the l2cap disconnect is received to cause the disconnection.

But we don't know whether it is cause by chip or handset, and how to avoid this.

Would you help to check with the reason?

Thanks.

Regards

Gao Hong

AndroidALElostconnection.rar

  • Hong,

    Hong Gao said:
    But we don't know whether it is cause by chip or handset, and how to avoid this.

    From the attached logs, I notice several disconnections due to connection timeout. However, it is not possible to pinpoint from just the firmware logs whether the local device or the remote headset is causing this connection timeout. Could you please capture the air sniffer (e.g. frontline or ellisys sniffer) logs in conjunction with the BT firmware logs covering this type of disconnection?

    Additionally, please check if adding the following commands to the CC2564C initialization changes this behavior with the headset.

    # Disable AFH Master
    Send_HCI_VS_Set_Supported_Features 0xFF26, 0x05, 0x03, 0x00
    
    # Disable AFH Classification Master
    Send_HCI_VS_Set_Supported_Features 0xFF26, 0x05, 0x04, 0x00
    
    #Command to disable AFH channel assessment :
    Send_HCI_Write_AFH_Channel_Assessment_Mode 0x00
    
    # Disable AFH Slave
    Send_HCI_VS_Set_Supported_Features 0xFF26, 0x04, 0x03, 0x00
    
    # Disable AFH Classification Slave
    Send_HCI_VS_Set_Supported_Features 0xFF26, 0x04, 0x04, 0x00

  • Hello,

    logs are attched.

    We will try with the provided commands later.

    Regards

    Gao Honglost2.rar