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.
Diff: main.cpp
- Revision:
- 1:862d66d1ef8c
- Parent:
- 0:837203c8d865
- Child:
- 2:60ca1737aa47
--- a/main.cpp Sat Dec 05 08:29:20 2015 +0000
+++ b/main.cpp Sat Dec 05 14:43:35 2015 +0000
@@ -64,6 +64,9 @@
pc.printf("0x%x ", msg[i]);
pc.printf("\r\n");
free(msg);
+ char* acknowledge = "Data received OK";
+ client.write((uint8_t*)acknowledge, strlen(acknowledge));
+ pc.printf(acknowledge);
}
client.stop();
pc.printf("Client disconnected.\r\n");