zephyr/drivers/modem
Tomi Fontanilles f380fcc52f drivers: modem_cellular: fix handling of `+C*REG` answers
`+C*REG:` may be received as AT read command answer
or unsolicited notification.
Their syntax differs, and even the overall parameter count varies
depending on what `<n>` is used in the `AT+CEREG=` write command.

To handle all cases properly, check the parameter count and
the presence of the `<tac>` parameter (which is a string and
thus begins with `"`) to figure out what is the position of `<stat>`.

Signed-off-by: Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
2024-10-30 08:54:17 -05:00
..
CMakeLists.txt
Kconfig
Kconfig.at_shell
Kconfig.cellular
Kconfig.hl7800
Kconfig.quectel-bg9x
Kconfig.simcom-sim7080
Kconfig.ublox-sara-r4
Kconfig.wncm14a2a
hl7800.c
modem_at_shell.c
modem_cellular.c
modem_cmd_handler.c
modem_cmd_handler.h
modem_context.c
modem_context.h
modem_iface_uart.h
modem_iface_uart_async.c
modem_iface_uart_interrupt.c
modem_receiver.c
modem_receiver.h
modem_shell.c
modem_socket.c
modem_socket.h
quectel-bg9x.c
quectel-bg9x.h
simcom-sim7080.c
simcom-sim7080.h
ublox-sara-r4.c
wncm14a2a.c