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.
When I first try to retrieve data from my Axpert vm 3k plus I figured out that qpiri answer of my device was not 97 bytes, as set in this code but 98. So I used @ned-kelly code in this repo and manage to make a use of my device by playing with the buffer size parameters. I suggest to add these changes to the original code, adding default values.
I set qpiri buffer to 98 by default has it work for me but if 97 is a valid value for other type of devices, we can put it back to 97.