Own fork of C027_Support

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of C027_Support by u-blox

Files at this revision

API Documentation at this revision

Comitter:
mazgch
Date:
Wed Oct 29 15:34:24 2014 +0000
Parent:
111:5f8807ca159a
Child:
113:7ade40675003
Commit message:
increase timeout after baudrate change

Changed in this revision

MDM.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.cpp	Wed Oct 22 10:21:49 2014 +0000
+++ b/MDM.cpp	Wed Oct 29 15:34:24 2014 +0000
@@ -343,7 +343,8 @@
     sendFormated("AT+IPR=115200\r\n");
     if (RESP_OK != waitFinalResp())
         goto failure;
-    wait_ms(40);
+    // wait some time until baudrate is applied
+    wait_ms(200); // SARA-G > 40ms
     // identify the module 
     sendFormated("ATI\r\n");
     if (RESP_OK != waitFinalResp(_cbATI, &_dev.dev))