From 54119f964d25ebeef9a0f300c5e7edb7f0269a23 Mon Sep 17 00:00:00 2001 From: tick Date: Mon, 12 Nov 2007 09:39:37 +0000 Subject: gsmd: Adding hang up control(Andrew & Tick) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3391 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/gsmd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c index 51b4f2c..65254ed 100644 --- a/src/gsmd/gsmd.c +++ b/src/gsmd/gsmd.c @@ -184,10 +184,9 @@ static int gsmd_initsettings2(struct gsmd *gsmd) /* configure message format as PDU mode*/ /* FIXME: TEXT mode support!! */ rc |= gsmd_simplecmd(gsmd, "AT+CMGF=0"); -#if 0 - /* Select TE character set */ - rc |= gsmd_simplecmd(gsmd, "AT+CSCS=\"UCS2\""); -#endif + /* ATH disconnects voice calls */ + rc |= gsmd_simplecmd(gsmd, "AT+CVHU=0"); + sms_cb_init(gsmd); -- cgit v1.2.3