This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lwip-ppp


Hello

# this does middleblink so I presume handle1 is now valid.
 pppInit();
 pppSetAuth(PPPAUTHTYPE_PAP,"pppuser","pppassword");
 pd=pppOpen(handle1,pppLinkStatusCallback,NULL);// here the system hangs..
 // it looks like it's handling some exception over and over again...
 // nothing apears on ser1


have you tried the lwip test apps? Those call lwip_init to take care of initialization.


How much threads does ppp need? is this enough:
	#define NTHREADS 3

if by this define you mean CYGNUM_LWIP_APP_THREADS that is the number of application threads, lwip should allocate it's internal threads automatically.


Jani


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]