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

Dependents:   HelloMQTT

Revision:
5:9da11cf868d9
Parent:
4:72079f2401ea
Child:
6:304d3ba87a01
--- 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;