Separate ATE and AT+CMEE commands

The TOBY L4 doesn't seem to like seeing these two commands on the same
line...
This commit is contained in:
Jonas Bonn 2019-03-13 22:35:59 +01:00 committed by Denis Kenzior
parent 85c64b1784
commit e6b7a2fd2d
1 changed files with 3 additions and 1 deletions

View File

@ -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,