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

Need help to setup connection to a Raspberry pi with a beacon interval of 10 seconds

Hi,

i am using a nRF52840 with sdk v17.0.2  on soft device s112. using the ble beacon example. i can set up the connection from the raspberry pi with a 2 second beacon interval and a timeout of 12 seconds using peplin / pygatt. but when i use a 10 second beacon interval i can never connect even if i set a timeout of 60 seconds. Is it even possible to connect with a 10 second beacon interval? 

thank you 

Parents
  • Hi, it is possible to connect with a 10 second advertising interval. But if a packet is missed, the scanner has to wait 10 seconds before it can try again. However, if you're not in a very noisy environment it usually connects at the first advertising packet.

    Have you tried anything between 2 seconds and 10 seconds? Is there a hard limit when it's not able to connect? Have you tried waiting for longer than 60 seconds? Does it eventually connect, or never? I'm asking because if it never connects, maybe the scanner just shuts down after a while? Maybe some sort of power saving feature or similar. Just guessing.

Reply
  • Hi, it is possible to connect with a 10 second advertising interval. But if a packet is missed, the scanner has to wait 10 seconds before it can try again. However, if you're not in a very noisy environment it usually connects at the first advertising packet.

    Have you tried anything between 2 seconds and 10 seconds? Is there a hard limit when it's not able to connect? Have you tried waiting for longer than 60 seconds? Does it eventually connect, or never? I'm asking because if it never connects, maybe the scanner just shuts down after a while? Maybe some sort of power saving feature or similar. Just guessing.

Children
No Data
Related