Fork of ublox-cellular-base to add LARA-R2 support

Fork of ublox-cellular-base by u-blox

Files at this revision

API Documentation at this revision

Comitter:
Curt Black
Date:
Fri Oct 12 02:18:38 2018 -0500
Parent:
18:eb3480afeae0
Parent:
19:98e4136e3980
Commit message:
Merge

Changed in this revision

UbloxCellularBase.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r eb3480afeae0 -r 9fedc922868e UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp	Wed Sep 26 11:38:31 2018 -0500
+++ b/UbloxCellularBase.cpp	Fri Oct 12 02:18:38 2018 -0500
@@ -475,7 +475,7 @@
         // the modems cannot reliably auto-baud at faster rates.  The faster
         // rate is adopted later with a specific AT command and the
         // UARTSerial rate is adjusted at that time
-        if (baud > 115200) {
+        if (baud != 115200) {
             baud = 115200;
         }
         _fh = new UARTSerial(tx, rx, baud);
diff -r eb3480afeae0 -r 9fedc922868e UbloxCellularBase.h
--- a/UbloxCellularBase.h	Wed Sep 26 11:38:31 2018 -0500
+++ b/UbloxCellularBase.h	Fri Oct 12 02:18:38 2018 -0500
@@ -187,7 +187,7 @@
     #if MBED_CONF_UBLOX_CELL_GEN_DRV_AT_PARSER_TIMEOUT
     #define AT_PARSER_TIMEOUT       MBED_CONF_UBLOX_CELL_GEN_DRV_AT_PARSER_TIMEOUT
     #else
-    #define AT_PARSER_TIMEOUT       8*1000 // Milliseconds
+    #define AT_PARSER_TIMEOUT       55*1000 // Milliseconds
     #endif
 
     /** A string that would not normally be sent by the modem on the AT interface.