zephyr/drivers/modem
Jeppe Odgaard 4503377cac drivers: modem: delay after each AT command
Change logic in `modem_cmd_handler_setup_cmds` and
`modem_cmd_handler_setup_cmds_nolock` to always sleep
after each sent AT command.

The issue was found using a logic analyzer while debugging 'NO CARRIER'
from a BG95 modem while being in data mode.
The reason 'NO CARRIER' occured was due to crosstalk to DTR which
terminated data mode.

The logic analyzer also revealed that without the delay the next AT
command is sent before the whole 'OK\r\n' is received. This is not
addressed in this commit.

Fixes https://github.com/zephyrproject-rtos/zephyr/issues/47082

Signed-off-by: Jeppe Odgaard <jeppe.odgaard@prevas.dk>
2022-07-02 14:15:49 +02:00
..
CMakeLists.txt modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
gsm_ppp.c drivers: modem: gsm: set AT+IFC if hw-flow-control is enabled 2022-07-01 16:32:17 +00:00
hl7800.c drivers: modem: hl7800: Add runtime control of log level 2022-07-01 16:30:30 +02:00
Kconfig modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
Kconfig.gsm
Kconfig.hl7800
Kconfig.quectel-bg9x
Kconfig.simcom-sim7080
Kconfig.ublox-sara-r4
Kconfig.wncm14a2a
modem_cmd_handler.c drivers: modem: delay after each AT command 2022-07-02 14:15:49 +02:00
modem_cmd_handler.h drivers/modem: add user_data to modem_cmd_handler_data 2022-06-06 17:59:35 +02:00
modem_context.c modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_context.h modem: remove 'modem_pin' abstraction 2022-06-06 17:58:52 +02:00
modem_iface_uart_async.c modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_iface_uart_interrupt.c modem: choice symbol for UART backend 2022-05-10 10:44:04 +02:00
modem_iface_uart.h modem: modem_iface_uart_async: added 2022-05-10 10:44:04 +02:00
modem_receiver.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_receiver.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_shell.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
modem_socket.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
quectel-bg9x.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
quectel-bg9x.h drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
simcom-sim7080.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
simcom-sim7080.h drivers: remove redundant <zephyr/zephyr.h> includes 2022-06-15 09:13:11 +02:00
ublox-sara-r4.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
wncm14a2a.c drivers: wncm14a2a: Remove unneeded assignment 2022-07-01 21:36:01 +02:00