Re: [lwip-users] Issue while receiving LARGE-payload on an enbedded-SOC

2017-11-29 Thread Ajay Garg
Sorry, I was an idiot. On Wed, Nov 29, 2017 at 4:16 PM, Ajay Garg wrote: > Hi All. > > We are using WolfSSL at Layer-6, and things work fine in Ubuntu-14.04 with > our server. > Most importantly, the transfer of RSA-certificate from server to ubuntu > works fine. > > Now

Re: [lwip-users] Connection-Abort error while netconn_connect in lwip+freertos on Atmel-Studio-7

2017-09-25 Thread Ajay Garg
-fledged shell. Currently, no experience in taking wireshark-dumps on an embedded-SOC). Thanks and Regards, Ajay On Mon, Sep 25, 2017 at 11:11 PM, goldsi...@gmx.de wrote: > Ajay Garg wrote: >> >> We are using lwip-1.4.1 with FreeRTOS on Atmel-Studio-7, on Windows. >>

[lwip-users] Connection-Abort error while netconn_connect in lwip+freertos on Atmel-Studio-7

2017-09-25 Thread Ajay Garg
Hi All. We are using lwip-1.4.1 with FreeRTOS on Atmel-Studio-7, on Windows. During the call to netconn_connect, the resultant err_t code being returned is ERR_ABRT. Upon debugging, the line that is triggering this is https://github.com/RT-Thread/rt-thread/blob/master/components/net/lwip-1.4.1/s

Re: [lwip-users] TCP/IP/PPP for bare-metal

2015-08-23 Thread Ajay Garg
when Layer2 is PPP, which means there is no IP-Routing/IP-Forwarding required). Kindly approve/reject my understandings. Thanks and Regards, Ajay On Sun, Aug 23, 2015 at 9:15 AM, Ajay Garg wrote: > Hi All. > > I began navigating the code. > > First of all, let me present the sce

Re: [lwip-users] TCP/IP/PPP for bare-metal

2015-08-22 Thread Ajay Garg
I have, the IP-layer needs accesses to the interfaces (as even evident from code in ip.c in lwIP). That would mean that BOTH the Layer3-handling and Layer2- handling must be present in the same code context? * Kindly help resolve these architectural doubts ... I will be grateful no end ... Tha

Re: [lwip-users] TCP/IP/PPP for bare-metal

2015-08-22 Thread Ajay Garg
Hi Sylvain. Thanks a ton for the clarifications !! On Sat, Aug 22, 2015 at 10:42 PM, Sylvain Rochet wrote: > Hi Ajay, > > On Sat, Aug 22, 2015 at 10:20:27PM +0530, Ajay Garg wrote: > > > > I am sorry, I am not sure what is meant by an OS here. > > OS = FreeRTOS, Chib

Re: [lwip-users] TCP/IP/PPP for bare-metal

2015-08-22 Thread Ajay Garg
Hi Sylvian. On Sat, Aug 22, 2015 at 5:12 PM, Sylvain Rochet wrote: > Hi Ajay, > > On Sat, Aug 22, 2015 at 01:18:26PM +0530, Ajay Garg wrote: > > > > So, are there any good starting-points wherein I may implement the > > TCP/IP/PPP layers for bare-metal? > > Y

[lwip-users] TCP/IP/PPP for bare-metal

2015-08-22 Thread Ajay Garg
Hi All. I started writing the following, using the link http://lwip.wikia.com/wiki/PPP # #include #include #include "lwip/tcpip.h" static void tcpip_init_done(void *arg) { if (arg) { *((char *)arg) = 1; } } int main(

Re: [lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic

2015-08-21 Thread Ajay Garg
On Fri, Aug 21, 2015 at 7:59 PM, Sergio R. Caprile wrote: > > > and a > > > layer-2 interface (netif) for the other ones. > > > This way, your app is always the same and you only change code for what > > > is below layer-3. You'll have to write your own netif, though. > > > lwIP is a TCP/IP stack

Re: [lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic

2015-08-21 Thread Ajay Garg
21, 2015 at 7:03 PM, Sylvain Rochet wrote: > Hi Ajay, > > On Fri, Aug 21, 2015 at 06:35:18PM +0530, Ajay Garg wrote: > > On Fri, Aug 21, 2015 at 5:46 PM, Sergio R. Caprile > > wrote: > > > > > What I would do, if I were in your shoes, is to write my app for lwI

Re: [lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic

2015-08-21 Thread Ajay Garg
Thanks Sergio for the reply. On Fri, Aug 21, 2015 at 5:46 PM, Sergio R. Caprile wrote: > What I would do, if I were in your shoes, is to write my app for lwIP, > and then either use PPP for those TCP/IP capable GPRS modules You mean even if we use lwIP, we would be dependent on the TCP/IP (st

Re: [lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic

2015-08-21 Thread Ajay Garg
Thanks Sylvain for the reply that boosts my confidence incredibly !!! Thanks and Regards, Ajay On Fri, Aug 21, 2015 at 4:21 PM, Sylvain Rochet wrote: > Hi Ajay, > > On Wed, Aug 19, 2015 at 02:52:57PM +0530, Ajay Garg wrote: > > Hi All. > > > > We have a scenario

[lwip-users] Opinions on using lwIP for making application GPRS-chipset-agnostic

2015-08-19 Thread Ajay Garg
Hi All. We have a scenario, wherein we are developing application to be run in an embedded-scenario. This application can be flashed on any umpteen number of micro-controllers. This application talks to external-internet-world by interfacing through GPRS-chipsets. These chipsets may or may-not c