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

s120 central make fast connection to known mac addr

Hi

I am trying to make a ble central with s120 on a pca10001 board.

My problem is that it sometimes take a lot of time (up to 10 seconds) to find the client when i make a scan. The Clients mac address is known by the central before it start scanning, so what is the best and fastest way to make a connection ?

/Kristian

  • Hi Kristian,

    You use the sd_ble_gap_connect if you already know the bdaddr. I recommend that you don't use continuous scanning, but as example, if advertising at 20 ms, use a scan interval 50 ms with a 30 ms window. Refer to API documentation for details.

    Cheers, Vich

Related