Re: [lwip-users] LWIP/PPPOS for GSM module

2018-11-15 Thread Ajay Bhargav
Dev, I think before entering data mode you need to activate the PDP context using AT+CGACT=1,1 So before msg8 you need to send that command. Try it. Ajay From: Devanand Biradar Sent: Wednesday, November 14, 2018 8:43 PM To: Mailing list for lwIP users Subject: Re: [lwip-users] LWIP/PPPOS for G

[lwip-users] Window Size relation with sending buffer (Tuning TCP article)

2018-11-15 Thread vr roriz
Dear colleagues, I'm bit confused about the the TCP_WND option parameter. First I understood that this value is the initial advertised TCP window size. For instance, when I set it to 2*TCP_MSS, my advertised window in the TCP header of the SYNC segment is matches 2*TCP_MSS. Also, we can se that

Re: [lwip-users] Window Size relation with sending buffer (Tuning TCP article)

2018-11-15 Thread goldsi...@gmx.de
On 15.11.2018 11:12, vr roriz wrote: [..] So, I've got confused of the relation with TCP_WND with the sending buffer and queue. I did not find anything relevant in the TCP output functions. Just tcp_connect seems to also be using the value (maybe as a initial parameter for the sending window?)

Re: [lwip-users] LWIP/PPPOS for GSM module

2018-11-15 Thread Shlomi Vaknin
Hey, Please give the log of the ppp as well as your code to initialize the lwip stack. Your at commands sequence look fine. You must not call "at+cgact=1,1" since ppp stack does this functionality בתאריך יום ה׳, 15 בנוב׳ 2018, 12:00, מאת Ajay Bhargav < cont...@rickeyworld.info>: > Dev, > > > > I

Re: [lwip-users] Window Size relation with sending buffer (Tuning TCP article)

2018-11-15 Thread vr roriz
The tcp_connect part is clear. However I still dont understand: "Window size (TCP_WND): [...] If memory allows it, set this as high as possible (16-bit, so 0x is the highest value), but keep in mind that for every active connection, the full window may have to be buffered until it is acknowled

[lwip-users] UDP and TCP concurrent operation causing fault

2018-11-15 Thread Applebee, Robert
My application is built with LWIP 1.4.1 running on a TI MCU and uses raw TCP and raw UDP calls, no RTOS. The TCP is used to send commands to the hardware and is always acknowledged with an "ACK" message. The UDP is used to send sensor data to the client every 10ms. I can send messages and rece

Re: [lwip-users] UDP and TCP concurrent operation causing fault

2018-11-15 Thread Sylvain Rochet
Hi, On Thu, Nov 15, 2018 at 05:59:58PM +, Applebee, Robert wrote: > > My application is built with LWIP 1.4.1 running on a TI MCU and uses > raw TCP and raw UDP calls, no RTOS. lwIP 1.4.1 was released 6 years ago… > This is my main loop that outputs the UDP: > > // allocate pbuf for

Re: [lwip-users] UDP and TCP concurrent operation causing fault

2018-11-15 Thread Patrick Klos
On 11/15/2018 12:59 PM, Applebee, Robert wrote: My application is built with LWIP 1.4.1 running on a TI MCU and uses raw TCP and raw UDP calls, no RTOS. The TCP is used to send commands to the hardware and is always acknowledged with an “ACK” message. The UDP is used to send sensor data to

[lwip-users] Amazing !

2018-11-15 Thread Ivan Warren
Pretty amazing ! After a couple of weeks of fiddling (on my spare time) to write a port, I have something functional ! The network interface driver was a bit complicated to write because it's completely asynchronous so I had to write myself a multileaving (that's a non preemptive multithread

Re: [lwip-users] Amazing !

2018-11-15 Thread goldsi...@gmx.de
On 15.11.2018 22:57, Ivan Warren wrote: [..] The fact it is a BIG Endian system made it a little bit of a chalenge ! What were the challenges here? As there are not many big endian architectures left, please help us to stay endianess-compatible! I have to say the documentation for LWIP is s

Re: [lwip-users] Amazing !

2018-11-15 Thread Ivan Warren
Le 11/15/2018 à 11:06 PM, goldsi...@gmx.de a écrit : On 15.11.2018 22:57, Ivan Warren wrote: [..] The fact it is a BIG Endian system made it a little bit of a chalenge ! What were the challenges here? As there are not many big endian architectures left, please help us to stay endianess-compa

Re: [lwip-users] LWIP/PPPOS for GSM module

2018-11-15 Thread Devanand Biradar
Hello, I am not able to enable the PPP_DEBUG to log. Please suggest the sorrect steps to Enable PPP_DEBUG with PRINTPKT_SUPPORT enabled On Thu, Nov 15, 2018 at 4:10 PM Shlomi Vaknin wrote: > Hey, > > Please give the log of the ppp as well as your code to initialize the lwip > stack. Your at comm

Re: [lwip-users] DNS lookup of other RR types

2018-11-15 Thread Craig McQueen
I wrote: > goldsi...@gmx.de wrote: > > On 11.11.2018 23:41, Craig McQueen wrote: > > > I'd like to do DNS lookups of other RR types, such as SRV, PTR or > > > TXT > > records. SRV is my immediate interest, though SRV, PTR and TXT would > > facilitate doing DNS-SD queries in future. What would be ne