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

Making WriteRequest and ReadRequest timeoutable amd cancellable #596

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

philips77
Copy link
Member

This PR makes the WriteRequest and ReadRequest cancellable. These requests can only be canceled if they consist of multiple BLE operations, that is split or merge are used. Cancellation will abort sending or waiting for more packets, but it will not stop the one that is already in progress (due to Android API requirements).

@philips77
Copy link
Member Author

This PR fixes #594.

@philips77 philips77 linked an issue Oct 10, 2024 that may be closed by this pull request
@philips77 philips77 merged commit ec3332b into main Oct 10, 2024
1 check passed
@philips77 philips77 deleted the improvement/cancel-write branch October 10, 2024 21:44
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.

WriteRequest Split : cancelCurrent don't stop sending packets
1 participant