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
Revision 10:1f35371d572d, committed 2017-06-14
- Comitter:
- RobMeades
- Date:
- Wed Jun 14 10:28:45 2017 +0000
- Parent:
- 9:e5d1cc4fd9fa
- Child:
- 11:62d094ea3a0d
- Commit message:
- Fix bug with use of NETWORK_INTERFACE macro.
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jun 14 09:30:51 2017 +0000 +++ b/main.cpp Wed Jun 14 10:28:45 2017 +0000 @@ -21,7 +21,7 @@ // If you wish to use LWIP and the PPP cellular interface, select // the line UbloxPPPCellularInterface, otherwise select the line // UbloxATCellularInterface. Using the AT cellular interface does not -// require LWIP and hence uses less RAM (significant on C027. It also +// require LWIP and hence uses less RAM (significant on C027). It also // allows other AT command operations (e.g. sending an SMS) to happen // during a data transfer. #define INTERFACE_CLASS UbloxATCellularInterface @@ -121,7 +121,7 @@ int main() { - INTERFACE_CLASS *interface = new UbloxATCellularInterface(); + INTERFACE_CLASS *interface = new INTERFACE_CLASS(); // If you need to debug the cellular interface, comment out the // instantiation above and uncomment the one below. // INTERFACE_CLASS *interface = new INTERFACE_CLASS(MDMTXD, MDMRXD,