Costa / Mbed 2 deprecated MBED_SERVER

Dependencies:   mbed

Fork of MBED_SERVER_SETUP by Costa

Revision:
5:1056f0dfb3ba
Parent:
4:03a5f1c0e49a
Child:
6:01a64a6bc702
diff -r 03a5f1c0e49a -r 1056f0dfb3ba main.cpp
--- a/main.cpp	Fri Jun 17 10:31:05 2016 +0000
+++ b/main.cpp	Fri Jun 17 10:38:02 2016 +0000
@@ -48,7 +48,7 @@
  
 char ipAddress[20];
 char macAddress[32];
-char pedometer_channel[3];
+char pedometer_channel[1];
 char *buffer;
 unsigned int bufferPnt=0;
  
@@ -238,7 +238,7 @@
                     if (resp!=NULL) {
                        INFO("Testing connection");
                        state++; 
-                       dev.printf("AT+CIPSEND = %s , 6 \r\n",pedometer_channel);
+                       dev.printf("AT+CIPSEND=%s,6\r\n",pedometer_channel);
                     }
  
                      break;