Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-29 Thread Daniele Lacamera
On Sun, Sep 28, 2014 at 4:22 PM, Antony Pavlov antonynpav...@gmail.com wrote: 1. Do we really need this '#ifdef PICO_SUPPORT_UDP' BEFORE (!) guard macro in pico_dhcp_client.h? I moved these in latest PicoTCP commit. Thanks. 2. New pico_tftp_start_{r,t}x programming interface can be used

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-29 Thread Michele Di Pede
On Mon, Sep 29, 2014 at 11:45 AM, Daniele Lacamera daniele.lacam...@tass.be wrote: On Sun, Sep 28, 2014 at 4:22 PM, Antony Pavlov antonynpav...@gmail.com wrote: 1. Do we really need this '#ifdef PICO_SUPPORT_UDP' BEFORE (!) guard macro in pico_dhcp_client.h? I moved these in latest

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-29 Thread Antony Pavlov
On Mon, 29 Sep 2014 11:45:08 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Sun, Sep 28, 2014 at 4:22 PM, Antony Pavlov antonynpav...@gmail.com wrote: 1. Do we really need this '#ifdef PICO_SUPPORT_UDP' BEFORE (!) guard macro in pico_dhcp_client.h? I moved these in latest

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-28 Thread Antony Pavlov
On Fri, 26 Sep 2014 11:27:16 +0200 PicoTCP pico...@tass.be wrote: Michele just pushed a TFTP which provides support for multiple sessions. API is slightly changed, to keep track of the sessions themselves. Please refer to the example in test/examples/tftp.c, or to the updated user manual.

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-26 Thread PicoTCP
Antony Pavlov wrote: I see a barebox-related publication with nice pictures on the picotcp website :) http://www.picotcp.com/barebox-on-top-of-picotcp We are awaiting improved TFTP... Hi Antony, hello all. Michele just pushed a TFTP which provides support for multiple sessions. API is

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-05 Thread Daniele Lacamera
Hi Antony, hello all, It's been a bit of slow-business here lately, due to the end of the summer holidays. We have put two people on the task since this week, we will keep you posted! Thanks for bearing with us! Greetings, -- Daniele On Thu, Sep 4, 2014 at 7:14 PM, Antony Pavlov

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-09-04 Thread Antony Pavlov
On Wed, 16 Jul 2014 08:48:18 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Wed, Jul 16, 2014 at 8:30 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Right now the network users register to a udp port and provide a handler which is called whenever a packet to this port is received.

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-16 Thread Sascha Hauer
On Tue, Jul 15, 2014 at 12:57:21PM +0200, Daniele Lacamera wrote: On Tue, Jul 15, 2014 at 12:27 PM, Antony Pavlov antonynpav...@gmail.com wrote: I will be able to provide such an interface by using a similar approach to what you used for ping (so via net_poll() routine called in a

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-16 Thread Daniele Lacamera
On Wed, Jul 16, 2014 at 8:30 AM, Sascha Hauer s.ha...@pengutronix.de wrote: Right now the network users register to a udp port and provide a handler which is called whenever a packet to this port is received. The prototype for this function is: struct net_connection *net_udp_new(IPaddr_t

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Antony Pavlov
On Sun, 13 Jul 2014 16:28:58 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Sun, Jul 13, 2014 at 12:55 PM, Antony Pavlov antonynpav...@gmail.com wrote: On Sun, 13 Jul 2014 12:11:17 +0200 Colin Leitner colin.leit...@googlemail.com wrote: Hello everyone, I'm working on

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Antony Pavlov
On Tue, 15 Jul 2014 11:31:29 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Tue, Jul 15, 2014 at 9:01 AM, Antony Pavlov antonynpav...@gmail.com wrote: barebox uses POSIX file interface for working with tftp. We have to provide these basic functions (see fs/tftp.c):

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Daniele Lacamera
On Tue, Jul 15, 2014 at 12:27 PM, Antony Pavlov antonynpav...@gmail.com wrote: I will be able to provide such an interface by using a similar approach to what you used for ping (so via net_poll() routine called in a loop), assuming that your posix-like interface expects blocking calls for

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Antony Pavlov
On Tue, 15 Jul 2014 12:57:21 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Tue, Jul 15, 2014 at 12:27 PM, Antony Pavlov antonynpav...@gmail.com wrote: I will be able to provide such an interface by using a similar approach to what you used for ping (so via net_poll() routine

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Daniele Lacamera
On Tue, Jul 15, 2014 at 2:57 PM, Antony Pavlov antonynpav...@gmail.com wrote: On Tue, 15 Jul 2014 12:57:21 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Tue, Jul 15, 2014 at 12:27 PM, Antony Pavlov antonynpav...@gmail.com wrote: I will be able to provide such an interface by

Re: picotcp tftp support [was Adding IPv4 multicast support]

2014-07-15 Thread Antony Pavlov
On Tue, 15 Jul 2014 17:55:21 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Tue, Jul 15, 2014 at 2:57 PM, Antony Pavlov antonynpav...@gmail.com wrote: On Tue, 15 Jul 2014 12:57:21 +0200 Daniele Lacamera daniele.lacam...@tass.be wrote: On Tue, Jul 15, 2014 at 12:27 PM, Antony