Serial.advanced constructor
Serial.advanced()
Opens the tty device at the specified path (e.g. "/dev/ttyUSB0"), with the specified baudrate, databits, parity, stopbits, software flow control (xonxoff), and hardware flow control (rtsct) settings.
serial should be a valid pointer to an allocated Serial handle structure. databits can be 5, 6, 7, or 8. parity can be PARITY_NONE, PARITY_ODD, or PARITY_EVEN . StopBits can be 1 or 2.
Implementation
Serial.advanced(this.path, this.baudrate, this.databits, this.parity,
this.stopbits, this.xonxoff, this.rtsct)
: _serialHandle = _openSerialAdvanced(
path, baudrate, databits, parity, stopbits, xonxoff, rtsct);