SetMode sets the frame format and handshaking configuration. baudrate may be freely chosen, the driver is allowed to reject unachievable baud rates. databits may be any number of data bits supported by the driver. parity is one of (N|O|E) for none, odd or even parity. handshake is either NO_HANDSHAK
(baudrate, databits, parity, stopbits, handshake int)
| 40 | // |
| 41 | // Known bug on Windows: Only NO_HANDSHAKE is supported. |
| 42 | SetMode(baudrate, databits, parity, stopbits, handshake int) error |
| 43 | |
| 44 | // GetMode retrieves the current mode settings. |
| 45 | // |
no outgoing calls