From: Lars Poeschel <poesc...@lemonage.de> Because the Quectel EC21 does not understand the AT+QIURC command, we leave that out during initialisation. --- plugins/quectel.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/plugins/quectel.c b/plugins/quectel.c index 9ff75516..574de44e 100644 --- a/plugins/quectel.c +++ b/plugins/quectel.c @@ -772,8 +772,14 @@ static void setup_aux(struct ofono_modem *modem) DBG("%p", modem); g_at_chat_set_slave(data->modem, data->aux); - g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1; +QIURC=0", none_prefix, - NULL, NULL, NULL); + + if (data->model == QUECTEL_EC21) + g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1", none_prefix, + NULL, NULL, NULL); + else + g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1; +QIURC=0", + none_prefix, NULL, NULL, NULL); + g_at_chat_send(data->aux, "AT+CFUN?", cfun_prefix, cfun_query, modem, NULL); } -- 2.26.2 _______________________________________________ ofono mailing list -- ofono@ofono.org To unsubscribe send an email to ofono-le...@ofono.org