summaryrefslogtreecommitdiffstats
path: root/plugins/ifx.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2012-02-10 12:19:42 +0100
committerMarcel Holtmann <marcel@holtmann.org>2012-02-10 12:20:58 +0100
commite3ef803a750047545c56f540c558de4415a4cc37 (patch)
tree90b372a6ec7b6160ad3a7ef33556644f42d77c64 /plugins/ifx.c
parente5c966ce53a4e6ecf3b32804a4e9feb642496ff6 (diff)
downloadofono-e3ef803a750047545c56f540c558de4415a4cc37.tar.bz2
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.
Diffstat (limited to 'plugins/ifx.c')
-rw-r--r--plugins/ifx.c4
1 files changed, 4 insertions, 0 deletions
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);