Hi Pekka,
---
plugins/huawei.c | 44 +++++++++++++++++++++++++++++++++++++-------
1 files changed, 37 insertions(+), 7 deletions(-)
diff --git a/plugins/huawei.c b/plugins/huawei.c
index fc331ff..4869294 100644
--- a/plugins/huawei.c
+++ b/plugins/huawei.c
@@ -351,7 +351,7 @@ static int huawei_enable(struct ofono_modem *modem)
g_at_chat_send(data->pcui, "ATE0", none_prefix, NULL, NULL, NULL);
- g_at_chat_send(data->pcui, "AT+CFUN=1", none_prefix,
+ g_at_chat_send(data->pcui, "AT+CFUN=4", none_prefix,
cfun_enable, modem, NULL);
this is exactly the one that doesn't work this way. You can't get from
CFUN=4 back into CFUN=1, but from CFUN=5 into CFUN=1. It seems that
Huawei has a few different online/offline modes and you can't switch as
you like. Only a few certain combination will work.
Regards
Marcel