libsimpleioSERIAL_open Method |
Open a Linux serial port device.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void SERIAL_open(
string devname,
int baudrate,
int parity,
int databits,
int stopbits,
out int fd,
out int error
)
Parameters
- devname String
- Device node name.
- baudrate Int32
- Baud rate.
- parity Int32
- Parity setting (0 to 2).
- databits Int32
- Word size setting (5 to 8).
- stopbits Int32
- Number of stop bits (1 or 2).
- fd Int32
- File descriptor.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also