Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and improvements to connection timeouts on SoftDevices #221

Merged
merged 3 commits into from
Jan 12, 2024

Conversation

aykevl
Copy link
Member

@aykevl aykevl commented Jan 5, 2024

This PR fixes a few things to better deal with connection timeouts when connecting to a peripheral from a nrf52 chip.

This depends on #211 and needs to be rebased once it is ready.

This makes sure an error is reported on a connection timeout. Previously
it would just block forever.
This fixes the connection timeout. Previously it would try to connect
for a time 16 times as much as specified by the user.
This adds support for the "connection supervision timeout", basically
the connection timeout while the connection is active (as opposed to
while connecting).
@aykevl aykevl force-pushed the sd-connect-timeout branch from 8325641 to d491405 Compare January 11, 2024 15:08
@aykevl aykevl marked this pull request as ready for review January 11, 2024 15:08
@aykevl
Copy link
Member Author

aykevl commented Jan 11, 2024

This is now ready for review.

@deadprogram
Copy link
Member

Thanks for the fixes @aykevl now merging.

@deadprogram deadprogram merged commit b8c7925 into dev Jan 12, 2024
5 checks passed
@deadprogram deadprogram deleted the sd-connect-timeout branch January 12, 2024 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants