lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Retransmit too quick?


From: Sergio R. Caprile
Subject: Re: [lwip-users] Retransmit too quick?
Date: Mon, 06 Jul 2015 12:47:59 -0300
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

If you are using the raw api and no RTOS, then your port should (must)
be calling the lwIP timers function and you don't have to do anything
with timers
(that is what I meant by "a broken timer implementation").
Your main should be something like

        while(1){
                sys_check_timeouts();
                ...
        }

and you have to make sure it loops often (as it should).

You call the raw api functions only from the main loop, no calls on
interrupts. Do you ?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]