Home
last modified time | relevance | path

Searched refs:termios (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/examples/platforms/simulation/
Duart.c56 static struct termios original_stdin_termios;
57 static struct termios original_stdout_termios;
73 struct termios termios; in otPlatUartEnable() local
98 … otEXPECT_ACTION(tcgetattr(s_in_fd, &termios) == 0, perror("tcgetattr"); error = OT_ERROR_GENERIC); in otPlatUartEnable()
102 cfmakeraw(&termios); in otPlatUartEnable()
105 termios.c_cflag |= HUPCL | CREAD | CLOCAL; in otPlatUartEnable()
108 termios.c_cc[VMIN] = 1; in otPlatUartEnable()
111 termios.c_cc[VTIME] = 0; in otPlatUartEnable()
114 …otEXPECT_ACTION(cfsetispeed(&termios, OPENTHREAD_SIMULATION_UART_BAUDRATE) == 0, perror("cfsetispe… in otPlatUartEnable()
118 …otEXPECT_ACTION(tcsetattr(s_in_fd, TCSANOW, &termios) == 0, perror("tcsetattr"); error = OT_ERROR_… in otPlatUartEnable()
[all …]
/openthread-latest/src/posix/platform/
Dhdlc_interface.cpp464 struct termios tios; in OpenFile()
625 struct termios orig_tios; in OpenFile()
668 struct termios tios; in ForkPty()