changeset 788:e899a10f3d4d

ati_sms.c done
author Space Falcon <falcon@ivan.Harhan.ORG>
date Thu, 12 Mar 2015 07:53:35 +0000
parents 0b85dd2dec6a
children beb8e9851a07
files gsm-fw/g23m-aci/aci/Makefile gsm-fw/g23m-aci/aci/ati_sms.c
diffstat 2 files changed, 7 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/aci/Makefile	Thu Mar 12 07:40:46 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/Makefile	Thu Mar 12 07:53:35 2015 +0000
@@ -9,7 +9,7 @@
 	aci_tim.o aci_util.o aoc.o \
 	ati_bas.o ati_cc.o ati_cmd.o ati_cphs.o ati_csc.o ati_dti.o ati_em.o \
 	ati_em_ret.o ati_err.o ati_io.o ati_mm.o ati_mmi.o ati_pdu.o ati_phb.o \
-	ati_prs.o ati_ret.o ati_sat.o ati_sim.o
+	ati_prs.o ati_ret.o ati_sat.o ati_sim.o ati_sms.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-aci/aci/ati_sms.c	Thu Mar 12 07:40:46 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/ati_sms.c	Thu Mar 12 07:53:35 2015 +0000
@@ -21,6 +21,11 @@
 #ifndef ATI_SMS_C
 #define ATI_SMS_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+#include "aci_conf.h"
+
 #undef DUMMY_ATI_STRINGS
 
 #include "aci_all.h"
@@ -1739,8 +1744,6 @@
      *  rCI_OK will emitting +CMGS: <mr>[,<scts>]
      */
 
-
-    
     return (ATI_EXCT);
   }
 }
@@ -2754,7 +2757,7 @@
    *-----------------------------------------------------------------
    */
   if(srcId NEQ CMD_SRC_LCL)
-	  smsShrdPrm.smsSrcId = (T_ACI_CMD_SRC)srcId;
+    smsShrdPrm.smsSrcId = (T_ACI_CMD_SRC)srcId;
 
   if ( bfr  NEQ CNMI_BFR_NotPresent )
     at.CNMI_bfr  = ( UBYTE ) bfr;