This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Fast connecting to a bonded device

Hello all,

I have a BLE central application based on nRF Connect SDK V1.6.1 and a BLE peripheral application based on nRF5 SDK 17.1.0. The peripheral wakes up on interrupt and starts advertising. The central scans all the time for the peripheral and connects to it as soon as it's possible. The two devices use Coded PHY and are bonded with Just Works and LESC.

It is very important that the peripheral can notify the central as soon as possible with its data. I would like to minimize the connection establishment time so I already set the connection intervals to the lowest value of 7.5ms but the time the security exchange needs is still higher than I would like.

Is it normal that the security exchange process between two bonded devices takes around ~50ms?
Can this time be reduced further?

Best regards,
David

Parents Reply
  • Hi David,

    The sniffer trace shows well what happens on air, and there are a few connection events between LL_ENC_REQ/RSP and LL_START_ENC_REQ/RSP. Unfortunately I was not able to conclude if it is possible to reduce the time more or not today, so I will have to get back to you early next week.

    Edit: I discussed a bit with the BT stack team and they did not see much room for improvement, but may be that it could be slightly faster with 1 Mbps instead of coded phy. Could you test that just for comparison?

Children
Related