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

Missing Characters on USB port #124

Open
danishmhmd opened this issue Apr 16, 2022 · 1 comment
Open

Missing Characters on USB port #124

danishmhmd opened this issue Apr 16, 2022 · 1 comment

Comments

@danishmhmd
Copy link

danishmhmd commented Apr 16, 2022

I am facing issue that sometimes number of characters are not properly received. Using serialPort.readString(serialPort.getInputBufferBytesCount(), 150) Method.(Maven Version 2.8.0) I tried using multiple values of timeout but still either two different messages are received in correctly. For ex:
Expected Data:
[011131FF8300000F0000000000420001000000e9]
[001131FF8300000F000000000042000200000097]

Actual Received Data:
[011131FF8300000F0000
000000420001000000e9]
[001131FF8300000F000000000042000200000097]

Or

[011131FF8300000F0000000000420001000000e9]
[001131FF8300000F000000000
042000200000097]

@tresf
Copy link

tresf commented Apr 16, 2022

I'm not familiar with what could cause this, but I wanted to reply to acknowledge the bug report so you know that the project is still active.

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

No branches or pull requests

2 participants