From: Denis Kenzior Date: Wed, 11 Jan 2012 12:36:14 +0000 (-0600) Subject: huawei: Setup CSCS on both ports X-Git-Tag: 1.3~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=908eadf4d1992e26b02388063f8465747e454e1e;p=platform%2Fupstream%2Fofono.git huawei: Setup CSCS on both ports --- diff --git a/plugins/huawei.c b/plugins/huawei.c index 5030e00..d57e795 100644 --- a/plugins/huawei.c +++ b/plugins/huawei.c @@ -554,6 +554,16 @@ static int huawei_enable(struct ofono_modem *modem) g_at_chat_send(data->modem, "ATE0 +CMEE=1", NULL, NULL, NULL, NULL); g_at_chat_send(data->pcui, "ATE0 +CMEE=1", NULL, NULL, NULL, NULL); + /* + * Ensure that the modem is using GSM character set and not IRA, + * otherwise weirdness with umlauts and other non-ASCII characters + * can result + */ + g_at_chat_send(data->modem, "AT+CSCS=\"GSM\"", none_prefix, + NULL, NULL, NULL); + g_at_chat_send(data->pcui, "AT+CSCS=\"GSM\"", none_prefix, + NULL, NULL, NULL); + data->sim_state = SIM_STATE_NOT_EXISTENT; /* Check for GSM capabilities */