1.修復eg915q模塊讀短信問題
This commit is contained in:
parent
59cc62fce6
commit
9df3d897dd
|
@ -1721,7 +1721,11 @@ SINT32 sf_check_message(void)
|
||||||
char *temp = NULL;
|
char *temp = NULL;
|
||||||
char *delim;//
|
char *delim;//
|
||||||
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;
|
int mm = 0;
|
||||||
char strtmp[12][70] = { { 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.
|
Description: Check unread and read messages.
|
||||||
Input: N/A
|
Input: N/A
|
||||||
Output: N/A
|
Output: N/A
|
||||||
|
|
Loading…
Reference in New Issue
Block a user