le_tty.h
Go to the documentation of this file.
68 //--------------------------------------------------------------------------------------------------76 //--------------------------------------------------------------------------------------------------89 //--------------------------------------------------------------------------------------------------93 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------143 //--------------------------------------------------------------------------------------------------150 //--------------------------------------------------------------------------------------------------154 //--------------------------------------------------------------------------------------------------160 //--------------------------------------------------------------------------------------------------170 //--------------------------------------------------------------------------------------------------177 //--------------------------------------------------------------------------------------------------186 //--------------------------------------------------------------------------------------------------194 //--------------------------------------------------------------------------------------------------196 * Set framing on serial port. Use human-readable characters/numbers such as 'N', 8, 1 to indicate205 //--------------------------------------------------------------------------------------------------214 //--------------------------------------------------------------------------------------------------227 //--------------------------------------------------------------------------------------------------234 //--------------------------------------------------------------------------------------------------236 * Set serial port into terminal mode. Converts EOL characters to unix format, enables local echo,244 //--------------------------------------------------------------------------------------------------250 //--------------------------------------------------------------------------------------------------252 * Set serial port into raw (non-canonical) mode. Disables conversion of EOL characters, disables260 //--------------------------------------------------------------------------------------------------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)