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.
Dependencies: DS1820 HighSpeedAnalogIn devices mbed
Diff: serialModem.cpp
- Revision:
- 30:8a06a85d8807
- Parent:
- 21:b9315cdd9275
- Child:
- 34:348991c54ff3
diff -r 823a9da3696b -r 8a06a85d8807 serialModem.cpp
--- a/serialModem.cpp	Thu May 24 00:42:23 2018 +0000
+++ b/serialModem.cpp	Fri May 25 23:46:10 2018 +0000
@@ -23,7 +23,7 @@
 void serialModem::configBaud(){       
     uint32_t baud = 9600;    
     modem.baud(baud);    
-    while((!modemCom::sendToModem("ATE0\r\n",1,&modemCom::status.OK,NULL,30,1,1))&&(baud <= 230400)){
+    while((!modemCom::sendToModem("ATE0\r\n",1,&modemCom::status.OK,NULL,100,2,1))&&(baud <= 230400)){
         baud += 9600;
         pc.printf("\r\n Tentando %lu.\r\n",baud);
         modem.baud(baud);