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

uart: new option to detect end of packet by idle time #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sespivak
Copy link

@sespivak sespivak commented Jul 28, 2022

There is a problem with detection of the end of data packet in uart decoder, because the length of packet may be non constant and may have no a delimiter char to detect start of packet. This patch adds new option to the uart decoder to detect end of packets by idle time after each packet received. All tests are passed now.

Screenshot from 2022-07-28 23-42-40

@sespivak sespivak force-pushed the uart branch 2 times, most recently from b9debf6 to fa388e9 Compare July 31, 2022 13:14
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.

1 participant