Re: [lwip-users] Using BOOTP with lwIP

2017-08-10 Thread Amit Ashara
at 2:30 PM, goldsi...@gmx.de <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > >> I am trying to get BOOTP working with lwIP 1.4.1 stack. [..]However the >> call back function for udp does not get invoked. After debugging the same, >> the issue seems to be in ip.c file.

[lwip-users] Using BOOTP with lwIP

2017-08-09 Thread Amit Ashara
Hello All, I am trying to get BOOTP working with lwIP 1.4.1 stack. I am able to configure the device in STATIC IP address mode and send the BOOTP packet and have the BOOTP server send the BOOTP response. However the call back function for udp does not get invoked. After debugging the same, the

Re: [lwip-users] Example of changes needed to switch from 1.4.1 to 2.0.1

2017-05-23 Thread Amit Ashara
les in C files). > > I'd strongly suggest to fix the build process here! > > Simon > > > Amit Ashara wrote: > > Hello Billy, > > Try the following two files. > > Regards > Amit > > On Fri, May 19, 2017 at 4:30 PM, billium <bill...@bucknall.me.uk&g

Re: [lwip-users] Example of changes needed to switch from 1.4.1 to 2.0.1

2017-05-23 Thread Amit Ashara
Hello Billy, Try the following two files. Regards Amit On Fri, May 19, 2017 at 4:30 PM, billium wrote: > Thanks Simon > > This is what I mean, this is tivaware/utils/lwiplib.c > > //** > *** > // >

Re: [lwip-users] Example of changes needed to switch from 1.4.1 to 2.0.1

2017-05-15 Thread Amit Ashara
; > Yes I am using the enet_lwip example that uses Tivaware. > > Billy > > > > On 13/05/17 14:01, Amit Ashara wrote: > > Hello Billy, > > Are you using TivaWare? > > Amit > > On Fri, May 12, 2017 at 3:03 PM, billium <bill...@bucknall.me.uk> wr

Re: [lwip-users] Example of changes needed to switch from 1.4.1 to 2.0.1

2017-05-13 Thread Amit Ashara
Hello Billy, Are you using TivaWare? Amit On Fri, May 12, 2017 at 3:03 PM, billium wrote: > I tried to change an example from a Texas Instruments TM4C1294 example. > > I had the typedef problems in cc.h > followed your switch from tcp_impl.h to tcp_priv.h > > Not using

Re: [lwip-users] Issue in err.c for lwIP 2.0.0

2016-12-01 Thread Amit Ashara
LWIP_ERRNO_INCLUDE "path/my_header_file_containing_errno.h" > > HTH > Dirk > > > > On Wed, Nov 30, 2016 at 7:45 PM, Amit Ashara <ashara.a...@gmail.com> > wrote: > >> Hello All, >> >> When integrating FreeRTOS with lwIP 2.0.0 the following gives an erro

[lwip-users] Issue in err.c for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
#endif /* !NO_SYS */ #if !NO_SYS #if LWIP_SOCKET int err_to_errno(err_t err) { if ((err > 0) || (-err >= (err_t)LWIP_ARRAYSIZE(err_to_errno_table))) { return EIO; } return err_to_errno_table[-err]; } #endif /* LWIP_SOCKET */ #endif /* !NO_SYS */ Regards

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
Hello Freddie That helped too. I added the include in the arch/cc.h for the device port. Regards Amit On Wed, Nov 30, 2016 at 3:14 AM, Freddie Chopin wrote: > On Wed, 2016-11-30 at 07:45 +0100, Dirk Ziegelmeier wrote: > > I added it, thanks for reporting! > > It was

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
Hello Simon We are using 1.4.1 and we get a lot of queries on when we will migrate to 2.0.0 The other being to correct the LLDP stack as was being discussed in the Another thread. Regards Amit Ashara > On Nov 30, 2016, at 6:58 AM, Simon Goldschmidt <goldsi...@gmx.de> wrote: > &

Re: [lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-30 Thread Amit Ashara
So what is the final solution. Adding the stdlib.h in arch/cc.h or as what Dirk has made changes? Is there going to be an incremental release of lwIP or should I make the same changes as Dirk and use lwIP-2,0.0 ~Amit On Wed, Nov 30, 2016 at 4:34 AM, Dirk Ziegelmeier

[lwip-users] Issue in arch.h for lwIP 2.0.0

2016-11-29 Thread Amit Ashara
error #20: identifier "size_t" is undefined Can any of the lwIP developers confirm if this is expected issue? As a side note: after making the change lwIP 2.0.0 works great with TM4C devices. Thanks and Regards Amit Ashara ___ lwip-users mai

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-15 Thread Amit Ashara
and I checked the other file for protocol definition and it was kept in ethernetif.h and hence I followed the same structure. Where do you suggest I move the same? On Mon, Nov 14, 2016 at 2:52 AM, Simon Goldschmidt <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > > [.

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-11 Thread Amit Ashara
Hello All Did anyone have a look at the lldp code base? Regards Amit Ashara On Sat, Nov 5, 2016 at 12:57 AM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello All, > > The Manifest has been updated now and the new package is available for > download. > > http://ww

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-04 Thread Amit Ashara
Hello All, The Manifest has been updated now and the new package is available for download. http://www.ti.com/lit/zip/spmc023 Regards Amit Ashara On Wed, Nov 2, 2016 at 1:08 PM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Simon, > > The issue was with the License Opt

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-02 Thread Amit Ashara
Hello Simon, The issue was with the License Option that we had used. The same is being now under correction and I would upload a new package with the correct License file. Regards Amit Ashara On Wed, Nov 2, 2016 at 11:02 AM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Simon &

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-02 Thread Amit Ashara
Hello Simon Thanks for the quick feedback. I am clarifying the same with the Legal team. Regards Amit Ashara On Wed, Nov 2, 2016 at 10:39 AM, Simon Goldschmidt <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > > The LLDP package is now online at the following link > > http

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-11-02 Thread Amit Ashara
Hello All The LLDP package is now online at the following link http://www.ti.com/lit/zip/spmc023 There is a short ReadMe on integrating the LLDP into the LwIP and the application layer. I hope it is useful for others. Regards Amit Ashara On Mon, Oct 24, 2016 at 9:29 AM, Amit Ashara <ashar

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-10-24 Thread Amit Ashara
Hello Sergio I run a windows system and Unix does not allow to run Git. I would definitely put in the ReadMe document. I will try to see if I can run Git on Windows system, but then which Git branch do I need to pull in and what permissions I need to have. The one listed on savannah does not

Re: [lwip-users] LLDP Implementation for 1.4.1

2016-10-23 Thread Amit Ashara
ou. > > Dirk > > On Sat, Oct 22, 2016 at 3:56 AM, Amit Ashara <ashara.a...@gmail.com> > wrote: > >> Hello All >> >> The LLDP base implementation for lwIP 1.4.1 is ready and will be released >> on or before Oct 28, 2016. I wanted to check back with the

[lwip-users] LLDP Implementation for 1.4.1

2016-10-21 Thread Amit Ashara
. Looking forward to some response Regards Amit Ashara ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] LLDP Implementation for lwIP

2016-09-07 Thread Amit Ashara
Hello All, How do I release the source code and the license file? I have never used git earlier. Regards Amit On Tue, Aug 23, 2016 at 7:01 AM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Dirk > > I am using 1.4.1 version of the lwIP. Maybe once I get all the copyright

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-19 Thread Amit Ashara
Hello Simon OK, I will set it up on git. I wanted to however check before I do that is that is there a contributor license agreement/contributors agreement for lwIP that I need to be aware of? Regards Amit ___ lwip-users mailing list

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-18 Thread Amit Ashara
Hello All, I have the updated files for lldp transmit function. How do I put it up for review? Regards Amit On Wed, Aug 17, 2016 at 9:38 AM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Simon > > I have reduced the function call as lldp_raw(struct netif *netif); >

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-17 Thread Amit Ashara
ted in the function lldp_raw. Regards Amit On Wed, Aug 17, 2016 at 9:15 AM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Simon > > I can make the change for lldp_raw to be netif compliant and using > internal functions in the lldp.c to construct the packet. > > Will i

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-17 Thread Amit Ashara
wrote: > Amit Ashara wrote: > > I call the LLDP transmit function lldp_raw(struct netif *netif, const > struct eth_addr *ethsrc_addr) > > with the MAC address of the port. So if there are multiple ports each > with its MAC address, then > > that can be resolved by

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-17 Thread Amit Ashara
Thanks Sergio. I am also awaiting Simon's inputs as well Regards Amit On Wed, Aug 17, 2016 at 8:41 AM, Sergio R. Caprile wrote: > I would #define fixed fields in the lldp.h equivalent and #ifndef #define > the user modifiable values in a lldpopts.h file. However, I'm just

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-12 Thread Amit Ashara
restriction of a single port, wouldn't that work also? Regards, Amit On Fri, Aug 12, 2016 at 3:01 PM, goldsimon <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > > > LLDP can use the same MAC address as being used by lwIP. It is not > mandated > > that they be different. &

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-12 Thread Amit Ashara
rc, ethsrc_addr); ethhdr->type = PP_HTONS(ETHTYPE_LLDP); /* send ARP query */ result = netif->linkoutput(netif, p); //ETHARP_STATS_INC(etharp.xmit); /* free ARP query packet */ pbuf_free(p); p = NULL; /* could not allocate pbuf for ARP request */ r

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-04 Thread Amit Ashara
and inserted . Let me run some experiments and run into issues rather than sending emails on phantom issues. Regards Amit Ashara On Aug 4, 2016, at 9:31 AM, Sergio R. Caprile <scapr...@gmail.com> wrote: >> psNetif->linkoutput = tivaif_transmit; > >> If i check the

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-03 Thread Amit Ashara
Hello Sergio, I am using bare metal as well without OS and lwIP 1.4.1. So I don't see most of the functions being mentioned. Looks like I would need to bring 2.0.0.RC2 (quite some work). in my case I am using the drivers from TM4C. I checked and psNetif->output = etharp_output; So what you

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-03 Thread Amit Ashara
Hello Simon, LLDP can use the same MAC address as being used by lwIP. It is not mandated that they be different. Regards Amit On Wed, Aug 3, 2016 at 3:08 PM, goldsi...@gmx.de <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > >> http://lwip.wikia.com/wiki/LwIP_Developers_Manua

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-03 Thread Amit Ashara
, Aug 3, 2016 at 2:46 PM, Amit Ashara <ashara.a...@gmail.com> wrote: > Hello Simon > > I was referring to the following link > > http://lwip.wikia.com/wiki/LwIP_Developers_Manual > > This implementation is only for a single port device, which connects to a > switch/

Re: [lwip-users] LLDP Implementation for lwIP

2016-08-03 Thread Amit Ashara
.de <goldsi...@gmx.de> wrote: > Amit Ashara wrote: > >> I would like to develop the Link Layer LLDP stack within lwIP framework. >> > > Cool! > > However the developer's manual link is empty. >> > > I have absolutely *no* idea what this means. > >

[lwip-users] LLDP Implementation for lwIP

2016-08-03 Thread Amit Ashara
Hello lwIP developers, I would like to develop the Link Layer LLDP stack within lwIP framework. However the developer's manual link is empty. Any suggestions where to start? Regards Amit ___ lwip-users mailing list lwip-users@nongnu.org

Re: [lwip-users] Raw lwIP server write issue

2015-11-07 Thread Amit Ashara
Thanks Uwe. On Fri, Nov 6, 2015 at 5:17 PM, Valery Ushakov <u...@stderr.spb.ru> wrote: > Amit Ashara <ashara.a...@gmail.com> wrote: > > > Do you mean that instead of using pcb I should have another tcp_pcb e,g, > > newpcb that is assigned from the pcb in the cal

Re: [lwip-users] Raw lwIP server write issue

2015-11-05 Thread Amit Ashara
b, NULL, 0); return ERR_OK; } Regards Amit On Thu, Nov 5, 2015 at 11:28 AM, Valery Ushakov <u...@stderr.spb.ru> wrote: > Amit Ashara <ashara.a...@gmail.com> wrote: > > > When a connection is established between the server and the client, > > I can use the tcp_wri

[lwip-users] Raw lwIP server write issue

2015-11-05 Thread Amit Ashara
Hello All, I am using Raw lwIP 1.4.1 on a microcontroller. Since the requirement is to have acknowledged transfer between two devices, I created a server and client model. However I ran into an issue. When a connection is established between the server and the client, I can use the tcp_write on