Example program that uses the mbed UbloxATCellularInterface or OnboardCellularInterface classes to perform simple sockets operations. This program can be used on the C027 and C030 boards, including the C030 N2xx version with a little editing.

Dependencies:   ublox-at-cellular-interface ublox-cellular-base ublox-cellular-base-n2xx ublox-at-cellular-interface-n2xx

Revision:
30:4e55e975dd0b
Parent:
28:e33af9f1ce3e
Child:
31:4a36566b5385
--- a/main.cpp	Thu Sep 14 10:44:39 2017 +0100
+++ b/main.cpp	Thu Sep 14 11:06:41 2017 +0100
@@ -47,7 +47,7 @@
 #define PIN "0000"
 
 // Network credentials.  You should set this according to your
-// network/SIM card.  For C030 boards, leave the parameters as NULL
+// network/SIM card.  For C030 non-N2xx boards, leave the parameters as NULL
 // otherwise, if you do not know the APN for your network, you may
 // either try the fairly common "internet" for the APN (and leave the
 // username and password NULL), or you may leave all three as NULL and then
@@ -125,7 +125,7 @@
 
 /* This example program for the u-blox C030 and C027 boards instantiates
  * the UbloxAtCellularInterface or UbloxPPPCellularInterface and uses it
- *  to make a simple sockets connection to a server, using 2.pool.ntp.org
+ * to make a simple sockets connection to a server, using 2.pool.ntp.org
  * for UDP and developer.mbed.org for TCP.  For a more comprehensive example,
  * where higher layer protocols make use of the same sockets interface,
  * see example-ublox-mbed-client.