Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/subsys/modem/
Dmodem_chat.c352 argv = &chat->receive_buf[chat->receive_buf_size - chat->parse_match_len]; in modem_chat_parse_save_match()
355 memcpy(argv, &chat->receive_buf[0], chat->parse_match_len - 1); in modem_chat_parse_save_match()
361 chat->receive_buf[chat->receive_buf_size - 1] = '\0'; in modem_chat_parse_save_match()
371 if ((match->match[i] == chat->receive_buf[i]) || in modem_chat_match_matches_received()
413 (chat->receive_buf[chat->receive_buf_len - 1])) { in modem_chat_parse_is_separator()
424 if (chat->receive_buf[chat->receive_buf_len - 1] == chat->delimiter[i]) { in modem_chat_parse_end_del_start()
440 return (memcmp(&chat->receive_buf[chat->receive_buf_len - chat->delimiter_size], in modem_chat_parse_end_del_complete()
521 chat->receive_buf[chat->receive_buf_len - chat->delimiter_size] = '\0'; in modem_chat_on_unknown_command_received()
525 LOG_DBG("%s", chat->receive_buf); in modem_chat_on_unknown_command_received()
531 chat->argv[1] = chat->receive_buf; in modem_chat_on_unknown_command_received()
[all …]
Dmodem_cmux.c754 cmux->receive_buf[cmux->receive_buf_len] = byte; in modem_cmux_process_received_byte()
815 cmux->frame.data = cmux->receive_buf; in modem_cmux_process_received_byte()
1087 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_cmux_init()
1095 cmux->receive_buf = config->receive_buf; in modem_cmux_init()
1117 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_cmux_dlci_init()
1123 ring_buf_init(&dlci->receive_rb, config->receive_buf_size, config->receive_buf); in modem_cmux_dlci_init()
Dmodem_ppp.c385 ret = modem_pipe_receive(ppp->pipe, ppp->receive_buf, ppp->buf_size); in modem_ppp_process_handler()
391 modem_ppp_process_received_byte(ppp, ppp->receive_buf[i]); in modem_ppp_process_handler()
/Zephyr-Core-3.6.0/include/zephyr/modem/
Dcmux.h140 uint8_t *receive_buf; member
176 uint8_t *receive_buf; member
199 uint8_t *receive_buf; member
Dppp.h84 uint8_t *receive_buf; member
181 .receive_buf = _CONCAT(_name, _receive_buf), \
Dchat.h201 uint8_t *receive_buf; member
265 uint8_t *receive_buf; member
/Zephyr-Core-3.6.0/drivers/gnss/
Dgnss_nmea_generic.c105 .receive_buf = data->uart_backend_receive_buf, in gnss_nmea_generic_init_pipe()
120 .receive_buf = data->chat_receive_buf, in gnss_nmea_generic_init_chat()
Dgnss_quectel_lcx6g.c705 .receive_buf = data->uart_backend_receive_buf, in quectel_lcx6g_init_pipe()
720 .receive_buf = data->chat_receive_buf, in quectel_lcx6g_init_chat()
/Zephyr-Core-3.6.0/tests/subsys/modem/modem_cmux_pair/src/
Dmain.c207 .receive_buf = dlci1_receive_buf, in cmux_dte_init()
213 .receive_buf = dlci2_receive_buf, in cmux_dte_init()
220 .receive_buf = cmux_receive_buf, in cmux_dte_init()
249 .receive_buf = dlci1_receive_buf_dce, in cmux_dce_init()
255 .receive_buf = dlci2_receive_buf_dce, in cmux_dce_init()
262 .receive_buf = cmux_receive_buf_dce, in cmux_dce_init()
/Zephyr-Core-3.6.0/include/zephyr/modem/backend/
Duart.h56 uint8_t *receive_buf; member
/Zephyr-Core-3.6.0/subsys/modem/backends/
Dmodem_backend_uart_async.c255 backend->async.receive_bufs[0] = &config->receive_buf[0]; in modem_backend_uart_async_init()
256 backend->async.receive_bufs[1] = &config->receive_buf[receive_buf_size_quarter]; in modem_backend_uart_async_init()
260 &config->receive_buf[receive_buf_size_quarter * 2]); in modem_backend_uart_async_init()
Dmodem_backend_uart.c37 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_backend_uart_init()
Dmodem_backend_uart_isr.c189 &config->receive_buf[0]); in modem_backend_uart_isr_init()
192 &config->receive_buf[receive_double_buf_size]); in modem_backend_uart_isr_init()
/Zephyr-Core-3.6.0/tests/subsys/modem/backends/uart/src/
Dmain.c159 .receive_buf = backend_receive_buffer, in test_modem_backend_uart_setup()
/Zephyr-Core-3.6.0/tests/subsys/modem/modem_cmux/src/
Dmain.c252 .receive_buf = dlci1_receive_buf, in test_modem_cmux_setup()
258 .receive_buf = dlci2_receive_buf, in test_modem_cmux_setup()
267 .receive_buf = cmux_receive_buf, in test_modem_cmux_setup()
/Zephyr-Core-3.6.0/drivers/modem/
Dmodem_cellular.c1465 .receive_buf = data->uart_backend_receive_buf, in modem_cellular_init()
1479 .receive_buf = data->cmux_receive_buf, in modem_cellular_init()
1491 .receive_buf = data->dlci1_receive_buf, in modem_cellular_init()
1502 .receive_buf = data->dlci2_receive_buf, in modem_cellular_init()
1513 .receive_buf = data->chat_receive_buf, in modem_cellular_init()
/Zephyr-Core-3.6.0/tests/subsys/modem/modem_ppp/src/
Dmain.c127 .receive_buf = ppp_receive_buf,
/Zephyr-Core-3.6.0/tests/subsys/modem/modem_chat/src/
Dmain.c247 .receive_buf = cmd_receive_buf, in test_modem_chat_setup()