summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorJonas Bonn <jonas@norrbonn.se>2019-03-13 22:35:59 +0100
committerDenis Kenzior <denkenz@gmail.com>2019-03-13 16:39:25 -0500
commite6b7a2fd2d655f8d6cd881f747b5a5c09367cb58 (patch)
tree14dc1817c1ae19a6138fc3aafc6b7a24041c8f3f /plugins
parent85c64b17843e50fb30b5003dc202c1b8243f876d (diff)
downloadofono-e6b7a2fd2d655f8d6cd881f747b5a5c09367cb58.tar.gz
Separate ATE and AT+CMEE commands
The TOBY L4 doesn't seem to like seeing these two commands on the same line...
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ublox.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/ublox.c b/plugins/ublox.c
index d99f5c45..10660ff0 100644
--- a/plugins/ublox.c
+++ b/plugins/ublox.c
@@ -282,7 +282,9 @@ static int ublox_enable(struct ofono_modem *modem)
/* The modem can take a while to wake up if just powered on. */
g_at_chat_set_wakeup_command(data->aux, "AT\r", 1000, 11000);
- g_at_chat_send(data->aux, "ATE0 +CMEE=1", none_prefix,
+ g_at_chat_send(data->aux, "ATE0", none_prefix,
+ NULL, NULL, NULL);
+ g_at_chat_send(data->aux, "AT+CMEE=1", none_prefix,
NULL, NULL, NULL);
if (g_at_chat_send(data->aux, "AT+CGMM", NULL,