zephyr/drivers/modem
Thomas LE ROUX f360718d0b drivers: modem: Fix PDP context management for BG9X
The PDP context might be active.
If that's the case, the AT+QIACT command returns an error.
It's then not possible to succeed at setting up the module.

Furthermore, we apply the logic described in the Quectel Documentation :
- If there is an issue 3 consecutive times on activating/deactivating
the context, we restart the module.
- If the AT+QIDEAT command returns an error, we restart the module.

This PR is bug-fix aimed.
We leave parameterization of context ID for future enhancement.

Signed-off-by: Thomas LE ROUX <thomas.leroux@smile.fr>
2021-02-23 12:01:27 +02:00
..
CMakeLists.txt drivers: modem: Add support for quectel bg95 2020-12-01 17:43:59 -05:00
Kconfig drivers: modem: Add support for quectel bg95 2020-12-01 17:43:59 -05:00
Kconfig.gsm
Kconfig.hl7800
Kconfig.quectel-bg9x drivers: modem: Add support for quectel bg95 2020-12-01 17:43:59 -05:00
Kconfig.ublox-sara-r4 drivers: modem: ublox-sara-r4: Convert driver to new DT device macros 2021-02-15 08:31:52 -05:00
Kconfig.wncm14a2a
gsm_ppp.c
hl7800.c drivers: modem: hl7800: Convert driver to new DT device macros 2021-02-15 08:31:52 -05:00
modem_cmd_handler.c drivers: modem: fix sending with zero timeout and no semaphore 2020-12-07 10:25:56 +02:00
modem_cmd_handler.h drivers: modem: modem_cmd_handler: Allow dynamic number of commands args 2020-12-03 17:37:48 -05:00
modem_context.c
modem_context.h
modem_iface_uart.c
modem_iface_uart.h
modem_pin.c
modem_receiver.c
modem_receiver.h
modem_shell.c
modem_socket.c modem: fix socket descriptor leak 2021-01-07 10:36:19 +02:00
modem_socket.h
quectel-bg9x.c drivers: modem: Fix PDP context management for BG9X 2021-02-23 12:01:27 +02:00
quectel-bg9x.h drivers: modem: Fix PDP context management for BG9X 2021-02-23 12:01:27 +02:00
ublox-sara-r4.c drivers: modem: ublox-sara-r4: Convert driver to new DT device macros 2021-02-15 08:31:52 -05:00
wncm14a2a.c drivers: modem: wncm14a2a: Convert driver to new DT device macros 2021-02-15 08:31:52 -05:00