ConnectionParams vs ConnectTimeout #663
Unanswered
thekurtovic
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was reading through a recent thread which suggested that connection parameters could be increased in order to achieve 100 meter distances before attempting a connection.
#661
The NimBLE_Client example has the following setup before calling the connection function.
pClient->setConnectionParams(12,12,0,51); pClient->setConnectTimeout(5);
What is the difference between the connection timeout compared to the connection parameter's timeout?
The example appears to have a 510 ms timeout from setConnectionParams(), but then has a 5 second timeout from setConnectionTimeout(). Since the former is also known as the "supervision timeout", my current understanding is:
Is this correct? If so, would you recommend also increasing setConnectionTimeout() in order to achieve longer connection distances?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions