From 25d5ef89ffc6dfa3eae3af33c335aa6bfec795a4 Mon Sep 17 00:00:00 2001 From: mickey Date: Wed, 16 May 2007 10:32:07 +0000 Subject: gsmd: power off the phone when gsmd starts up to have a consistent starting point git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1964 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/gsmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/gsmd/gsmd.c b/src/gsmd/gsmd.c index e2ecaa7..62eb2e0 100644 --- a/src/gsmd/gsmd.c +++ b/src/gsmd/gsmd.c @@ -76,8 +76,8 @@ int gsmd_initsettings(struct gsmd *gsmd) rc |= gsmd_simplecmd(gsmd, "AT+CLIP=1"); /* use +COLP: to indicate COLP */ rc |= gsmd_simplecmd(gsmd, "AT+COLP=1"); - /* power on the phone */ - rc |= gsmd_simplecmd(gsmd, "AT+CFUN=1"); + /* power off the phone */ + rc |= gsmd_simplecmd(gsmd, "AT+CFUN=0"); /* configure message format as PDU mode*/ /* FIXME: TEXT mode support!! */ rc |= gsmd_simplecmd(gsmd, "AT+CMGF=0"); -- cgit v1.2.3