final 1
Fork of C027_Support by
Diff: MDM.cpp
- Revision:
- 101:edfeb8af206e
- Parent:
- 99:3116d3e900ed
- Child:
- 102:fb982ff9da82
--- a/MDM.cpp Tue Jul 01 05:46:06 2014 +0000 +++ b/MDM.cpp Tue Jul 01 06:41:26 2014 +0000 @@ -309,12 +309,11 @@ pin = 1; ::wait_ms(100); // purge any messages - while (WAIT != waitFinalResp(NULL,NULL,0)) - /* nothing */; + purge(); - // check interface and disable local echo + // check interface sendFormated("AT\r\n"); - int r = waitFinalResp(NULL,NULL,500); + int r = waitFinalResp(NULL,NULL,1000); if(RESP_OK == r) break; } if (i < 0) {