zephyr/drivers/modem
Michael Scott e934825719 drivers: modem: sara-r4: fix APN setting for U2 modem
usage of AT+UPSD command per UBX-17003787(R15) command reference is:
AT+UPSD=<profile_id>, <param_tag>, <param_val>

For AT+UPSD=0, 1, "<value>": we are setting value to MCCMNO, which
is technically incorrect.  <param_tag> of 1 means:

1: APN - <param_val> defines the APN text string, e.g.
"apn.provider.com"; the maximum length is 99. The factory-programmed
value is an empty string.

Let's use APN here instead.  This fixes a +CME ERROR: 113 when
connecting with U2 modem.

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

Signed-off-by: Michael Scott <mike@foundries.io>
2020-02-10 20:00:15 +02:00
..
CMakeLists.txt drivers: modem: Support GSM modems and PPP 2020-01-28 12:44:17 +02:00
gsm_ppp.c drivers: modem: gsm: Command handlers should return value 2020-02-10 19:52:33 +02:00
Kconfig drivers: modem: Support GSM modems and PPP 2020-01-28 12:44:17 +02:00
Kconfig.gsm drivers: modem: gsm: Add setting of MCC number 2020-02-10 12:32:24 +02:00
Kconfig.ublox-sara-r4 drivers: modem: sara-r4: support for network indication on SARA modems 2020-02-10 12:29:41 +02:00
Kconfig.wncm14a2a
modem_cmd_handler.c drivers: modem: cmd_handler: add return value to modem commands 2020-02-10 12:29:41 +02:00
modem_cmd_handler.h drivers: modem: cmd_handler: add return value to modem commands 2020-02-10 12:29:41 +02:00
modem_context.c
modem_context.h drivers: modem: Fix gpio compile errors with modem shell 2020-02-06 12:33:20 +02:00
modem_iface_uart.c
modem_iface_uart.h
modem_pin.c drivers: modem: Fix gpio compile errors with modem shell 2020-02-06 12:33:20 +02:00
modem_receiver.c
modem_receiver.h
modem_shell.c
modem_socket.c drivers: modem: socket: add is_connected field to modem_socket 2020-02-10 12:29:41 +02:00
modem_socket.h drivers: modem: socket: add is_connected field to modem_socket 2020-02-10 12:29:41 +02:00
ublox-sara-r4.c drivers: modem: sara-r4: fix APN setting for U2 modem 2020-02-10 20:00:15 +02:00
wncm14a2a.c drivers: modem: wncm14a2a: Convert to the new GPIO API 2020-02-05 12:00:36 +01:00