Re: [lwip-users] Porting 2.1.2 to Atmel Studio 7... dirent.h?

2019-02-07 Thread goldsimon
Am 8. Februar 2019 00:27:58 MEZ schrieb Stephen Cowell : >I'm attempting to update the SAM4E example project >THIRDPARTY_LWIP_BASIC_HTTP_EXAMPLE1 from 1.4.1 to 2.1.2.  The dev >system >is Atmel Studio 7 using ARM/GNU Common toolchain.  I have NO_SYS = >1 >this is the bare-metal

[lwip-users] Porting 2.1.2 to Atmel Studio 7... dirent.h?

2019-02-07 Thread Stephen Cowell
I'm attempting to update the SAM4E example project THIRDPARTY_LWIP_BASIC_HTTP_EXAMPLE1 from 1.4.1 to 2.1.2.  The dev system is Atmel Studio 7 using ARM/GNU Common toolchain.  I have NO_SYS = 1 this is the bare-metal implementation. I've partway through the directory problems... it seems

Re: [lwip-users] TCP snd_queuelen issue

2019-02-07 Thread goldsi...@gmx.de
Am 07.02.2019 um 16:36 schrieb Jasper Verschueren: Hi, I'm running the lwIP latest master on a NXP -  K64F without operating system and I'm having some troubles with TCP. I'm using a stripped down version of the httpd and added a simple HTTP POST command protocol to it. This command

[lwip-users] TCP snd_queuelen issue

2019-02-07 Thread Jasper Verschueren
Hi, I'm running the lwIP latest master on a NXP - K64F without operating system and I'm having some troubles with TCP. I'm using a stripped down version of the httpd and added a simple HTTP POST command protocol to it. This command protocol is keeping the device and webapp in sync. A

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread goldsimon
Am 7. Februar 2019 16:56:04 MEZ schrieb Dirk Ziegelmeier : >Can you at least check/debug to be sure your MAC delivers the desired >packet to lwIP? e.g. by dumping the first few bytes of all received >packets >and looking for your desired broadcast? > >If that is not the case, consult your MAC

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Dirk Ziegelmeier
Can you at least check/debug to be sure your MAC delivers the desired packet to lwIP? e.g. by dumping the first few bytes of all received packets and looking for your desired broadcast? If that is not the case, consult your MAC manual about broadcast reception / MAC filters. Dirk

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Pekub
Hello Dirk, I set MAC address to: ff:ff:ff:ff:ff:ff, but it still doesn't work. Peter -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Pekub
Hello Simon, I tried it, but it doesn't work: err = udp_bind(upcb2, IP_ADDR_ANY, 8000); Peter -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Simon Goldschmidt
Pekub wrote: > [..] > err = udp_bind(upcb, IP_ADDR_BROADCAST, 8000); Maybe you should bind to the ANY addr, not to BROADCAST. Regards, Simon ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Dirk Ziegelmeier
Did you configure your MAC to receive multicasts/boradcasts? lwIP cannot do this! Ciao Dirk On Thu, Feb 7, 2019 at 3:39 PM Pekub wrote: > Hello, > > I have this problem. I need to receive UDP Broadcast, but The "callback" > function is never called. > > I use LwIP 2.0.3. > > /*- Default

[lwip-users] How receive UDP broadcast with LwIP ?

2019-02-07 Thread Pekub
Hello, I have this problem. I need to receive UDP Broadcast, but The "callback" function is never called. I use LwIP 2.0.3. /*- Default Value for IP_SOF_BROADCAST: 0 ---*/ #define IP_SOF_BROADCAST 1 /*- Default Value for IP_SOF_BROADCAST_RECV: 0 ---*/ #define IP_SOF_BROADCAST_RECV 1