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

what is the minimum time for a app and a peripheral to create a connection

as the title,what is the minimum time for a app and a peripheral to create a connection?how much ms or s? thanks!

Parents
  • It is impossible to give a general answer to this, as it will be dependent on so many factors, including the advertising interval used by the Peripheral, the scan window and scan interval used by the Central, the timing of the scan events compared to the advertising events, the BLE implementations on the Central and the Peripheral and probably more.

    The attached figure shows how the advertising and scanning will work in the time domain, and in principle a connect request can be sent, and the devices enter a connection on the first advertising packet hitting a scan event from a Central. However, if you have long intervals, short windows and bad luck, it can also take a very long time.

    ble-advertising.png

Reply
  • It is impossible to give a general answer to this, as it will be dependent on so many factors, including the advertising interval used by the Peripheral, the scan window and scan interval used by the Central, the timing of the scan events compared to the advertising events, the BLE implementations on the Central and the Peripheral and probably more.

    The attached figure shows how the advertising and scanning will work in the time domain, and in principle a connect request can be sent, and the devices enter a connection on the first advertising packet hitting a scan event from a Central. However, if you have long intervals, short windows and bad luck, it can also take a very long time.

    ble-advertising.png

Children
No Data
Related