Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of C027_Support_New 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) {