Re: [lwip-users] Fwd: problems in pppos

2017-07-26 Thread parwath . r
Hi, Its taking almost one sec time to read 100 bytes of data from UDP. is there configuration changes or details to get data in less time. thanks parwath On 2017-07-26 02:51, Sylvain Rochet wrote: Hi, On Tue, Jul 25, 2017 at 11:27:22PM -0700, parwat...@yashaswinies.com wrote: Hi, We

Re: [lwip-users] Fwd: problems in pppos

2017-07-26 Thread parwath . r
Hi, Its taking almost one sec time to read 100 bytes of data from UDP. is there configuration changes or details to get data in less time. thanks parwath On 2017-07-26 03:28, parwat...@yashaswinies.com wrote: Hi, Thanks , i resolved that issue ,now i need to know that for reading data is

Re: [lwip-users] port the latest version 2.0.2 to stm32f207

2017-07-26 Thread Axel Lin
2017-07-27 13:47 GMT+08:00 frognidie : > Hi > Thanks a lot for your reply! > But I still do not know how to "up". > I used the fixed IP not the DHCP. > The code is like this : > setup the ip,netmask,gw > 1)netif_add(netif,ip,netmask,gw,...); > 2)netif_set_default(netif); > 3)netif_set_up(netif); >

Re: [lwip-users] port the latest version 2.0.2 to stm32f207

2017-07-26 Thread frognidie
Hi Thanks a lot for your reply! But I still do not know how to "up". I used the fixed IP not the DHCP. The code is like this : setup the ip,netmask,gw 1)netif_add(netif,ip,netmask,gw,...); 2)netif_set_default(netif); 3)netif_set_up(netif); Is there any other function I need to add ? Thank you! B

Re: [lwip-users] port the latest version 2.0.2 to stm32f207

2017-07-26 Thread Arpit Agarwal
Hi , Can you check if you netif is up or not. Probably its not and from LWIP v2.0.0 netif "up" flag handling has been changed to be an administrative flag (as opposed to the previous meaning of "ip4-address-valid", a netif will now not be used for transmission if not up) -> even a DHCP netif

[lwip-users] port the latest version 2.0.2 to stm32f207

2017-07-26 Thread frognidie
Dear all, I have the project working fine with the lwip version 1.3.2 on stm32f207. Now I have ported the lwip version 2.0.2 on stm32f207 according to the old verion. But when I using the ping command it failed, the old version is fine. MCU:STM32F207 IDE:IAR 7.70.1 FreeRTOS V6.0.1 Is anyone can

Re: [lwip-users] TCP problems using pppos on stm32

2017-07-26 Thread Roman
Hi, lwip. I still can't solve my problem, it has been going on for a long time, and I feel very stupid. When I stopped using sys_timeout / sys_untimout and started using the FreeRTOS timers, the average transmission time was about 15 minutes when I removed the FreeRTOS timer and started using pppos

Re: [lwip-users] Fwd: problems in pppos

2017-07-26 Thread Sylvain Rochet
Hi, On Wed, Jul 26, 2017 at 03:28:22AM -0700, parwat...@yashaswinies.com wrote: > Hi, > Thanks , i resolved that issue ,now i need to know that for reading data > is we need to poll udp_recv fuction or call back fuction..? Please read the documentation before asking dumb question. The default

Re: [lwip-users] Fwd: problems in pppos

2017-07-26 Thread parwath . r
Hi, Thanks , i resolved that issue ,now i need to know that for reading data is we need to poll udp_recv fuction or call back fuction..? thanks parwath On 2017-07-26 02:51, Sylvain Rochet wrote: Hi, On Tue, Jul 25, 2017 at 11:27:22PM -0700, parwat...@yashaswinies.com wrote: Hi, We are

Re: [lwip-users] Fwd: problems in pppos

2017-07-26 Thread Sylvain Rochet
Hi, On Tue, Jul 25, 2017 at 11:27:22PM -0700, parwat...@yashaswinies.com wrote: > Hi, > We are finding error in udp send like no route after connection of > getting ip form ppp connect. i attached log please give some suggestions to > solve it. Is your PPP interface the default one ? See ppp