Re: [lwip-users] Question about socket send

2009-07-21 Thread Alain Mouette
megatron escreveu: I think it's may not be the fault of WINXP,nor lwip,though lwip has the problem that you describled above.It's probably the bug of the TCP test softerware that I use,it doesn't read the data that TCP has received,so the window gets smaller and smaller.Is that possible? Ap

Re: [lwip-users] Maximum retransmission value

2009-07-24 Thread Alain Mouette
Hi Simon, I also need to do the same (it is in my todo list). The reaso to do so is quite reasonable: I am connecting to a server over GPRS, I have a list of servers and I try all of them sequentialy twice. The probelm is that each SYN is billed and thus excesses have to be avoided. Lont-tim

[lwip-users] Bug: lwip_read with timeout

2009-07-28 Thread Alain Mouette
I am using lwip 1.3.0. I want to check this before reporting to bugtracker... maybe it is already fixed. If I set I timeout for the socket, and then read even if there is no data available, it returns 0 but I can never send anything anymore using that socket: millis=10; lwip_setsockopt (sd,

Re: [lwip-users] Bug: lwip_read with timeout (again)

2009-07-30 Thread Alain Mouette
Please... I sent this 2 days ago and got no comment, has noone ever seen this? This was well tested, in fact it took me a full day to find the problem and the work-around. Should I send this to the BUG list at savanah??? Alain Alain Mouette escreveu: I am using lwip 1.3.0. I want to check

Re: [lwip-users] Bug: lwip_read with timeout (again)

2009-07-31 Thread Alain Mouette
nn->recv_timeout)==SYS_ARCH_TIMEOUT) { conn->err = ERR_TIMEOUT; p = NULL; } #else - Thanks, Alain Kieran Mansley escreveu: On Thu, 2009-07-30 at 19:10 -0300, Alain Mouette wrote: Please... I sent this 2 days ago and got no comment, has noone ever seen this? This was well tested

Re: [lwip-users] Sort of OT

2009-08-04 Thread Alain Mouette
JM escreveu: I'm using OpenOCD on Eclipse, Luminary ARM Cortex-M3, and CodeSourcery compiler. I remember that sometimes OpenOCD refuses to program the micro because "offset breaks required alignment". That seems to be fixed on OpenOCD 0.2.0, at least WFM... Alain

Re: [lwip-users] PPP and Ethernet at same time

2009-08-05 Thread Alain Mouette
Christian Walter escreveu: Dear lwIP Users, Has anybody successfully run lwIP and the PPP stack at the same time? I have seen some messages on the mailing list where users had problems and we want to avoid going any empty miles;) Yes, it works fine, with FreeRTOS. I don't have the details b

[lwip-users] TCP [TCP Window Update]

2009-08-07 Thread Alain Mouette
Hi, I am getting quite a lot of these in WireShark: TCP [TCP Window Update] 0) I am using the socket interface :) 1) lwip sends a 15 byte packet to the server 2) the server responds an 11 byte packet, with ACK 3) lwip sends an ACK with a reduced window, from 2048 to 2037, delay is between 5 and

Re: [lwip-users] TCP [TCP Window Update]

2009-08-10 Thread Alain Mouette
Kieran Mansley escreveu: On Sun, 2009-08-09 at 10:11 +0200, goldsi...@gmx.de wrote: Step three results in the window being changed. However, the window update is not sent right away but after 250 ms (delayed ACK mechanism): with full duplex application-protocols, the window update would just b

Re: [lwip-users] Why so many pbufs required?

2009-08-13 Thread Alain Mouette
IIRC and you mentioned Luminary, there is a hardware filter so that unwanted ports don't even find their way to the stack. This may be very important in big LANs, specialy with lots of windows... If you manage to set this up, please send feedback. Alain JM escreveu: Ahh, never thought of the

Re: [lwip-users] Reassemble fragmented TCP packets

2009-08-27 Thread Alain Mouette
My suggestion would be to get all packets as they come and put them in another buffer. Once the request is complete, send it to the httpd. As to when it is complete, I am not sure if there are exceptions... Alain Baptiste Chaboud-crousaz escreveu: Hi, Thanks you very much for that clarificat

Re: [lwip-users] TCP problem

2009-10-20 Thread Alain Mouette
May I suggest that a comment about this be added in the config file. A special page on the wiki about configuring the many buffers in LWIP would be awsome too... This is a very obscure area in lwip config :( Alain David Shmelzer escreveu: Mine works now too. I was also having the same proble

[lwip-users] About DHCP

2009-12-23 Thread Alain Mouette
I am usin DHCP for the first time, and there is something that I don't understand: Once I call netifapi_dhcp_start(&lwip_netif); - Does it keep on running forever? - Will it bring the interface up even if it takes days for a dhcp server to be available? - Should I / Could I bring it down an

Re: [lwip-users] Socket read/write and threads

2010-01-12 Thread Alain Mouette
I can send you a snipplet that works fo me, with FreeRTOS The select is a bit of black magic, I don't remember exactly how it works, but I do remember that it is standard linux or socket programing. I also needed a queue for outgoing messages, so that it is sent from the correct thread. ---

[lwip-users] How to renew DHCP

2010-02-01 Thread Alain Mouette
when using DHCP I call netifapi_dhcp_start() ant poll netif_is_up() until the interface is up. after some long time, if no connection can be made, I want to start DHCP again (maybe the cable was diconnected and connected to another network), what should be the correct procedure? Should I jus

Re: [lwip-users] How to renew DHCP

2010-02-04 Thread Alain Mouette
Just to have it documented, if anyone else needs it: goldsi...@gmx.de escreveu: Calling netif_set_down() and dhcp_start() would work, too, but might lead to getting a different address (dhcp_renew() can re-request the old address if the server still allows it). This how it worked for me:

[lwip-users] Unifficial relesae?

2010-02-08 Thread Alain Mouette
Stéphane Lesage escreveu: > > The current version is very stable, it would have been nice to have a > 1.3.3 release... Any volunteers to get things toghether and make a 1.3.3 relese? even if it is unofficial? There seems to have been too many important fixes... Thanks, Alain __

Re: [lwip-users] Unifficial relesae?

2010-02-08 Thread Alain Mouette
Hi Simon I remember and I understand what you are doing. What I am trying to find is someone else that could keep track of actual bugfixes (preferably with yout help) and release a set of minimal changes to 1.3.2. It could be called 1.3.2a, b, c... Any volunteers? Alain Simon Goldschmidt es

Re: [lwip-users] Unifficial relesae?

2010-02-09 Thread Alain Mouette
Kieran Mansley escreveu: What I am trying to find is someone else that could keep track of actual bugfixes (preferably with yout help) and release a set of minimal changes to 1.3.2. If you did want to do something like this, it might make sense to instead simply keep a set of changes that a

[lwip-users] ENC624J600 - Driver

2014-01-04 Thread Alain Mouette
Hi, I used lwip a few years ago for a LM3S6965 and TexasInstruments has made me the nice favor of discontinuing it... No now I am back and I would like to use the ENC624J600 on a STM32. Where can I find lwip driver for it (SPI mode)? I have seen a few references to it but could not find how to

Re: [lwip-users] Delayed HTTP POST TCP ACK

2014-01-10 Thread Alain Mouette
Are you aware that there are no more Luminary chips??? Luminary was bought by Texas Instruments, which with caracteristic customer care simply stopped producing it. I am moving a product in production (gladly only one) to ST... I intend to use the external PHY from Microchip ENC424J600, but I

Re: [lwip-users] How to stop Dns server?

2014-01-17 Thread Alain Mouette
If you want to stop the DNS *client*, it can be easely done by changing the IP of the DNS server to 0.0.0.0 But don't take my word for it, check the code... Alain Em 17-01-2014 17:05, Martin Velek escreveu: I would suggest to inspect the source code. Afte a while you will find that the DNS LWI

Re: [lwip-users] why the board sends Gratuitous ARP always?

2014-01-26 Thread Alain Mouette
Gratuitous ARP is a good thing, it tells the router and all other equipment what is your IP... I had a lot of trouble to activate it in another stack ;-) Alain Em 26-01-2014 00:55, fangcheng_gmail escreveu: I'm try to implement LWIP on a board based on the MCU MPC5604E from Freescale. I set

Re: [lwip-users] the sequentiality of the lwip stack

2014-03-18 Thread Alain Mouette
I may help you with some points... Callback programing is known today as "Assynchronous programing" as oposed to "Sequencial programming". Using callbacks is indeed much more complex, but it may be faster For sequencial programming, I recomend using the socket interface. I made a project usi

Re: [lwip-users] the sequentiality of the lwip stack

2014-03-19 Thread Alain Mouette
Em 19-03-2014 10:49, Pomeroy, Marty escreveu: >> BUT never can t1 and t2 both access s1 or s2. Can someone provide a common situation which requires one socket used on multiple threads? If not, given the effort that would be needed, the lack of requirement, and the simplicity of working with

[lwip-users] Please Help with ENC424J600

2014-04-07 Thread Alain Mouette
In need desperatly to make my *ENC424J600* work this week :( I already have SPI working and tested comunicating with it on my STM32F101 with FreeRTOS, but I cannot find anything to start with. I had a previous version of LWIP on a different processor/Phy, now I just need to make it work with

[lwip-users] Where is poll_driver() ?

2014-04-09 Thread Alain Mouette
I am writing the driver from scratch for ENC424J600, using Microchip's low-level drivers I checkd the wiki and the file ethernetif.c and I have one (first) question: Where is the prototype for poll_driver() ?? Will it be called from LWIP in multi-threaded systems? It is mentioned in the chap

Re: [lwip-users] Ethernet link state: needed ?

2014-06-12 Thread Alain Mouette
It may be very important for mantainance and during the instalation. I usualy have one Led with different blinks for different link and connection status and it helps a lot with support Alain Em 12-06-2014 12:50, Sergio R. Caprile escreveu: Hi folks, I wrote a driver for the DM9000 Ethernet

[lwip-users] Simulatng an Arduino interface

2014-08-18 Thread Alain Mouette
Hi, I have do do something a little odd, and I would like to have your advice about it and to know if anyone has ever seen anything like it I need to simulate the interface available on the Arduino (with the WizChip), I believe that wiht such an interface I could use some software develloped f

Re: [lwip-users] pbuf leak for HTTP POST

2014-09-25 Thread Alain Mouette
BTW, how can I check the number o pbufs, total/available for debug report? This may be a very important information to detect problems beforehand!!! thanks, Alain Em 25-09-2014 09:04, Becker Markus escreveu: Hi, we've had a pbuf leak of the PBUF_POOL when using the httpserver_raw from lwip-co

Re: [lwip-users] confirm 0c357...

2018-04-08 Thread Alain Mouette
Is this message normal? It's the second one I get in a few days and I am woried that it could be some kind of phishing... Sorry for the noise... Alain On 02-04-2018 11:34, lwip-users-requ...@nongnu.org wrote: Your membership in the mailing list lwip-users has been disabled due to excessive bo