Skip to content

Making WriteRequest and ReadRequest timeoutable amd cancellable#596

Merged
philips77 merged 1 commit intomainfrom
improvement/cancel-write
Oct 10, 2024
Merged

Making WriteRequest and ReadRequest timeoutable amd cancellable#596
philips77 merged 1 commit intomainfrom
improvement/cancel-write

Conversation

@philips77
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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
@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