example-ublox-cellular-interface_test
Dependencies: ublox-at-cellular-interface ublox-cellular-base ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx
Diff: main.cpp
- Revision:
- 10:1f35371d572d
- Parent:
- 8:3e170c40a284
- Child:
- 13:d31b8735cca8
diff -r e5d1cc4fd9fa -r 1f35371d572d main.cpp --- 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,