The fields of the Serial class are listed below. For a complete list of Serial class members, see the Serial Members topic.
BAUDRATES | Baudrates supported by the module |
COMPORTS | All available serial port names |
DATABITS | Number of databits supported |
DEFAULT_BAUDRATE | Default baudrate |
DEFAULT_COMPORT | Default serial port name |
DEFAULT_DATABITS | Default number of databits |
DEFAULT_PARITY | Default parity |
DEFAULT_STOPBITS | Default number of stop bits |
DEFAULT_TIMEOUT | Default timeout for read and write operations |
BUFLEN | Buffer len for receving bytes from the serial port |
m_buf | The buffer to use for reading from the serial port |
m_doread | Flag for continuing reading thread |
m_filter | For filtering lines from serial port. |
m_rdbytecb | Callback handling single bytes read from port |
m_rdlinecb | Callback handling strings read from port |
m_sbline | Parsed line strings from the buffer |
m_serial | The serial port |
m_thr | Serial port reading thread |
Serial Class | serial Namespace