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: oldheating gps motorhome heating
Diff: tcp/tcpsend.c
- Revision:
- 120:05b6d67a0cec
- Parent:
- 111:3600389d1add
- Child:
- 126:62edacc9f14d
--- a/tcp/tcpsend.c Tue Jan 29 15:07:14 2019 +0000 +++ b/tcp/tcpsend.c Tue Jan 29 18:32:57 2019 +0000 @@ -16,9 +16,9 @@ #include "tcpsend.h" #include "mstimer.h" -#define TIMEOUT_RETRANSMISSION_MS 2 * 1000 -#define MAX_RETRANSMISSIONS 10 -#define TIMEOUT_BROKEN_LINK_MS 600 * 1000 +#define TIMEOUT_RETRANSMISSION_MS 700 +#define MAX_RETRANSMISSIONS 5 +#define TIMEOUT_BROKEN_LINK_MS 600000 static void log(uint16_t remPort, char* fmt, ...) {