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: ublox-at-cellular-interface-n2xx ublox-at-cellular-interface ublox-cellular-base-n2xx ublox-cellular-base ublox-ppp-cellular-interface
Fork of example-ublox-cellular-interface by
Diff: main.cpp
- Revision:
- 31:4a36566b5385
- Parent:
- 30:4e55e975dd0b
- Child:
- 32:bdc45c7052cc
diff -r 4e55e975dd0b -r 4a36566b5385 main.cpp
--- a/main.cpp Thu Sep 14 11:06:41 2017 +0100
+++ b/main.cpp Thu Sep 28 09:22:35 2017 +0100
@@ -19,9 +19,9 @@
#include "UbloxPPPCellularInterface.h"
#include "UbloxATCellularInterfaceN2xx.h"
-// You must select the correct interface library for your board,
-// where supported combinations are indicated with a "Y" in the
-// table below.
+// You must select the correct interface library for your board, by
+// uncommenting the correct line below. Supported combinations are
+// indicated with a "Y" in the table below.
//
// C030_U201 C030_N211 C027
// UbloxPPPCellularInterface Y - Y
@@ -140,8 +140,10 @@
INTERFACE_CLASS *interface = new INTERFACE_CLASS();
// If you need to debug the cellular interface, comment out the
// instantiation above and uncomment the one below.
+ // For the N2xx interface, change xxx to MBED_CONF_UBLOX_CELL_BAUD_RATE,
+ // while for the non-N2xx interface change it to MBED_CONF_UBLOX_CELL_N2XX_BAUD_RATE.
// INTERFACE_CLASS *interface = new INTERFACE_CLASS(MDMTXD, MDMRXD,
-// MBED_CONF_UBLOX_CELL_BAUD_RATE,
+// xxx,
// true);
#ifndef TARGET_UBLOX_C030_N211
TCPSocket sockTcp;
