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

Connection

Hello,

i have a nRF51 DK 1 and the Dongle to test and try some BLE applications. Now i want to test how long does it take to establish and close a simple connection. The idea is to advertise some data to more than one device like smartphones or tablets permanently. When i want to change something i want to open a connection, transfer some data and then close the connection. So i want to know the duration for this simple connection. How can i solve this? Do you have any ideas?

thanks for any help!

  • Hi.

    This depends on so many things that it is hard to give an answer. The most important factors are how often you advertise, how often you are scanning, and for how long you are scanning. It is a nondeterministic system and establishing a connection might take a few ms or several seconds depending on your system and environment. Have a look at this blog to understand a bit more about the relationship between advertising intervals and scan windows. When you are finally in a connection it is still a bit tricky to estimate how long it will take to do your thing. If you are just writing some values from one device to another, without any processing, you might say that the writing time should be deterministic. However, you are still prone to interference from other sources lowering the bandwidth between your devices.

Related