this is a direct fork of example-ublox-cellular-interface that adds support for USBSerial, and leverages the geneva-cellular-driver library.
Dependencies: ublox-at-cellular-interface ublox-cellular-base
Diff: main.cpp
- Revision:
- 31:4a36566b5385
- Parent:
- 30:4e55e975dd0b
- Child:
- 32:bdc45c7052cc
--- 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;