From e3ef803a750047545c56f540c558de4415a4cc37 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Fri, 10 Feb 2012 12:19:42 +0100 Subject: [PATCH] ifx: Setup CSCS to use GSM for the aux port This change is needed since otherwise umlauts and other characters for USSD responses will not work properly. --- plugins/ifx.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/ifx.c b/plugins/ifx.c index d1b622c5..552b4614 100644 --- a/plugins/ifx.c +++ b/plugins/ifx.c @@ -308,6 +308,10 @@ static void xgendata_query(gboolean ok, GAtResult *result, gpointer user_data) DBG("\n%s", gendata); + /* switch to GSM character set instead of IRA */ + g_at_chat_send(data->dlcs[AUX_DLC], "AT+CSCS=\"GSM\"", none_prefix, + NULL, NULL, NULL); + /* disable UART for power saving */ g_at_chat_send(data->dlcs[AUX_DLC], "AT+XPOW=0,0,0", none_prefix, NULL, NULL, NULL);