Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/modem/backends/tty/src/
Dmain.c34 static struct modem_pipe *tty_pipe; variable
109 tty_pipe = modem_backend_tty_init(&tty_backend, &config); in test_modem_backend_tty_setup()
110 modem_pipe_attach(tty_pipe, modem_pipe_callback_handler, NULL); in test_modem_backend_tty_setup()
111 __ASSERT_NO_MSG(modem_pipe_open(tty_pipe, K_SECONDS(10)) == 0); in test_modem_backend_tty_setup()
122 modem_pipe_close(tty_pipe, K_SECONDS(10)); in test_modem_backend_tty_teardown()
132 zassert_ok(modem_pipe_close(tty_pipe, K_SECONDS(10)), "Failed to close pipe"); in ZTEST()
133 zassert_ok(modem_pipe_close(tty_pipe, K_SECONDS(10)), "Pipe should already be closed"); in ZTEST()
134 zassert_ok(modem_pipe_open(tty_pipe, K_SECONDS(10)), "Failed to open pipe"); in ZTEST()
137 zassert_ok(modem_pipe_open(tty_pipe, K_SECONDS(10)), "Pipe should already be open"); in ZTEST()
174 ret = modem_pipe_receive(tty_pipe, buffer1, sizeof(buffer1)); in ZTEST()
[all …]