Skip to content

Commit

Permalink
fix for #43: increase TCP retry count from 10 to 40
Browse files Browse the repository at this point in the history
  • Loading branch information
uhi22 committed Oct 23, 2024
1 parent 516c4b4 commit d2ca6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ccs/tcp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define TCP_TRANSMIT_PACKET_LEN 200

#define TCP_ACK_TIMEOUT_MS 100 /* if for 100ms no ACK is received, we retry the transmission */
#define TCP_MAX_NUMBER_OF_RETRANSMISSIONS 10
#define TCP_MAX_NUMBER_OF_RETRANSMISSIONS 40 /* allow 40 retries with 100ms cycle, to bridge 4 seconds of broken line. */
#define TCP_ACTIVITY_TIMER_START (5*33) /* 5 seconds */

#define TCP_STATE_CLOSED 0
Expand Down

0 comments on commit d2ca6f5

Please sign in to comment.