Exclusive code for server communication

Dependencies:   mbed-rtos mbed

Fork of test_thread by GR_Peach_Abhinav_Rahul

Revision:
3:e8db31793029
Parent:
2:52ecf89221d3
Child:
4:fd0d5e707091
diff -r 52ecf89221d3 -r e8db31793029 main.cpp
--- a/main.cpp	Mon Jan 09 17:40:15 2017 +0000
+++ b/main.cpp	Mon Jan 09 17:42:39 2017 +0000
@@ -48,7 +48,9 @@
     wait(8);
     Wifi.puts("AT+CIPSEND=0,30\r\n");
     wait(8);
-    Wifi.printf("GET reneproj.esy.es/peach/index.php?device_token=jabv5su2&device_id=gr_peach1&command4u=00 HTTP/1.1\r\n");
+    Wifi.printf("GET reneproj.esy.es/");
+    Wifi.printf("peach/index.php?device_token=jabv5su2&device");
+    Wifi.printf("_id=gr_peach1&command4u=00 HTTP/1.1\r\n");
     wait(8);
     }