Skip to content

Serial read not reading the entire package in one transaction #1065

Answered by timcanham
rawinza555 asked this question in Q&A
Discussion options

You must be logged in to vote

It is actually common that the receiving end of a UART transaction will chop packets at different points. This is usually due to buffering in the hardware. You should just structure your logic to assume this will happen and reassemble the packet at a higher level.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rawinza555
Comment options

Answer selected by rawinza555
Comment options

You must be logged in to vote
1 reply
@rawinza555
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants