This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is there a way to reduce the link loss detection time?

ble_gap.hHi, At the moment, when a link loss is detected (in a connected mode), it takes around 3 seconds for it to be identified (with DISCONNECTED event). Is there a way to reduce this link loss detection time from 3 seconds to less than a second? Thanks.

Parents Reply
  • No, you've misunderstood. Indeed your ble_gap.h file is intact, otherwise (most probably) Soft Device API calls stop working. You should SEARCH for Supervision Timeout and READ what is explained there. Moreover what you write in your original question isn't precise: if link timeouts because there are no answers from the peer (being Slave or Master, doesn't matter) then you should get different event then DISCONNECTED.

Children
No Data
Related