We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc01546 commit f728e35Copy full SHA for f728e35
1 file changed
src/GPRS.cpp
@@ -67,14 +67,14 @@ Result openGPRSContext(SIM800 *sim800, const char *apn)
67
}
68
69
70
- if (sim800->sendCmdAndWaitForResp_P(BEARER_PROFILE_GPRS, AT_OK, 8000) == FALSE)
+ if (sim800->sendCmdAndWaitForResp_P(BEARER_PROFILE_GPRS, AT_OK, 10000) == FALSE)
71
result = ERROR_BEARER_PROFILE_GPRS;
72
73
char httpApn[64];
74
char tmp[24];
75
strcpy_P(tmp, apn);
76
sprintf_P(httpApn, BEARER_PROFILE_APN, tmp);
77
- if (sim800->sendCmdAndWaitForResp(httpApn, AT_OK_, 6000) == FALSE)
+ if (sim800->sendCmdAndWaitForResp(httpApn, AT_OK_, 8000) == FALSE)
78
result = ERROR_BEARER_PROFILE_APN;
79
80
while (sim800->sendCmdAndWaitForResp_P(QUERY_BEARER, BEARER_OPEN, 6000) == FALSE && attempts < MAX_ATTEMPTS)
0 commit comments