1.短信指令支持ftp开关修改

This commit is contained in:
payton 2023-12-11 15:53:46 +08:00
parent bb49625dbf
commit 36698eb868

View File

@ -591,10 +591,10 @@ UINT8 sf_message_data_processing(UINT8 strValue[30][32], UINT16 mm, UINT8 *sms_s
} }
//ftp forbidden set //ftp forbidden set
i++; i++;
/*
if(SF_STRNCMP(strValue[i], "ON", 2)== 0) 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) 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); printf("Error Format line:%d i=%d\n", __LINE__, i);
Readmmsok = SMS_STATUS_FORMAT_ERR; Readmmsok = SMS_STATUS_FORMAT_ERR;
} }
*/
//sms ctrl //sms ctrl
i++; i++;
if(SF_STRLEN(strValue[i]) == 1) if(SF_STRLEN(strValue[i]) == 1)