r1307 - trunk/src/target/gsm/src/gsmd

laforge at sita.openmoko.org laforge at sita.openmoko.org
Fri Mar 9 17:39:07 CET 2007


Author: laforge
Date: 2007-03-09 17:39:05 +0100 (Fri, 09 Mar 2007)
New Revision: 1307

Modified:
   trunk/src/target/gsm/src/gsmd/gsmd.c
   trunk/src/target/gsm/src/gsmd/vendor_ti.c
Log:
move CTZR into vendor_ti.c, since not all GSM Modems support it (Philipp Zabel)


Modified: trunk/src/target/gsm/src/gsmd/gsmd.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/gsmd.c	2007-03-09 15:45:53 UTC (rev 1306)
+++ trunk/src/target/gsm/src/gsmd/gsmd.c	2007-03-09 16:39:05 UTC (rev 1307)
@@ -76,8 +76,6 @@
 	rc |= gsmd_simplecmd(gsmd, "AT+CLIP=1");
 	/* use +COLP: to indicate COLP */
 	rc |= gsmd_simplecmd(gsmd, "AT+COLP=1");
-	/* use +CTZR: to report time zone changes */
-	rc |= gsmd_simplecmd(gsmd, "AT+CTZR=1");
 	/* power on the phone */
 	rc |= gsmd_simplecmd(gsmd, "AT+CFUN=1");
 

Modified: trunk/src/target/gsm/src/gsmd/vendor_ti.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/vendor_ti.c	2007-03-09 15:45:53 UTC (rev 1306)
+++ trunk/src/target/gsm/src/gsmd/vendor_ti.c	2007-03-09 16:39:05 UTC (rev 1307)
@@ -244,6 +244,8 @@
 static int ticalypso_initsettings(struct gsmd *g)
 {
 	int rc;
+	/* use +CTZR: to report time zone changes */
+	rc |= gsmd_simplecmd(gsmd, "AT+CTZR=1");
 	/* enable %CPI: call progress indication */
 	rc = gsmd_simplecmd(g, "AT\%CPI=3");
 	/* enable %CPRI: ciphering indications */





More information about the commitlog mailing list