This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PPP setup

I'm attempting to get PPP working. I have a socketmodem connected to an LPC2468 on uart 1. have the serial driver working.

Do I need to include Std_Modem.c in my project?

Where do I make changes to support my particular modem?

I'm not finding this obvious.

Dave

Parents
  • Thanks for the info. I included the modem driver, and got a little further.

    The problem I am having now, is the PPP stack does not wait for the modem to connect before trying to bring up the link. The example you cited is for PPP listen, but my application dials out. Do you see a problem with this sequence?:

    ppp_connect ("5551212","user","password"); while(!ppp_is_up()) ; file_upload(); ppp_close ();

    Debug shows that PPP starts trying to send frames before the modem has connected. I set a breakpoint in the modem driver function modem_process() where it returns __TRUE, and it does not reach that point before PPP starts trying to send frames.

    Thanks for any help.

    Dave

Reply
  • Thanks for the info. I included the modem driver, and got a little further.

    The problem I am having now, is the PPP stack does not wait for the modem to connect before trying to bring up the link. The example you cited is for PPP listen, but my application dials out. Do you see a problem with this sequence?:

    ppp_connect ("5551212","user","password"); while(!ppp_is_up()) ; file_upload(); ppp_close ();

    Debug shows that PPP starts trying to send frames before the modem has connected. I set a breakpoint in the modem driver function modem_process() where it returns __TRUE, and it does not reach that point before PPP starts trying to send frames.

    Thanks for any help.

    Dave

Children