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.
Dependents: http-webserver-example mbed-os-example-sockets
Fork of W5500Interface by
Diff: W5500Interface.cpp
- Revision:
- 14:2f03158e52c3
- Parent:
- 13:9e2a7c8da30c
- Child:
- 15:9280e5bdd248
--- a/W5500Interface.cpp Mon Aug 13 09:14:18 2018 +0000
+++ b/W5500Interface.cpp Mon Aug 13 09:24:38 2018 +0000
@@ -26,9 +26,9 @@
#define SKT(h) ((w5500_socket*)h)
#define w5500_WAIT_TIMEOUT 1500
-#define w5500_ACCEPT_TIMEOUT 30000
+#define w5500_ACCEPT_TIMEOUT 300000 //5 mins timeout, retrun NSAPI_ERROR_WOULD_BLOCK if there is no connection during 5 mins
-#define w5500_INTF_DBG 0
+#define w5500_INTF_DBG 1
#if w5500_INTF_DBG
#define DBG(...) do{debug("[%s:%d]", __PRETTY_FUNCTION__,__LINE__);debug(__VA_ARGS__);} while(0);
