The default end-of-line character used by Pyserial is a newline (
) character. This means that the readline() function will wait until it receives a newline character before returning the data.