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.
Dependents: example-ublox-cellular-psm
Revision 39:945019c3d194, committed 2020-06-26
- 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 |
--- 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