Sample project to connect to AT&T M2X from the STM32 Nucleo + MTS WiFi shield

Dependencies:   M2XStreamClient SocketModem jsonlite mbed

Fork of STM32_MTS_Wifi_Connect_M2X by AT&T Developer Summit Hackathon 2016

Revision:
16:921fec88838d
Parent:
14:df2fe4b77d83
--- a/main.cpp	Fri Jul 25 16:36:12 2014 +0000
+++ b/main.cpp	Tue Aug 19 19:12:11 2014 +0000
@@ -102,12 +102,8 @@
     printf("updateLocation response code: %d\r\n", response);
     if (response == -1) while (true) ;
     
-    response = m2xClient.updateLocation(feed, name, latitude, longitude, elevation);
-    printf("updateLocation response code: %d\r\n", response);
-    if (response == -1) while (true) ;    
-            
-    //while(0)    
-    for (int i = 0; i < 5; i++)
+    //for (int i = 0; i < 5; i++)
+    while(1)    
     {    
         myled = 1; // LED is ON    
         a = tempSensor.read_u16();