Version of easy-connect with the u-blox cellular platforms C027 and C030 added.

Dependents:   HelloMQTT

Files at this revision

API Documentation at this revision

Comitter:
rob.meades@u-blox.com
Date:
Thu Sep 14 09:42:14 2017 +0100
Parent:
4:72079f2401ea
Commit message:
Add N2xx as an option.

Changed in this revision

easy-connect.h Show annotated file Show diff for this revision Revisions of this file
--- a/easy-connect.h	Thu Aug 10 17:39:57 2017 +0100
+++ b/easy-connect.h	Thu Sep 14 09:42:14 2017 +0100
@@ -29,16 +29,21 @@
 RTWInterface wifi;
 
 #elif MBED_CONF_APP_NETWORK_INTERFACE == CELLULAR_UBLOX
-// Note: we use UbloxAtCellularInterfaceExt here but the same
-// example works with UbloxATCellularInterface or with UbloxPPPCellularInterface
+// Note: we use UbloxAtCellularInterfaceExt here but the
+// examples work with UbloxATCellularInterface,
+// UbloxPPPCellularInterface or UbloxATCellularInterfaceN2xx
+// (though noting that the N211 module supports only UDP and not TCP);
 // simply uncomment/comment the correct options in the next few lines
 #include "UbloxATCellularInterfaceExt.h"
 //#include "UbloxPPPCellularInterface.h"
 //#include "UbloxATCellularInterface.h"
+//#include "UbloxATCellularInterfaceN2xx.h"
 
-UbloxATCellularInterfaceExt cellular;
+// Parameters added to the call here simply to show how debug can be switched on
+UbloxATCellularInterfaceExt cellular(MDMTXD, MDMRXD, MBED_CONF_UBLOX_CELL_BAUD_RATE, true);
 //UbloxPPPCellularInterface cellular;
 //UbloxATCellularInterface cellular;
+//UbloxATCellularInterfaceN2xx cellular;
 #elif MBED_CONF_APP_NETWORK_INTERFACE == ETHERNET
 #include "EthernetInterface.h"
 EthernetInterface eth;