Telit does not support AT+CGAUTO, use AT#AUTOATT=0 instead.
---
drivers/atmodem/gprs.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/drivers/atmodem/gprs.c b/drivers/atmodem/gprs.c
index 65a8b7b..f87548e 100644
--- a/drivers/atmodem/gprs.c
+++ b/drivers/atmodem/gprs.c
@@ -342,7 +342,13 @@ retry:
goto error;
g_at_chat_send(gd->chat, cmd, none_prefix, NULL, NULL, NULL);
- g_at_chat_send(gd->chat, "AT+CGAUTO=0", none_prefix, NULL, NULL, NULL);
+
+ /* Telit does not support AT+CGAUTO */
+ if (gd->vendor == OFONO_VENDOR_TELIT)
+ cmd = "AT#AUTOATT=0";
+ else
+ cmd = "AT+CGAUTO=0";
+ g_at_chat_send(gd->chat, cmd, none_prefix, NULL, NULL, NULL);
switch (gd->vendor) {
case OFONO_VENDOR_MBM:
--
1.7.7.6
--
Scanned by MailScanner.
_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono