1.修復eg915q模塊讀短信問題

This commit is contained in:
payton 2023-09-04 09:55:32 +08:00
parent 59cc62fce6
commit 9df3d897dd

View File

@ -1721,7 +1721,11 @@ SINT32 sf_check_message(void)
char *temp = NULL;
char *delim;//
delim = "\"";
temp = strtok(strstr((const char *)gsmPara, strtmp), delim);
char *result = strstr((const char *)gsmPara, "+QCFG:");
if(result != NULL)
{
temp = strtok(strstr(result, strtmp), delim);
}
int mm = 0;
char strtmp[12][70] = { { 0 } };
@ -2153,7 +2157,7 @@ SINT32 sf_simcom_check_need_send(void)
}
/*************************************************
Function: sf_check_message
Function: sf_power_off_check_sms
Description: Check unread and read messages.
Input: N/A
Output: N/A