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 on an AT91 EB55



incomplete sio_write ... it wrote 128 of 136 bytes Doesn't know why don't send the other 8 bytes. The output comes from function nPut in ppp.c
As a workaround try modifying either the place where sio_write is called from (it looks like it's the only place) or sio_write itself so it writes out the whole amount of data.
Add a timeout so it does not block forever in case of line failure, but the current try once method is not enough it seems. PPP is among the least tested parts of lwip, thanks for your work.


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]