FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-aci/aci/ati_sms.c @ 788:e899a10f3d4d
ati_sms.c done
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Thu, 12 Mar 2015 07:53:35 +0000 |
parents | eedbf248bac0 |
children |
comparison
equal
deleted
inserted
replaced
787:0b85dd2dec6a | 788:e899a10f3d4d |
---|---|
18 +----------------------------------------------------------------------------- | 18 +----------------------------------------------------------------------------- |
19 */ | 19 */ |
20 | 20 |
21 #ifndef ATI_SMS_C | 21 #ifndef ATI_SMS_C |
22 #define ATI_SMS_C | 22 #define ATI_SMS_C |
23 | |
24 #include "config.h" | |
25 #include "fixedconf.h" | |
26 #include "condat-features.h" | |
27 #include "aci_conf.h" | |
23 | 28 |
24 #undef DUMMY_ATI_STRINGS | 29 #undef DUMMY_ATI_STRINGS |
25 | 30 |
26 #include "aci_all.h" | 31 #include "aci_all.h" |
27 | 32 |
1737 } | 1742 } |
1738 /* | 1743 /* |
1739 * rCI_OK will emitting +CMGS: <mr>[,<scts>] | 1744 * rCI_OK will emitting +CMGS: <mr>[,<scts>] |
1740 */ | 1745 */ |
1741 | 1746 |
1742 | |
1743 | |
1744 return (ATI_EXCT); | 1747 return (ATI_EXCT); |
1745 } | 1748 } |
1746 } | 1749 } |
1747 | 1750 |
1748 | 1751 |
2752 * The source ID issuing the CNMI command is stored and henceforth | 2755 * The source ID issuing the CNMI command is stored and henceforth |
2753 * all the unsolicited SMS indications are sent to this source | 2756 * all the unsolicited SMS indications are sent to this source |
2754 *----------------------------------------------------------------- | 2757 *----------------------------------------------------------------- |
2755 */ | 2758 */ |
2756 if(srcId NEQ CMD_SRC_LCL) | 2759 if(srcId NEQ CMD_SRC_LCL) |
2757 smsShrdPrm.smsSrcId = (T_ACI_CMD_SRC)srcId; | 2760 smsShrdPrm.smsSrcId = (T_ACI_CMD_SRC)srcId; |
2758 | 2761 |
2759 if ( bfr NEQ CNMI_BFR_NotPresent ) | 2762 if ( bfr NEQ CNMI_BFR_NotPresent ) |
2760 at.CNMI_bfr = ( UBYTE ) bfr; | 2763 at.CNMI_bfr = ( UBYTE ) bfr; |
2761 | 2764 |
2762 if ( mode NEQ CNMI_MOD_NotPresent ) | 2765 if ( mode NEQ CNMI_MOD_NotPresent ) |