Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/subsys/modem/
Dmodem_chat.c399 argv = &chat->receive_buf[chat->receive_buf_size - chat->parse_match_len]; in modem_chat_parse_save_match()
402 memcpy(argv, &chat->receive_buf[0], chat->parse_match_len - 1); in modem_chat_parse_save_match()
408 chat->receive_buf[chat->receive_buf_size - 1] = '\0'; in modem_chat_parse_save_match()
418 if ((match->match[i] == chat->receive_buf[i]) || in modem_chat_match_matches_received()
460 (chat->receive_buf[chat->receive_buf_len - 1])) { in modem_chat_parse_is_separator()
471 if (chat->receive_buf[chat->receive_buf_len - 1] == chat->delimiter[i]) { in modem_chat_parse_end_del_start()
487 return (memcmp(&chat->receive_buf[chat->receive_buf_len - chat->delimiter_size], in modem_chat_parse_end_del_complete()
568 chat->receive_buf[chat->receive_buf_len - chat->delimiter_size] = '\0'; in modem_chat_on_unknown_command_received()
572 LOG_DBG("%s", chat->receive_buf); in modem_chat_on_unknown_command_received()
578 chat->argv[1] = chat->receive_buf; in modem_chat_on_unknown_command_received()
[all …]
Dmodem_ubx.c267 ret = modem_pipe_receive(ubx->pipe, ubx->receive_buf, ubx->receive_buf_size); in modem_ubx_process_handler()
275 ret = modem_ubx_process_received_byte(ubx, ubx->receive_buf[i]); in modem_ubx_process_handler()
319 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_ubx_init()
327 ubx->receive_buf = config->receive_buf; in modem_ubx_init()
Dmodem_cmux.c723 frame->data = cmux->receive_buf; in modem_cmux_drop_frame()
827 cmux->receive_buf[cmux->receive_buf_len] = byte; in modem_cmux_process_received_byte()
885 cmux->frame.data = cmux->receive_buf; in modem_cmux_process_received_byte()
1238 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_cmux_init()
1246 cmux->receive_buf = config->receive_buf; in modem_cmux_init()
1272 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_cmux_dlci_init()
1278 ring_buf_init(&dlci->receive_rb, config->receive_buf_size, config->receive_buf); in modem_cmux_dlci_init()
Dmodem_ppp.c414 ret = modem_pipe_receive(ppp->pipe, ppp->receive_buf, ppp->buf_size); in modem_ppp_process_handler()
424 modem_ppp_process_received_byte(ppp, ppp->receive_buf[i]); in modem_ppp_process_handler()
/Zephyr-Core-3.7.0/include/zephyr/modem/
Dcmux.h150 uint8_t *receive_buf; member
194 uint8_t *receive_buf; member
217 uint8_t *receive_buf; member
Dubx.h72 uint8_t *receive_buf; member
93 uint8_t *receive_buf; member
Dppp.h85 uint8_t *receive_buf; member
187 .receive_buf = _CONCAT(_name, _receive_buf), \
Dchat.h218 uint8_t *receive_buf; member
288 uint8_t *receive_buf; member
/Zephyr-Core-3.7.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.7.0/include/zephyr/modem/backend/
Duart.h63 uint8_t *receive_buf; member
/Zephyr-Core-3.7.0/subsys/modem/backends/
Dmodem_backend_uart.c34 __ASSERT_NO_MSG(config->receive_buf != NULL); in modem_backend_uart_init()
Dmodem_backend_uart_async.c320 backend->async.receive_bufs[0] = &config->receive_buf[0]; in modem_backend_uart_async_init()
321 backend->async.receive_bufs[1] = &config->receive_buf[receive_buf_size_quarter]; in modem_backend_uart_async_init()
325 &config->receive_buf[receive_buf_size_quarter * 2]); in modem_backend_uart_async_init()
Dmodem_backend_uart_isr.c271 &config->receive_buf[0]); in modem_backend_uart_isr_init()
274 &config->receive_buf[receive_double_buf_size]); in modem_backend_uart_isr_init()
/Zephyr-Core-3.7.0/drivers/gnss/
Dgnss_nmea_generic.c109 .receive_buf = data->uart_backend_receive_buf, in gnss_nmea_generic_init_pipe()
126 .receive_buf = data->chat_receive_buf, in gnss_nmea_generic_init_chat()
Dgnss_luatos_air530z.c120 .receive_buf = data->uart_backend_receive_buf, in gnss_luatos_air530z_init_pipe()
135 .receive_buf = data->chat_receive_buf, in gnss_luatos_air530z_init_chat()
Dgnss_u_blox_m10.c138 .receive_buf = data->uart_backend_receive_buf, in ubx_m10_init_pipe()
155 .receive_buf = data->chat_receive_buf, in ubx_m10_init_chat()
176 .receive_buf = data->ubx_receive_buf, in ubx_m10_init_ubx()
Dgnss_quectel_lcx6g.c752 .receive_buf = data->uart_backend_receive_buf, in quectel_lcx6g_init_pipe()
767 .receive_buf = data->chat_receive_buf, in quectel_lcx6g_init_chat()
/Zephyr-Core-3.7.0/tests/subsys/modem/backends/uart/src/
Dmain.c159 .receive_buf = backend_receive_buffer, in test_modem_backend_uart_setup()
/Zephyr-Core-3.7.0/drivers/modem/
Dmodem_at_shell.c168 .receive_buf = at_shell_chat_receive_buf, in at_shell_init_chat()
Dmodem_cellular.c1564 .receive_buf = data->uart_backend_receive_buf, in modem_cellular_init()
1578 .receive_buf = data->cmux_receive_buf, in modem_cellular_init()
1590 .receive_buf = data->dlci1_receive_buf, in modem_cellular_init()
1601 .receive_buf = data->dlci2_receive_buf, in modem_cellular_init()
1613 .receive_buf = user_pipe->dlci_receive_buf, in modem_cellular_init()
1626 .receive_buf = data->chat_receive_buf, in modem_cellular_init()
/Zephyr-Core-3.7.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.7.0/drivers/lora/
Drylrxxx.c594 .receive_buf = data->uart_backend_rx_buff, in rylr_init()
604 .receive_buf = data->chat_rx_buf, in rylr_init()
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_ppp/src/
Dmain.c127 .receive_buf = ppp_receive_buf,
/Zephyr-Core-3.7.0/tests/subsys/modem/modem_chat/src/
Dmain.c260 .receive_buf = cmd_receive_buf, in test_modem_chat_setup()