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 by
Diff: MDM.cpp
- Revision:
- 127:4df82b52f834
- Parent:
- 126:76b578ec2912
diff -r 76b578ec2912 -r 4df82b52f834 MDM.cpp
--- a/MDM.cpp Fri May 22 08:54:47 2015 +0000
+++ b/MDM.cpp Wed Jun 17 12:51:56 2015 +0000
@@ -717,7 +717,9 @@
if (_dev.dev == DEV_LISA_N100) {
// Neul modem --------------------------
sendFormated("AT+RAS\r\n");
- if (RESP_OK != waitFinalResp(_cbRAS, &ok))
+ if (waitFinalResp(_cbRAS, &ok))
+ waitFinalResp(NULL); // Must wait for the OK string also
+ if (!ok)
goto failure;
if (ok) {
_net.psd = REG_HOME;
