Skip to content

Conversation

@Srinivas-Singadi
Copy link

I will remove the rest of the configuration part and the jitpack stuff once you respond to the pull request or merge my part of the code.

I got strange issue of frames not receiving properly for every 5 milliseconds from an arduino type of a device.

the desired strings were broken into parts and were sent into next line i fixed the issue by making it to work properly by adding arraylist and wait params to get the whole part of string.

@MacroYau
Copy link
Owner

MacroYau commented Feb 1, 2018

Hi @Srinivas1993, thanks for raising this issue. However, I think this is similar to #2 where I believe that CR (the 0x0D in your PR if I understand correctly) or other delimiters should be handled in your own application code.

@Yanovsky
Copy link

Yanovsky commented Jul 6, 2022

I have another solution. You need to stop collecting into the byte array cache when the last read byte is 0x0D or more than 100ms have passed since the last bytes read.

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.

4 participants