lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Re: [lwip] SLIP support in Windows


From: Fabio Fumi
Subject: [lwip-users] Re: [lwip] SLIP support in Windows
Date: Wed, 08 Jan 2003 22:58:07 -0000

 Hi,
 I solved my problem. I was just looking at a wrong
log printout of the COM port data. I fixed it, added
the correct modem answers, and finally I could get the
SLIP connection on. Now I will build a minimal
application on top of the IP stack... 

 bye
  Fabio

  --- James Roth <address@hidden> ha scritto:
> Fabio Fumi wrote:
> 
> >My problem is that even before the first AT
> command, a
> >string of some repeated characters (something like
> >'±±±±±±±ááááááá...') is sent to the modem, as a
> >start-up handshake procedure, I guess. If the modem
> >dosen't answer to that, the connection is stopped
> with
> >a message like 'modem not responding'. What should
> be
> >the answer to that string? A simple \r is enough?
> Did
> >you have such a problem? Thanks.
> > bye
> >  Fabio
> >
> I don't reply to such a string.  What is your
> windows setup?  Mine:
> 
>     33.6 modem, com port at 115200 baud, no flow
> control
>     SLIP with 1500 MTU
>     no authentication
> 
> >
> > --- James Roth <address@hidden> ha
> scritto: >
> >
> >>    I just humor windows with an OK\r reply to
> most
> >>commands.  Windows 
> >>sends the AT... command followed by a \r.  The
> ATDT
> >>command or the 
> >>CLIENT string (with no \r) cause me to go into
> SLIP
> >>mode.  I also put 
> >>delays in the AT code for realism.
> >>
> >>while (1)
> >>{
> >>    if (got ATDT...)
> >>    {
> >>        write ("CONNECT\r")
> >>        break;
> >>    }
> >>    else if (got AT...) /* an AT other than ATDT
> */
> >>    {
> >>        write ("OK\r")
> >>    }   
> >>    else if (got CLIENT)
> >>    {
> >>        write ("CLIENTSERVER")
> >>        break;
> >>    }
> >>}
> >>
> >>do_slip()
> >>
> >>Good luck!
> >>
> 
> -- 
> James Roth
> Shugyo Design Technologies
> http://www.shugyodesign.com/
> 
> 
> 
> [This message was sent through the lwip discussion
list.] 

______________________________________________________________________
Iscriviti al Club Nokia, è gratis!
http://it.yahoo.com/mail_it/foot/?http://www.club.nokia.it/
[This message was sent through the lwip discussion list.]




reply via email to

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