lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP PPP - When connecting, int sifup(ppp_pcb *pcb) is


From: Sylvain Rochet
Subject: Re: [lwip-users] LWIP PPP - When connecting, int sifup(ppp_pcb *pcb) is called multiple times
Date: Fri, 30 Oct 2015 15:59:21 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi Brian,

On Thu, Oct 29, 2015 at 10:22:36AM -0400, Brian Stull wrote:
> I've been using the LWIP PPP stack for a while to connect to a cellular
> modem. It's been working fine with one modem, but I've recently tried
> another modem (with another carrier) and the PPP sequence is not acting the
> same. 
> 
> Specifically, what I'm seeing is that the fsm_rconfack() function is being
> called multiple times during the PPP negotiation which is then calling my
> PPP link callback function.
> 
> This case statement is being called which then tells my application that the
> PPP link is up. The problem is it is being called multiple times.
> 
> Any ideas is this is valid to be called multiple times?

It looks like it is valid, it shouldn't be a problem for you anyway.

About sifup() I'm sure it is valid, it's usually called a first time for 
the first link protocol which comes up (let's say IPCP) and a second 
time for the second link protocol which comes up (let's says IP6CP).

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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