feat: generate IAsyncInfo - #118
Merged
Merged
Conversation
Contributor
Author
|
@jagobagascon can I get your review on this ? Small PR with nice improvements possible |
This will be used to retrieve the error details from an error within a AsyncOperationCompletedHandler. Related work: tinygo-org/bluetooth#421
acouvreur
force-pushed
the
add-async-info
branch
from
March 17, 2026 15:22
cde2031 to
d8db2a6
Compare
Contributor
Author
|
@jagobagascon I see that you have merged another pull request, just a quick head up on this one :) Thanks again for being available to merge those PRs |
jagobagascon
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This will be used to retrieve the error details from an error within a AsyncOperationCompletedHandler.
Related work: tinygo-org/bluetooth#421
I have a local PoC that can successfully retrieve the bluetooth attribute protocol error code.
For that it needs IAsyncInfo.
Once this is merged and the related PR is merged in tinygo bluetooth repository I will create a new pull request to extract the error and report it back to the user.
Exemple:
The error
0x0082is an application error that my BLE server sends back, which I can successfully extract!