Re: [lwip-users] Transmission stall after ARP broadcast

2018-02-19 Thread goldsi...@gmx.de
On 20.02.2018 08:33, Stephan Hilchenbach wrote: Hello, this problem was not caused by the LwIP stack, but by the Ethernet driver. It was solved with the help of the Ti support: https://e2e.ti.com/support/arm/sitara_arm/f/791/t/663155 The address lookup engine (ALE) processes all received

Re: [lwip-users] [OT] httpd: download static files from an external HTTP server

2018-02-19 Thread goldsi...@gmx.de
On 20.02.2018 08:15, Giuseppe Modugno wrote: I think this isn't strictly related to lwip, but it's a request typical on electronic devices where lwip runs, i.e. devices with limited and restricted resources. It is somewhat related to lwIP as you have to know how to create dynamic content.

Re: [lwip-users] Transmission stall after ARP broadcast

2018-02-19 Thread Stephan Hilchenbach
Hello, this problem was not caused by the LwIP stack, but by the Ethernet driver. It was solved with the help of the Ti support: https://e2e.ti.com/support/arm/sitara_arm/f/791/t/663155 The address lookup engine (ALE) processes all received packets to determine which port(s) if any that the

[lwip-users] [OT] httpd: download static files from an external HTTP server

2018-02-19 Thread Giuseppe Modugno
I think this isn't strictly related to lwip, but it's a request typical on electronic devices where lwip runs, i.e. devices with limited and restricted resources. I have a limited non-volatile memory where to save html (and css, and images, and javascript, ...) files. Considering that the

Re: [lwip-users] httpd: how to redirect to a new address

2018-02-19 Thread Giuseppe Modugno
Consider that the browser can't continue the communication with the server if you change the server IP address. So I implemented the IP address change of the web server in the following way. The client requests a URI with a query string with the new IP configuration. httpd calls a CGI

[lwip-users] httpd: how to redirect to a new address

2018-02-19 Thread Jan Menzel
Hi all! In our application we wont to allow the user to change the ip address of the server using a webpage. I wonder what would be the best way of doing that. At present we use a very basic webserver that servers a different page (with HTTP status code 301) if the parameters

Re: [lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread goldsimon
twagner wrote: >I have also a webserver running. >I can see that the used pcb mem goes back if the Client (not the MCU) >closes >the connection (modbus), >but if the server (the MCU) closes the connection the used pcbs doesn't >go >back (webserver). >If i have only the mobus connection in use

Re: [lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread twagner
I have also a webserver running. I can see that the used pcb mem goes back if the Client (not the MCU) closes the connection (modbus), but if the server (the MCU) closes the connection the used pcbs doesn't go back (webserver). If i have only the mobus connection in use the maximum of the pcbs is

[lwip-users] SSI: error codes not handled

2018-02-19 Thread Jan Menzel
Hi all! I just discovered a mismatch between documentation and implementation of the SSI support in the httpd application (version 2.0.3): The documentation of tSSIHandler says "The handler returns the number of characters written to pcInsert excluding any terminating NULL or a negative

Re: [lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread Simon Goldschmidt
twagner wrote: > Her my mem and memp stats: > mem = {name = 0x8042c7c "MEM", err = 0, avail = 10240, used = 0, max = 0, > illegal = 0} > memp = [..] > name const char *0x8042e40 "TCP_PCB" > err u16_t 0 > avail mem_size_t 12 > used mem_size_t 8 > max

Re: [lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread twagner
Her my mem and memp stats: mem = {name = 0x8042c7c "MEM", err = 0, avail = 10240, used = 0, max = 0, illegal = 0} memp = nameconst char *0x8042e48 "UDP_PCB" err u16_t 0 avail mem_size_t 6 usedmem_size_t 0 max mem_size_t 0

Re: [lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread Simon Goldschmidt
twagner wrote: > Hello, > I have the LWIP stack 2.0.3 in combination with FREERTOS 9.0 running on a > STM32H743. > When only one tcp (netconn server) connection is active the data > transmission perform very well and no errors occur. > But when a second tcp-connection connects and transmits data

[lwip-users] no PCB match found at simultaneously TCP connections

2018-02-19 Thread twagner
Hello, I have the LWIP stack 2.0.3 in combination with FREERTOS 9.0 running on a STM32H743. When only one tcp (netconn server) connection is active the data transmission perform very well and no errors occur. But when a second tcp-connection connects and transmits data simultaneously to the first,

Re: [lwip-users] lwIP drivers repository

2018-02-19 Thread Simon Goldschmidt
cookies_do wrote: > I would like to ask if there is any lwip drivers repository? Not really. > I have found > that from 2010 started download area, but this is not the repository. > > https://savannah.nongnu.org/forum/forum.php?forum_id=6140 No. As stated, this is in the wiki. However, the

[lwip-users] lwIP drivers repository

2018-02-19 Thread cookies_do
Hello everyone. I would like to ask if there is any lwip drivers repository? I have found that from 2010 started download area, but this is not the repository. https://savannah.nongnu.org/forum/forum.php?forum_id=6140 Also, in git-contrib I have found under each release root/ports/old folder