Re: [lwip-users] problem with multiple UDP sockets

2014-07-04 Thread Fabian Koch
Hey Mario, this looks like your communication partner doesn’t have the right IP set as target: ip_input: iphdr-dest 0xFEA9 netif-ip_addr 0x4301A8C0 (0xFFFEA9, 0x1A8C0, 0xFF00) ip_input: packet not for us. the destination IP is: 0xFEA9, which is 169.254.255.255 (that is the AutoIP

Re: [lwip-users] RAW Api to receive large image data

2014-07-04 Thread Sergio R. Caprile
Hi nkumar, on reception, you won't ALWAYS receive a single pbuf, but probably a chained pbuf. This means, you have to ALWAYS look for p-tot_len, not just p-len, to actually get ALL the data you were sent. To extract ALL data in a pbuf chain, use pbuf_copy_partial(), it is easier than travelling

Re: [lwip-users] problem with multiple UDP sockets

2014-07-04 Thread Mario Ribeiro
Hey Fabian, Thanks for the enlightenment! :) I was looking at my wireless connection parameters instead of the ethernet. Now I use IP 169.254.232.150 with netmask 255.255.0.0 and it's working! Best regards, Mário Ribeiro On 4 July 2014 08:14, Fabian Koch fabian.k...@de.abb.com wrote: Hey

Re: [lwip-users] problem with multiple UDP sockets

2014-07-04 Thread Mario Ribeiro
Ok there is still something wrong. In the http server demo I can see the Welcome to our lwIP HTTP web server demo, however I need to refresh the page about 3 times. It fails to connect for the first times. As long as the connection is established the page is then refreshed fast, but if stay idle