Example using the UBLOX_C030_U201 board to communicate over a cellular link with Mbed Cloud.

Revision:
2:a34e80e223c2
Parent:
1:eabbeaa37715
--- a/main.cpp	Sun Oct 14 12:07:03 2018 +0000
+++ b/main.cpp	Sun Oct 14 17:06:16 2018 +0100
@@ -106,10 +106,10 @@
 
     // Connect to the internet (DHCP is expected to be on)
     printf("Connecting to the network using Cellular, please wait up to 180 seconds for a connection...\n");
-    
+
     // Connect to the internet (DHCP is expected to be on)
     net = NetworkInterface::get_default_instance();
-    
+
     nsapi_error_t status = net->connect();
 
     if (status != NSAPI_ERROR_OK) {
@@ -120,7 +120,7 @@
         printf("activated your board [once] at http://www.jtiotsims.com/ubxC030).\n");
         return -1;
     }
-    
+
     printf("Connected to the network successfully. IP address: %s\n", net->get_ip_address());
 
     // SimpleMbedCloudClient handles registering over LwM2M to Mbed Cloud
@@ -163,4 +163,4 @@
     // You can easily run the eventQueue in a separate thread if required
     eventQueue.dispatch_forever();
 }
-#endif
\ No newline at end of file
+#endif