Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello.

Im using WICED Studio, here the details ...

WICED Version: Wiced_006.006.000.0009

54140c5acfaf45c86e7b06bba21685769d3e9cda

I have to develop a Code that has to transmit TCP packets in a Real Time way on a poor reilable connection (WiFi Direct).

In some LwIP forums I read that you can change some retransmittion timers on LwIP to reduce latency.

The latency in TCP arise from missing packets and ACK timers that can timeout and send Duplicated ACKs to force missing packets to be retransmitted.

Can I change this timeouts in LwIP code using WICED Studio ?

I tried to put some logs (WPRINT_APP_INFO) in LwIP and see if they are printed on Terminal but nothing ....

I tried to put some syntax errors in LwIP to understand if this is really compiled but nothing ...

Can someone help me ?

0 Likes
1 Solution
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

  I didn't find LwIP related :

{ "srl", wl_int, WLC_GET_SRL, WLC_SET_SRL,

    "Set the short retry limit.  (integer [1, 255])" },

    { "lrl", wl_int, WLC_GET_LRL, WLC_SET_LRL,

    "Set the long retry limit.  (integer [1, 255])" },

default value is lrl =4,  srl =7,  you can have a try to change the number to see if it can improve.

but from previous experience it is not the main reason of the connection issue.

View solution in original post

0 Likes
1 Reply
Zhengbao_Zhang
Moderator
Moderator
Moderator
250 sign-ins First comment on KBA 10 questions asked

Hello:

  I didn't find LwIP related :

{ "srl", wl_int, WLC_GET_SRL, WLC_SET_SRL,

    "Set the short retry limit.  (integer [1, 255])" },

    { "lrl", wl_int, WLC_GET_LRL, WLC_SET_LRL,

    "Set the long retry limit.  (integer [1, 255])" },

default value is lrl =4,  srl =7,  you can have a try to change the number to see if it can improve.

but from previous experience it is not the main reason of the connection issue.

0 Likes