zephyr/drivers/modem
Bjarki Arge Andreasen 2d2d3ececd drivers/modem/modem_cellular.c: Improve bus pipe usage
This commit improves the usage of the bus pipe (connected
to UART) to only open it when the modem is actually
powered and ready, not when leaving the idle state. This
ensures the pipe is flushed before sending the init script,
and re-enables the UART driver if it is disabled due to
errors.

While building a test platform based on the nRF9160 and a
Quectel BG95, it was discovered that the nRF9160 correctly
throws UART errors if the RX is enabled while the UART RX
line is low (which was due to the modem being powered
down).

The improvements should also help help remove the
"<wrn> modem_chat: receive buffer overrun" warning which
would occur during startup as the pipe was opened, but
nothing was receiving the data, causing the buffer to
overflow.

Signed-off-by: Bjarki Arge Andreasen <bjarkix123@gmail.com>
2023-09-06 09:35:34 +02:00
..
CMakeLists.txt drivers/modem: Add generic cellular modem driver 2023-08-30 13:48:51 +02:00
gsm_ppp.c drivers/modem/gsm_ppp.c: Remove direct call to PPP API 2023-08-10 16:23:39 +00:00
hl7800.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00
Kconfig drivers/modem: Add generic cellular modem driver 2023-08-30 13:48:51 +02:00
Kconfig.cellular drivers/modem: Add generic cellular modem driver 2023-08-30 13:48:51 +02:00
Kconfig.gsm drivers: modem: delay init priority 2023-08-24 15:35:37 +02:00
Kconfig.hl7800 modem: hl7800: ensure the modem inits with radio on 2023-08-18 10:13:30 +02:00
Kconfig.quectel-bg9x drivers: modem: quectel-bg9x: mdm unsol ready 2023-05-27 06:28:33 -04:00
Kconfig.simcom-sim7080 everywhere: fix typos 2022-03-14 20:22:24 -04:00
Kconfig.ublox-sara-r4 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.wncm14a2a kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
modem_cellular.c drivers/modem/modem_cellular.c: Improve bus pipe usage 2023-09-06 09:35:34 +02:00
modem_cmd_handler.c drivers: modem: cache delimiter string length 2023-07-13 09:23:05 +02:00
modem_cmd_handler.h doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_context.c doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_context.h doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_iface_uart.h doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_iface_uart_async.c kernel: Modify the signature of k_mem_slab_free() 2023-09-03 18:20:59 -04:00
modem_iface_uart_interrupt.c doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_receiver.c doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_receiver.h doc: Drop asterisk from Doxygen @param 2023-07-13 13:25:28 +00:00
modem_shell.c modem_shell: fix compilation error. 2023-06-26 08:31:42 +00:00
modem_socket.c drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
modem_socket.h drivers/modem/modem_socket: Updated API 2023-04-11 11:42:00 +02:00
quectel-bg9x.c drivers: modem: quectel-bg9x: fix reset BG95 mdm 2023-05-27 06:28:33 -04:00
quectel-bg9x.h drivers: modem: quectel-bg9x: fix reset BG95 mdm 2023-05-27 06:28:33 -04:00
simcom-sim7080.c drivers/modem sim7080 & ublox-sara: Fix link error 2023-05-04 20:50:11 +02:00
simcom-sim7080.h drivers/modem/modem_iface_uart: Update API 2023-04-11 11:42:00 +02:00
ublox-sara-r4.c modem: renames shadow variables 2023-08-10 08:14:43 +00:00
wncm14a2a.c drivers: gpio: use gpio_is_ready_dt helper function 2023-08-28 08:48:35 -05:00