Home
last modified time | relevance | path

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

/Zephyr-latest/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c25 static struct modem_cmux cmux_dte; variable
234 modem_cmux_init(&cmux_dte, &cmux_config); in cmux_dte_init()
235 dlci1_pipe = modem_cmux_dlci_init(&cmux_dte, &dlci1, &dlci1_config); in cmux_dte_init()
236 dlci2_pipe = modem_cmux_dlci_init(&cmux_dte, &dlci2, &dlci2_config); in cmux_dte_init()
240 __ASSERT_NO_MSG(modem_cmux_attach(&cmux_dte, bus_mock_pipe) == 0); in cmux_dte_init()
303 __ASSERT_NO_MSG(modem_cmux_connect_async(&cmux_dte) == 0); in test_setup()
508 zassert_true(modem_cmux_disconnect_async(&cmux_dte) == 0, "Failed to disconnect CMUX"); in ZTEST()
516 zassert_true(modem_cmux_connect_async(&cmux_dte) == 0, "Failed to connect CMUX"); in ZTEST()
554 zassert_true(modem_cmux_disconnect(&cmux_dte) == 0, "Failed to disconnect CMUX"); in ZTEST()
555 zassert_true(modem_cmux_disconnect(&cmux_dte) == -EALREADY, in ZTEST()
[all …]