Closed
Description
Under certain circumstances read_line() does not properly detect the \r\n end of line sequence. This function reads all the data waiting in the serial device buffer and parses it up to the first \r\n. It then saves any remainder in self._buffer for the next function invocation. If that remainder contains a \r\n then the newline is not detected. This results in messages that are concatenated together with \r\n between them.
This occurs because any data waiting in self._buffer is not parsed for newlines.
Metadata
Assignees
Labels
No labels
Activity