le_tty.h
Go to the documentation of this file.
68 //--------------------------------------------------------------------------------------------------76 //--------------------------------------------------------------------------------------------------89 //--------------------------------------------------------------------------------------------------93 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------155 //--------------------------------------------------------------------------------------------------165 //--------------------------------------------------------------------------------------------------172 //--------------------------------------------------------------------------------------------------181 //--------------------------------------------------------------------------------------------------189 //--------------------------------------------------------------------------------------------------191 * Set framing on serial port. Use human-readable characters/numbers such as 'N', 8, 1 to indicate200 //--------------------------------------------------------------------------------------------------209 //--------------------------------------------------------------------------------------------------222 //--------------------------------------------------------------------------------------------------229 //--------------------------------------------------------------------------------------------------231 * Set serial port into terminal mode. Converts EOL characters to unix format, enables local echo,239 //--------------------------------------------------------------------------------------------------245 //--------------------------------------------------------------------------------------------------247 * Set serial port into raw (non-canonical) mode. Disables conversion of EOL characters, disables255 //--------------------------------------------------------------------------------------------------int le_tty_Open(const char *ttyDev, int flags)void le_tty_Close(int fd)le_result_t le_tty_SetFlowControl(int fd, tty_FlowControl_t ttyFlowControl)le_result_t le_tty_SetRaw(int fd, int numChars, int timeout)le_result_t le_tty_SetFraming(int fd, char parity, int wordSize, int stopBits)le_result_t le_tty_SetCanonical(int fd)le_result_t le_tty_SetBaudRate(int fd, tty_Speed_t ttyRate)le_result_t le_tty_GetBaudRate(int fd, tty_Speed_t *ttyInRatePtr, tty_Speed_t *ttyOutRatePtr)