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.

CC2541 Can't connect

I use SimpleBLECentral demo, but can't connect SimpleBLEPeripheral. But when i use download APP from network, the sniffer data as below, can someone tell me what is wrong?

right data:

wrong data:

  • For the wrong data graphic, the problem seems to be that the peripheral didn't see the connect request. This could be due to timing problems (do you have an external 32kHz xtal?) or just some interference.

    The weakness (if you want to use that word) with the BLE protocol is that the Master has to assume the Slave received the connect request. There is however a 6-connEvt timeout in case a packet is never received from the Slave. In this case the connection will terminate with the reason 0x3E failed to establish.

    Best regards,
    Aslak
  • Hi Aslak:

     Thanks for your reply!   I use TI's hardware so that there is no problem.

    I think you are right that the master is never received from slave during  6-connEvt timeout. but i didn't found any wrong that cause this problem.

    beacuse the slave is Other people's products,so if there any limit  that cause  connecting  on software?

  • Hi,

    No, the only reason this happens is if a) the clock is somehow wrong in the peripheral so it wakes up at the wrong time for the 1st connection interval (meaning it saw the conn_req) or b) it didn't get the conn_req because of interference or other link problems.

    This could be due to wifi or other radio sources nearby. The solution (unless this happens 100% of the time) is just for the master to try to connect again as fast as possible.

    Best regards,
    Aslak