Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed
Fork of MBED_SERVER_SETUP by
Diff: main.cpp
- Revision:
- 5:1056f0dfb3ba
- Parent:
- 4:03a5f1c0e49a
- Child:
- 6:01a64a6bc702
--- 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;
