Skip to content
Commit 4503377c authored by Jeppe Odgaard's avatar Jeppe Odgaard Committed by Carles Cufí
Browse files

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: default avatarJeppe Odgaard <jeppe.odgaard@prevas.dk>
parent 3bcd14f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment