Searched refs:dlci2_pipe (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_cmux/src/ |
D | main.c | 40 static struct modem_pipe *dlci2_pipe; variable 275 dlci2_pipe = modem_cmux_dlci_init(&cmux, &dlci2, &dlci2_config); in test_modem_cmux_setup() 302 modem_pipe_attach(dlci2_pipe, test_modem_dlci2_pipe_callback, NULL); in test_modem_cmux_setup() 304 __ASSERT_NO_MSG(modem_pipe_open_async(dlci2_pipe) == 0); in test_modem_cmux_setup() 337 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST() 396 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST() 416 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST() 426 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_18, in ZTEST() 484 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST() 504 ret = modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_cmux_pair/src/ |
D | main.c | 31 static struct modem_pipe *dlci2_pipe; variable 236 dlci2_pipe = modem_cmux_dlci_init(&cmux_dte, &dlci2, &dlci2_config); in cmux_dte_init() 242 modem_pipe_attach(dlci2_pipe, test_dlci2_pipe_cb, NULL); in cmux_dte_init() 316 __ASSERT_NO_MSG(modem_pipe_open_async(dlci2_pipe) == 0); in test_setup() 341 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_at_cgdcont, in ZTEST() 344 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_at_newline, in ZTEST() 403 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_52, in ZTEST() 405 modem_pipe_transmit(dlci2_pipe, cmux_frame_data_dlci2_ppp_18, in ZTEST() 448 ret = modem_pipe_receive(dlci2_pipe, buffer2, sizeof(buffer2)); in ZTEST() 496 zassert_true(modem_pipe_close_async(dlci2_pipe) == 0, "Failed to close DLCI2"); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/drivers/modem/ |
D | modem_cellular.c | 96 struct modem_pipe *dlci2_pipe; member 857 modem_pipe_attach(data->dlci2_pipe, modem_cellular_dlci2_pipe_handler, data); in modem_cellular_on_open_dlci2_state_enter() 858 return modem_pipe_open_async(data->dlci2_pipe); in modem_cellular_on_open_dlci2_state_enter() 880 modem_pipe_release(data->dlci2_pipe); in modem_cellular_on_open_dlci2_state_leave() 929 return modem_chat_attach(&data->chat, data->dlci2_pipe); in modem_cellular_on_await_registered_state_enter() 1605 data->dlci2_pipe = modem_cmux_dlci_init(&data->cmux, &data->dlci2, in modem_cellular_init()
|