From 36698eb8687853a7f881eec0ea34eb3da95c5f12 Mon Sep 17 00:00:00 2001 From: payton Date: Mon, 11 Dec 2023 15:53:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=9F=AD=E4=BF=A1=E6=8C=87=E4=BB=A4=E6=94=AF?= =?UTF-8?q?=E6=8C=81ftp=E5=BC=80=E5=85=B3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/application/source/sf_app/code/source/4gMng/sf_sms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/application/source/sf_app/code/source/4gMng/sf_sms.c b/code/application/source/sf_app/code/source/4gMng/sf_sms.c index b918f74e4..255dc0c01 100755 --- a/code/application/source/sf_app/code/source/4gMng/sf_sms.c +++ b/code/application/source/sf_app/code/source/4gMng/sf_sms.c @@ -591,10 +591,10 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s } //ftp forbidden set i++; - /* + if(SF_STRNCMP(strValue[i], "ON", 2)== 0) { - pPara_sms_saved->FtpSwitch = 0; + pPara_sms_saved->FtpSwitch = 2; } else if(SF_STRNCMP(strValue[i], "OFF", 3)== 0) { @@ -605,7 +605,7 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s printf("Error Format line:%d i=%d\n", __LINE__, i); Readmmsok = SMS_STATUS_FORMAT_ERR; } - */ + //sms ctrl i++; if(SF_STRLEN(strValue[i]) == 1)