First version work in progress
Dependencies: SDFileSystem WIZnetInterface mbed
Revision 1:fa7f5224886b, committed 2017-09-30
- Comitter:
- erlingl
- Date:
- Sat Sep 30 15:28:45 2017 +0000
- Parent:
- 0:c33e29e4e5ee
- Child:
- 2:348703f5ce0e
- Commit message:
- first commit
Changed in this revision
--- a/SDFileSystem.lib Sat Sep 30 13:38:47 2017 +0000 +++ b/SDFileSystem.lib Sat Sep 30 15:28:45 2017 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/SDFileSystem/#c806181804a1 +http://mbed.org/users/mbed_official/code/SDFileSystem/#8f9277284576
--- a/WIZnetInterface.lib Sat Sep 30 13:38:47 2017 +0000 +++ b/WIZnetInterface.lib Sat Sep 30 15:28:45 2017 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/WIZnet/code/WIZnetInterface/#c91884bd2713 +http://developer.mbed.org/teams/WIZnet/code/WIZnetInterface/#c830d2e7e0f5
--- a/main.cpp Sat Sep 30 13:38:47 2017 +0000
+++ b/main.cpp Sat Sep 30 15:28:45 2017 +0000
@@ -5,6 +5,7 @@
#include <string.h>
+//#define MAC "\x00\x08\xDC\x11\x34\x78"
#define MAC "\x00\x08\xDC\x00\x01\x02"
#define IP "192.168.77.100"
#define MASK "255.255.255.0"
@@ -138,7 +139,7 @@
while (true) {
uart.printf("\nWait for new connection...\r\n");
server.accept(client);
- client.set_blocking(false, 1500); // Timeout after (1.5)s
+ client.set_blocking(false, 6500); // Timeout after (1.5)s (6.5s)
uart.printf("Connection from: %s\r\n", client.get_address());
while (true) {
--- a/mbed.bld Sat Sep 30 13:38:47 2017 +0000 +++ b/mbed.bld Sat Sep 30 15:28:45 2017 +0000 @@ -1,1 +1,1 @@ -https://mbed.org/users/mbed_official/code/mbed/builds/675da3299148 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/7cff1c4259d7 \ No newline at end of file