ublox-cellular-base-SARA-R5

Dependents:   example-ublox-cellular-psm

Files at this revision

API Documentation at this revision

Comitter:
fahimalavi
Date:
Fri Jun 26 09:49:08 2020 +0500
Parent:
38:b33dc3d26690
Commit message:
SARA-R5 after first demo of u-track FW

Changed in this revision

UbloxCellularBase.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r b33dc3d26690 -r 945019c3d194 UbloxCellularBase.cpp
--- a/UbloxCellularBase.cpp	Wed Feb 12 15:45:55 2020 +0500
+++ b/UbloxCellularBase.cpp	Fri Jun 26 09:49:08 2020 +0500
@@ -277,6 +277,7 @@
 
     // Set up SMS format and enable URC
     // AT Command Manual UBX-13002752, section 11
+#if 0 // SARA-R5 changes
     if (_at->send("AT+CMGF=1") && _at->recv("OK")) {
         tr_debug("SMS in text mode");
         if (_at->send("AT+CNMI=2,1") && _at->recv("OK")) {
@@ -295,6 +296,9 @@
             }
         }
     }
+#else // SARA-R5 changes
+    success = true;
+#endif
 
     UNLOCK();
     return success;
@@ -530,7 +534,11 @@
         if (baud > 115200) {
             baud = 115200;
         }
+#if 0 // SARA-R5
+        _fh = new UARTSerial(tx, rx, 0);
+#else
         _fh = new UARTSerial(tx, rx, baud);
+#endif
 
         // Set up the AT parser
 #ifdef TARGET_UBLOX_C030_R41XM