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.

Abnormal disconnection was happened on the CC2540 , without an terminate event happened on the central device

Other Parts Discussed in Thread: CC2540

Hi, TI engineers,

I have encountered a tough issue. Two paired CC2540 devices that central and peripheral device, without any operation action only at the paired status , had an abnormal disconnection, and the central device didn't receive any terminate event.

I modified the supervision timeout setting, TGAP_CONN_EST_SUPERV_TIMEOUT, changing to 200 value, at the initial of the simpleBLEState on the central device.

I don't know whether the issue is caused by the error supervision timeout setting. 

Could TI engineers help to answer the question?

Thank you.

SunnyHua

     

  • Hi,

    Does the peripheral device receive any event? Does the disconnection happen if you increase the supervision timeout to a large value?

    Best wishes
  • Hi, Zahid Haq,

    Thank you for your quick response.

    The peripheral device could receive the terminate event, it seems that it works normal, but the issue only happens on the central device, the issue is a random event, so I couldn't modify the timeout time to test the issue happen.

     

  • Hi, Zahid Haq,

    Now, I would like to know, whether we could modify the  timeout time about "TGAP_CONN_EST_SUPERV_TIMEOUT", how can we modify it , or whether we should notify some settings when we change it? 

    In my project, we define the connect interval is 10ms, DEFAULT_UPDATE_SLAVE_LATENCY is 0, and the TGAP_CONN_EST_SUPERV_TIMEOUT is setting at 200.