You are here

BLE disconnects immediately after connection | Cypress Semiconductor

BLE disconnects immediately after connection

Summary: 2 Replies, Latest post by isyq on 26 Mar 2016 02:45 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
Gitesh Kulkarni's picture
14 posts

Hello Folks,

I am running the sample of HR sensor on PSOC4 BLE Pioneer Kit.  On the client side I am running BlueZ stack on a Intel Edison board. But immediately after doing a "connect <mac> ", disconnect happens.  Is this normal?  Shouldn't the connection remain.  Is their anything I can write in code to prevent this disconnection.  I am new in BLE, so please guide me.



Matt Eng.WI's picture
17 posts

If you are not getting any kind of error, the most common reason for an immediate disconnect is a timing mismatch between the two devices.  The connection parameters are negotiated and if the devices cannot agree on a set of parameters, it will disconnect.  I've also seen where the clocks are not accurate enough or trimmed properly that the devices will connect, but then disconnect quickly when they drift far enough that they miss the transmission.

Hope this helps,


isyq's picture
Cypress Employee
3 posts

Log down my experience.

I get a BLE peripheral device, non-Cypress BLE chip. I want to connect to it with PSoC BLE central. The issue is similar like what Gitesh saw: BLE central disconnect immediately after connected.

The solution is increasing connection interval to 20ms, and slave latency to 10. I don't know the reason, just find that it works.

This link may give some help.(

Log in to post new comments.