[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] (no subject)
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] (no subject) |
Date: |
Thu, 07 Jul 2011 11:15:41 +0100 |
On Thu, 2011-07-07 at 18:07 +0800, Anirudha Sarangi wrote:
> Hi,
> I am new to lwip. Just took over from someone who has left my
> organization. Could you tell me exactly which timer functions in lwIP?
> If I know it I can cross-check if they are getting called at regular
> intervals or not.
>
> As I said my lwIP application does not have any OS. I have used a
> timer to call "tcp_fasttmr" and "tcp_slowtmr" at regular intervals.
> Are you referring to these functions?
> And if so, what is the interval at which "tcp_fasttmr" should be
> called and what interval "tcp_slowtmr" should be called?
If you call tcp_tmr() every 250ms it will call tcp_fasttmr and
tcp_slowtmr for you at the appropriate intervals. You need to be
careful about making sure you don't call tcp_tmr when there are other
threads active (including interrupts) in lwIP however; this is a common
problem in ports of lwIP that leads to internal state being corrupted.
Kieran
- [lwip-users] (no subject), Anirudha Sarangi, 2011/07/06
- Re: [lwip-users] (no subject), Kieran Mansley, 2011/07/07
- Re: [lwip-users] (no subject), Anirudha Sarangi, 2011/07/07
- Re: [lwip-users] (no subject),
Kieran Mansley <=
- Re: [lwip-users] (no subject), Anirudha Sarangi, 2011/07/07
- Re: [lwip-users] (no subject), Kieran Mansley, 2011/07/07
- Re: [lwip-users] (no subject), Anirudha Sarangi, 2011/07/07
- [lwip-users] Fw: (no subject), Anirudha Sarangi, 2011/07/15
- Re: [lwip-users] Fw: (no subject), Kieran Mansley, 2011/07/15