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.
Hi there!
As I promised here #19, I didn't disappear! and I may create much more PR in future, since we really need this library for our apps!
For now, I only fixed
open,read_binaryandwrite_binarycommands for android. I didn't test other commands but they may also work. I am still working on it during our app development. I thought it would be better to make this PR, so that you can also contribute and give suggestions (including coding style (code refactoring is really needed, for the new changes)).Future plans:
AsyncWriteandAsyncReadtraits to make an adapter fortauri-plugin-serialport. and we may need it in other apps we are developing. so this should be published as a tauri library that usestauri-plugin-serialpluginas nested dependency. OR, we may add it here as a feature totauri-plugin-serialplugin🤔 I will be very thankful if you checkout this gist and give us your feedback on where to publish it (https://gist.github.com/arashi-dev/89b31ef7b86ebb3ef856a6334366adad)