Re: [lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-12 Thread Curtiss, Robert
he suggestion. :-) Bob _____ Robert Curtiss Control Systems ManagerBalfour Beatty Rail, a division of Balfour Beatty US 845-688-1502  rcurt...@balfourbeattyus.com 205 W Dewey St, Goldsboro, NC 27530 -Original Message- From: lwip-us

Re: [lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-12 Thread Curtiss, Robert
rldefense.com/v3/__http://contrib-2.1.0.zip__;!!GW_tK9tuM96ueW3v!gSRUmA8Qpg8k30x6dO3ad22-SKpjR9sa5rCxU87u4ymCLLq28_jTkC978tccUeA00MLCeQ$ ' from the savannah download section. You'll find the Linux and Windows 'arch' ports there. Any suggestions? Bob ___

Re: [lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-11 Thread Curtiss, Robert
d through our email thread but I can't find where you suggested that. Where can I find the 'master' git branch? Tschüss, Bob _____ Robert Curtiss Control Systems ManagerBalfour Beatty Rail, a division of Balfo

Re: [lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-10 Thread Curtiss, Robert
Simon, I downloaded the file 'lwip-2.1.2.zip' from this page: http://download.savannah.nongnu.org/releases/lwip/ I could not find an 'arch' or 'priv' directory in that archive. Bob _____ Robert Curtiss Cont

Re: [lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-08 Thread Curtiss, Robert
27;priv' anywhere in the 'src' directory. Are these required for a bare metal build? If so, where can I find them; if not, how can I get around this? Thanks, Bob _ Robert Curtiss -Original Message- From: lwip-users

[lwip-users] Incorporating lwIP Into VisualGDB Project

2021-02-02 Thread Curtiss, Robert
Greetings lwIP users. I'm an experienced embedded systems developer but a complete newbie to lwIP, and I have a newbie question. Background: I've inherited a project into which I want to incorporate lwIP in order to add TCP/IP. The application is bare metal, based on the STM32F407, on a custom-

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

2018-11-15 Thread Applebee, Robert
ret_err = tcp_write(tpcb, tcpOut, len, 1); if (ret_err) len = 0; } return ret_err; } Regards, Robert Applebee Software Project Engineer Astronics Test Systems Inc., 4 Goodyear Irvine, California 92618 USA O: +1.949.460.6795 E: robert.apple...@astronics.com<mailto:robert.apple

Re: [lwip-users] lwip-users Digest, Vol 157, Issue 27

2016-09-24 Thread Robert Sexton
_pcb * pcb, void *,uint16_t len, uint8_t flags); systemcalls.S: .global SAPI_tcp_write SAPI_tcp_write: svc #22 bx lr The latter function could also be done with a compiler inline. You can use this technique to safely access any lwIP function from main(). - Robert On Sat, Sep 24,

Re: [lwip-users] Link Layer Discovery Protocol

2015-09-24 Thread Robert Deschambault
wrote: > Robert Deschambault wrote: > >> I just read about this protocol and I was wondering what is involved in >> implementing it using lwIP on an embedded target? >> > > Implementing it is not really an lwIP thing: the protocol itself runs > below what lwIP cares for,

[lwip-users] Link Layer Discovery Protocol

2015-09-24 Thread Robert Deschambault
Hello all, I just read about this protocol and I was wondering what is involved in implementing it using lwIP on an embedded target? Thanks, Bob -- Bob Deschambault 6614 Astro Court, Mississauga Ontario, Canada L5N 7J2 home: 905 824 7159 cell: 416 457 7163 twitter: @rdeschambault 1Fm3QkinyqiMbp

Re: [lwip-users] UDP and TCPIP at the same time

2015-09-15 Thread Robert Deschambault
Please describe your system and software. Are you using an RTOS? On Mon, Sep 14, 2015 at 11:11 PM, Abhijith N M < abhijith.m...@quest-global.com> wrote: > Hello Team, > > LWIP TCP/IP stack doesn't work. lwip_socket() does not create a socket. > Please come up with your suggestions. > > Thanks an

Re: [lwip-users] tcpip thread / no_sys

2015-08-04 Thread Robert Deschambault
Hi, I don't think that using the raw api is recommended in a threaded environment since the lwIP core is not thread safe. The better approach is to use the netconn or socket api and there are many examples of how to set this up with freertos and an stm32f4. We have done multithreaded application

Re: [lwip-users] Can't process incoming UDP packets after one of hosts is powered down

2015-07-24 Thread Robert Deschambault
It is hard to make a judgement without seeing your code. In my own personal experience one no-no is to make sure that the UDP sockets are not shared. I have had no problem running multiple different UDP services in their own threads using different netconn connections. _

Re: [lwip-users] Strategy Question for DHCP

2015-06-22 Thread Robert Deschambault
will get a new IP address assigned by the DHCP server (dhcp offer) and > abandon the autoip self-configured address. > > > > > > *From:* lwip-users-bounces+zsmith=campbellsci@nongnu.org [mailto: > lwip-users-bounces+zsmith=campbellsci@nongnu.org] *On Behalf Of *Robert >

Re: [lwip-users] Strategy Question for DHCP

2015-06-22 Thread Robert Deschambault
Need some additional advice. If I have a target with an autoip assigned IP address what should happen when a DHCP server becomes available? Should it be doing a DHCP offer in response to the DHCP discover request from the client? -- Bob Deschambault _

Re: [lwip-users] Strategy Question for DHCP

2015-06-19 Thread Robert Deschambault
boot jumps to main or main jumps to boot. But I think you have the right idea, I just have to implement it better. On Fri, Jun 19, 2015 at 1:28 PM, Robert Deschambault < robert.deschamba...@gmail.com> wrote: > Thanks for reminding me of the automatic increment of the IP address. I >

Re: [lwip-users] Strategy Question for DHCP

2015-06-19 Thread Robert Deschambault
Thanks for reminding me of the automatic increment of the IP address. I was reviewing the code from v1.4.1 and the master branch and we are using v1.3.2. I noticed that the newer code base no longer increments the IP address. I had updated the code in the boot loader not to increment but had for

Re: [lwip-users] Strategy Question for DHCP

2015-06-19 Thread Robert Deschambault
Ok, now that I have autoip working, I need some advice on how to use this feature properly. Right now, I can see my target self assign a local link address. I tried some experiments to see how autoip behaves. 1. I tried unplugging my Ethernet cable from the switch and I see the target self assig

Re: [lwip-users] Strategy Question for DHCP

2015-06-19 Thread Robert Deschambault
Interesting solution. Does this work with AUTOIP enabled, or is it meant to be a standalone AUTOIP-lite implementation? On Thu, Jun 18, 2015 at 3:48 PM, Adam Fullerton wrote: > Hi, > > I had issues with this too. This is what I did and it has worked with out > change from lwIP V1.3.2 to curren

Re: [lwip-users] Strategy Question for DHCP

2015-06-18 Thread Robert Deschambault
ve to do anything. > > > > *From:* lwip-users-bounces+zsmith=campbellsci@nongnu.org [mailto: > lwip-users-bounces+zsmith=campbellsci@nongnu.org] *On Behalf Of *Robert > Deschambault > *Sent:* Thursday, June 18, 2015 8:29 AM > *To:* Mailing list for lwIP users > *S

Re: [lwip-users] Strategy Question for DHCP

2015-06-18 Thread Robert Deschambault
he IP address has been assigned. Any comments? On Wed, Jun 17, 2015 at 8:28 PM, Robert Deschambault < robert.deschamba...@gmail.com> wrote: > Hi, > > I did a quick test to see when the autoip state is set to stop. It looks > like that when the IP address becomes non-zero, the DHC

Re: [lwip-users] Strategy Question for DHCP

2015-06-17 Thread Robert Deschambault
Hi, I did a quick test to see when the autoip state is set to stop. It looks like that when the IP address becomes non-zero, the DHCP code recognizes the assignment and makes a call to dhcp_stop() which I believe is calling autoip_stop() function coop mode. Here is what the printf debug looks li

Re: [lwip-users] Strategy Question for DHCP

2015-06-17 Thread Robert Deschambault
I have one of those! On Jun 17, 2015 6:56 PM, "Zach Smith" wrote: > Could be. Wouldn’t hurt to try a regular old “dumb” switch. > > > > *From:* lwip-users-bounces+zsmith=campbellsci@nongnu.org [mailto: > lwip-users-bounces+zsmith=campbellsci@nongn

Re: [lwip-users] Strategy Question for DHCP

2015-06-17 Thread Robert Deschambault
[mailto: > lwip-users-bounces+zsmith=campbellsci@nongnu.org] *On Behalf Of *Robert > Deschambault > *Sent:* Tuesday, June 16, 2015 7:48 AM > *To:* Mailing list for lwIP users > *Subject:* Re: [lwip-users] Strategy Question for DHCP > > > > Hi, > > > > I have

Re: [lwip-users] Strategy Question for DHCP

2015-06-16 Thread Robert Deschambault
Hi, I have been doing some additional checking using the built in debug messages from lwip during my autoip sequence. What I have found that the autoip moves to state 1 (probing) to state 2 (announcing). But when the IP is assigned, it goes to state 0 (stop) and never gets to state 3 (bound). I

[lwip-users] What is the best method to attach wireshark records?

2015-06-15 Thread Robert Deschambault
Hi, I would like to attach wireshark records to a question for the group. What is the best method? Thanks, Bob ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Strategy Question for DHCP

2015-05-28 Thread Robert Deschambault
k capture would help. >> >> >> >> *From:* lwip-users-bounces+zsmith=campbellsci@nongnu.org [mailto: >> lwip-users-bounces+zsmith=campbellsci@nongnu.org] *On Behalf Of *Robert >> Deschambault >> *Sent:* Wednesday, May 27, 2015 11:58 AM >> *To:*

Re: [lwip-users] Strategy Question for DHCP

2015-05-27 Thread Robert Deschambault
Hi, I have tried to use the approach with no success so far. I needed to tweak the IP address pool to be compatible with our network. I hope that isn't a problem. In lwipopts.h I have: // AUTOIP options #define LWIP_AUTOIP 1 #define LWIP_DHCP_AUTOIP_COOP 1 #define LWIP_DHCP_AUTOI

Re: [lwip-users] Strategy Question for DHCP

2015-05-14 Thread Robert Deschambault
Thanks for the input! I will see if it works with our system. On Thu, May 14, 2015 at 2:55 PM, Zach Smith wrote: > Use the auto ip feature of lwip which I believe is the proper way to > handle this situation. With this feature enabled, after a certain number of > dhcp timeouts the device will

[lwip-users] Strategy Question for DHCP

2015-05-14 Thread Robert Deschambault
I would like to know what is a good approach when developing an application for an embedded device that has it's IP address assigned by DHCP. We only have the Ethernet link and a circuit breaker for power, no other reset buttons are available. We currently wait for a number of DHCP timeouts and i

Re: [lwip-users] Stability of master branch code

2015-05-12 Thread Robert Deschambault
Was there anything else you would like me to try? I have confirmed that I am freeing the pbuf in our code. On Thu, May 7, 2015 at 2:25 PM, Robert Deschambault < robert.deschamba...@gmail.com> wrote: > Yes we free the pbuf for that case. > > On Thu, May 7, 2015 at 2:18 PM, g

Re: [lwip-users] Stability of master branch code

2015-05-07 Thread Robert Deschambault
Yes we free the pbuf for that case. On Thu, May 7, 2015 at 2:18 PM, goldsi...@gmx.de wrote: > > So does your netif driver correctly handle netif->input returning != > ERR_OK? In that case, you have to free the pbuf yourself. > > > Simon > > > ___ > lwi

Re: [lwip-users] Stability of master branch code

2015-05-07 Thread Robert Deschambault
, and it never tripped for over a day. On Wed, May 6, 2015 at 12:50 PM, Robert Deschambault < robert.deschamba...@gmail.com> wrote: > Ok, the code is no longer responsive, but I don't have a way to check the > lwip_stats counters because I can't stop the program.

Re: [lwip-users] Stability of master branch code

2015-05-06 Thread Robert Deschambault
breakpoint so I can observe the stats? On Tue, May 5, 2015 at 2:19 PM, goldsi...@gmx.de wrote: > Robert Deschambault wrote: > >> I have enabled LWIP_STATS and LWIP_STATS_DISPLAY. Should I enable things >> like PBUF_DEBUG? Will I see any messages on my debug printf display? Or &

Re: [lwip-users] Stability of master branch code

2015-05-05 Thread Robert Deschambault
I have enabled LWIP_STATS and LWIP_STATS_DISPLAY. Should I enable things like PBUF_DEBUG? Will I see any messages on my debug printf display? Or should I put a breakpoint where lwip stats error number gets incremented? Thanks, Bob On Tue, May 5, 2015 at 9:33 AM, Robert Deschambault

Re: [lwip-users] Stability of master branch code

2015-05-05 Thread Robert Deschambault
I forgot to add stats.c to my project. It compiles fine now. I will continue our stress testing with the sources from the master branch and report any issues. On Tue, May 5, 2015 at 4:46 AM, Simon Goldschmidt wrote: > Robert Deschambault wrote: > > Sorry I am new to enabling stat

Re: [lwip-users] Stability of master branch code

2015-05-04 Thread Robert Deschambault
Sorry I am new to enabling stats. I get linker errors when I set LWIP_STATS to 1, it is complaining about missing symbols. Is there a guide somewhere on how to set up the lwipopts.h file? On Mon, May 4, 2015 at 3:58 PM, goldsi...@gmx.de wrote: > Robert Deschambault wrote: > >>

Re: [lwip-users] Stability of master branch code

2015-05-04 Thread Robert Deschambault
First chance I get I will do the experiment you suggested. I will use the same sources I have from the master branch. They covered commits [338feef,ee833ea,6c3f6cf], I pulled them in February. If I get the same result, I will pull the latest sources to see if I have the same problem. On Mon, Ma

[lwip-users] Stability of master branch code

2015-05-04 Thread Robert Deschambault
We have been doing some work with stress testing an application developed for lwip on our target board. It is basically a TCP echo server, UDP echo server, and a custom server that works much like a TCP echo service. We connect a couple clients to our custom server and and run echo tests occasion

Re: [lwip-users] Sockets with Single thread tcp/ip

2015-03-20 Thread Robert Deschambault
I think you are out of luck, you would need an OS with threads to run sockets. On Thu, Mar 19, 2015 at 1:58 AM, COOKE, Damien wrote: > Compilation of my project stops here in init.c > > #if ((LWIP_SOCKET || LWIP_NETCONN) && (NO_SYS==1)) > #error "If you want to use Sequential API, you have to

Re: [lwip-users] Patch to update from 1.4.0 to 1.4.x?

2015-03-18 Thread Robert Deschambault
Given the number of fixes and improvements I would recommend going through the pain and try to keep any custom code out of the stock sources. I moved our v1.3.2 code to the latest from the main branch in git. On Mar 18, 2015 3:57 AM, "Simon Goldschmidt" wrote: > > Karl Karpfen wrote: > > So my qu

[lwip-users] Any idea when v1.5 might be coming out?

2015-03-17 Thread Robert Deschambault
Hi all, Just curious to find out if there is a v1.5 in our future. Seems to have been a lot of commits recently. Thanks, Bob -- Bob Deschambault 6614 Astro Court, Mississauga Ontario, Canada L5N 7J2 ___ lwip-users mailing list lwip-users@nongnu.org h

Re: [lwip-users] Where to get the LwIP version information

2015-02-09 Thread Robert Deschambault
Thanks! Greatly appreciated. Bob On Mon, Feb 9, 2015 at 9:32 AM, Sergio R. Caprile wrote: > $ grep -R VERSION programming/lwip/lwip > programming/lwip/lwip/src/include/lwip/init.h:#define > LWIP_VERSION_MAJOR 1U > programming/lwip/lwip/src/include/lwip/init.h:#define > LWIP_VERSION_MINOR

[lwip-users] Where to get the LwIP version information

2015-02-07 Thread Robert Deschambault
Hi, Where is the best place to get lwIP version info so I can echo it back when my app starts up? Thanks, Bob ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] Multiple servers under LwIP

2015-02-07 Thread Robert Deschambault
I am very sure you are right! I will review my code to make sure I am compliant with the lwIP threading model as you describe. I will let you know how it goes. Thanks! Bob On Sat, Feb 7, 2015 at 11:26 AM, Sylvain Rochet wrote: > Hello Robert, > > On Sat, Feb 07, 2015 at 10:18:2

[lwip-users] Multiple servers under LwIP

2015-02-07 Thread Robert Deschambault
Hi, I am using the latest sources from the master branch and I am running on a STM32F429 under CMSIS-RTOS/RTX. I am putting together a framework for our application that includes multiple servers each running in its own thread. I have written and tested the code for each server individually and

[lwip-users] Fwd: udp_bind() gives different results for v1.3.2 vs lwip-master branch

2015-02-03 Thread Robert Deschambault
Hi all, I was reviewing our old code and we had a redundant call to the initialization code for the UDP services. Seems moving to the latest lwip master branch sources has fixed some issues with our legacy code! Bob ___ lwip-users mailing list lwip

[lwip-users] udp_bind() gives different results for v1.3.2 vs lwip-master branch

2015-02-02 Thread Robert Deschambault
Hi all, I have a very simple UDP server that has been implemented in our legacy code using LwIP v1.3.2. I am moving the code to the latest code from the lwip-master branch. There is a call to udp_bind() that returns ERR_USE in the latest code. I am using the raw api for this application. Does

Re: [lwip-users] Compiler Warnings for LWIP_PLATFORM_DIAG

2015-01-15 Thread Robert Deschambault
Thanks very much that did the trick! Bob On Thu, Jan 15, 2015 at 12:25 AM, goldsi...@gmx.de wrote: LWIP_PLATFORM_DIAG has to be defined in your cc.h, like this one from the > win32 port (remember hat it is called with double (()) to be able to pass > varargs without ther "newer" __VA_ARGS__): >

[lwip-users] Compiler Warnings for LWIP_PLATFORM_DIAG

2015-01-14 Thread Robert Deschambault
Hi, I am trying to use the latest sources from master branch in one of my projects. I had previously been using the v1.4.1 code. I am getting many compiler warnings that seem to be tied to: LWIP_PLATFORM_DIAG. Here is a sample: compiling api_lib.c... C:\work\exp_lm_g2_cmsis-rtos\Libraries\Open

[lwip-users] What is the best version of code to use for production

2015-01-09 Thread Robert Deschambault
Hi all, I notice that there have been a lot of fixes since the release of v1.4.1. Should we be looking at the latest fixes? Is a release coming soon? Thanks, Bob ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listin

[lwip-users] CMSIS-RTOS Port to LwIP 1.4.1

2014-12-19 Thread Robert Deschambault
Hello, I am using an STM32F407 microcontroller and I would like to use LwIP 1.4.1 with CMSIS-RTOS/RTX. I have seen examples using FreeRTOS, but I was interested to find out if anyone has ported their sys_arch.c and sys_arch.h to CMSIS-RTOS/RTX v4.75. Thanks, Bob -- Bob Deschambault 6614 Astro

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
not have solved this without your help. Rob On 13/11/14 16:45, Robert Wood wrote: "GET /index.html HTTP/1.1\r\n\r\n" Does that mean I can't use HTTP 1.1 or is it simply I have to put extra information in the GET string? ___ lwip

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
information in the GET string? Many thanks for your patience, it is much appreciated. Rob On 13/11/14 16:13, Simon Goldschmidt wrote: Robert Wood wrote: Sorry, I'm obviously still not explaining this clearly. I don't really think that this is our problem... To get a grip on this, cou

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
e sort of feedback to know that ACK has gone out? Cheers, Rob On 13/11/14 14:55, Simon Goldschmidt wrote: Robert, it would have *greatly* helped if you would have described which packets are the ones in question. I'm assuming you mean packets 23-25 (ack_but_no_get) and 52-55 (no_ack_but

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
*Gesendet:* Donnerstag, 13. November 2014 um 15:04 Uhr *Von:* "Robert Wood" *An:* lwip-users@nongnu.org *Betreff:* Re: [lwip-users] Pulling data from a server using HTTP with lwIP Hopefully these two text files get attached the the mailing list. If not, I'll send them directly. One sends

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
;t think I really get what your problem is. Could you send a small pcap the packets in question? Simon *Gesendet:* Donnerstag, 13. November 2014 um 14:41 Uhr *Von:* "Robert Wood" *An:* lwip-users@nongnu.org *Betreff:* Re: [lwip-users] Pulling data from a server using HTTP with lwIP Ah, n

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
the case that I can poll something to wait for the stack to inform me that the ACK has gone out and I can send stuff or am I looking at it the wrong way? Thanks, Rob On 13/11/14 13:31, Simon Goldschmidt wrote: Robert, are you aware that it's legal for the ACK you are missing to contain da

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
d know when the stack has sent the ACK to the server and I am at liberty to send the GET request? I hope I've made that clearer. :~) I'm probably doing naive things because I'm trying to learn a lot of stuff at the moment! On 13/11/14 13:09, Simon Goldschmidt wrote: Robert Wood wrot

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
. I'm happy to be told I'm talking nonsense though. Thanks! On 13/11/14 11:21, Simon Goldschmidt wrote: Robert Wood wrote: H. I seem to be wrong, It *does* send out the ACK. I took out these lines: strcpy(GetString,"GET /index.html HTTP/1.1\r\n"); netconn_write(

Re: [lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
have to wait, in my code, for something in the lwIP stack to inform me that the ACK went out and I can send data to the established connection? If so, how do I do that? If not, what I am doing wrong? Thanks again. On 13/11/14 09:54, Robert Wood wrote: I'm getting started with lwIP; I have

[lwip-users] Pulling data from a server using HTTP with lwIP

2014-11-13 Thread Robert Wood
I'm getting started with lwIP; I have the SAM7X FreeRTOS demo running and it is serving its demo file just fine. However, what I really need to do is pull a file *from* a server. So, I've created a new thread and done the following: xNetConn = netconn_new ( NETCONN_TCP ); IP4_ADDR(&local_ip,

Re: [lwip-users] Has anyone been using the Keil lwIP software packs?

2014-11-10 Thread Robert Deschambault
Thanks for the links! I will check them out. Bob On Nov 10, 2014 7:31 AM, "Sergio R. Caprile" wrote: > No, > I have my own port and been compiling it with Keil on a Cortex-M3. > I have some patches on top of 1.4.1 and didn't like the way Keil packs > lwIP. My advice is to use lwIP with an open a

[lwip-users] Has anyone been using the Keil lwIP software packs?

2014-11-08 Thread Robert Deschambault
Hi, I was curious to know if anyone is using the Keil MDK v5 tools and trying to take advantage of the lwIP 1.4.1 software pack for building network applications on ARM processors? Thanks! Bob -- Bob Deschambault 6614 Astro Court, Mississauga Ontario, Canada L5N 7J2 home: 905 824 7159 cell: 416

Re: [lwip-users] UDP and TCP (HTTP) sockets open at the same time?

2014-11-06 Thread Robert Deschambault
luck, Bob On Thu, Nov 6, 2014 at 12:34 PM, Robert Wood wrote: > Hi all, > > I have a reasonably simple project that needs some TCP/IP functionality. I > need to use HTTP to pull a file from a NAS and I also need to have a socket > open (potentially at the same time the the sa

[lwip-users] UDP and TCP (HTTP) sockets open at the same time?

2014-11-06 Thread Robert Wood
Hi all, I have a reasonably simple project that needs some TCP/IP functionality. I need to use HTTP to pull a file from a NAS and I also need to have a socket open (potentially at the same time the the same time) to send and receive simple UDP packets. It's possible I will have to serve very

[lwip-users] unsuscribe

2014-05-13 Thread Robert Lacoste
___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] unsent_oversize mismatch with TCP...

2014-03-26 Thread Robert Lacoste
explanation of the problem, which seems strange based on the simple configuration. Any HELP ? Thanks, Robert Test code : while (1) { sprintf((char *)buffer, (const char *)"test Frame %ld\r\0", i); err = netconn_write(newc

[lwip-users] unsent_oversize mismatch / LPC1788+freeRtos / Basic TCP code : HELP !

2014-03-26 Thread Robert Lacoste
explanation of the problem, which seems strange based on the simple configuration. Any HELP ? Thanks, Robert Test code : static void tcpecho_thread(void *arg) { struct netconn *conn, *newconn; err_t err; unsigned long i = 0

[lwip-users] peer hangs up without closing the connection

2014-02-06 Thread Robert Wessels
? Thanks, Robert ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users

Re: [lwip-users] No delay between DHCP discoveries

2013-10-03 Thread Robert
config looks normal. DHCP works, static IP works and the webserver runs. > > The code clearly shows that there should an exponential back off of DHCP > discoveries but it does not work. Sounds like a timing issue. Check on (my values are given): DHCP_COARSE_TIMER_SECS

[lwip-users] Unixsim Problem

2013-08-13 Thread Robert McNeill
Dear all, I am currently trying to set up unixsim on my systems and I am running into a few problems. At present I am able to ping and telnet the tap0 interface from the same box. However, changing the gateway to 192.168.10.1 and the IP address to 192.168.10.2, I am unable to ping the new tap0

Re: [lwip-users] LwIP stops sending data (but keeps retrying forever) - caused by buffer chaining

2013-03-28 Thread Grimes, Robert
“I realize this isn’t an LwIP problem, but I bet a lot of people have this problem waiting to happen as soon as a short chained packet is sent.” And that is what these lists are for! Thanks for sharing! From: lwip-users-bounces+rgrimes=irobot@nongnu.org [mailto:lwip-users-bounces+rgrimes=i

[lwip-users] Problem setting receive timeouts

2012-12-20 Thread Grimes, Robert
I want to use a blocking UDP socket, and set a timeout value. If I don't set a timeout value, then calls to lwip_recv() will (properly) block until a packet is available - great! But if I set the timeout, lwip_recv() always returns immediately, usually with -1 - timeout. Any ideas what is wro

Re: [lwip-users] flow of lwip as a stream client

2012-03-01 Thread Robert
>I think that you should buffer the pbufs, and NOT call tcp_recved() until you consume a pbuf in your audio task. Nice idea but the function tcp_recved() is callback in the raw API so that is not possible as I understand it. What you can maybe do if you are writing the server software also is

Re: [lwip-users] flow of lwip as a stream client

2012-03-01 Thread Robert
le time. http://en.wikipedia.org/wiki/Circular_buffer and a nice tip for that don't do something like counter++ if(counter == bufferSize ){ counter = 0; } you can use instead the modulo of the buffer size. counter = (counter+1) % bufferSize I hope this can help you. Regards Robert Am 01.03

Re: [lwip-users] Print Macros

2011-04-14 Thread Robert
. The only disadvantage I think is that there are a few cases in the code where a "length" of the field is specified, and those would need their own macros. Robert Laughlin ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] Print Macros

2011-04-13 Thread Robert
rounding quotes are left off):: LWIP_DEBUGF(TCP_DEBUG, ("tcp_bind: bind to port %U16_F\n", port)); This should work on all compilers, I believe, and the resulting code would, of course be the same. I may have the only compiler that cannot cope with the macros

[lwip-users] IP packets getting dropped

2010-04-22 Thread Robert Schilling
gets dropped. The IP packet is corect. Checked with Wireshark. The IP-Header length is 20 byte and IP-data is 40 byte (correct for ICMP-Pig Request). But p->tot_len is always 58 or 59 in order to be greater than 60 byte (whole IP packet). I hope someone could help me. Thanks in advance! B

[lwip-users] Aw: Re:multithread netconn / udp echo on two differentthreads and ports

2010-04-14 Thread robert . braatz
. I’ll debug this. Robert > LwIP netconn API is thread safety, I think. I have many waiting UDP / TCP > connections in separated thread and without problem. > Do you have this sample "echo server" from > http://cvs.savannah.gnu.org/viewvc/contrib/apps/udpecho/udpecho.c?re

[lwip-users] multithread netconn / udp echo on two different threads and ports

2010-04-13 Thread Robert Braatz
conn, &destip, port); netbuf_copy(buf, buffer, buf->p->tot_len); buffer[buf->p->tot_len] = '\0'; buf->addr=&destip; buf->port=port; netconn_send(conn, buf); netbuf_delete(buf); Many thanks for help Robert

[lwip-users] ARP requests but no reply

2010-04-09 Thread Robert Schilling
P reply. Can anyone help me for my problem? Thanks in advance! Best regards from Austria Robert ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] lwip-users@nongnu.org

2010-04-05 Thread Robert Schilling
dvance! Best regards from Austria Robert ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] doxygen & lwip problem

2009-09-10 Thread Reither, Robert (AU14)
e others, using the same way) The only way I can bring this to operate is to use doxygen 'PREDEFINED' config option, but this would be a nasty work to check to catch all needed options. Does someone know what I did wrong, or how to solve this in an easy way ? I'm using doxygen

[lwip-users] tcp_close() and lwip still holds pcb

2009-03-20 Thread Reither, Robert (AU14)
n the client has already terminated the connection, why does lwip still wait for some response ?? Robert Reither Research & Development Honeywell Life Safety Austria GmbH Lemböckgasse 49 1230 Wien/Vienna, Austria ___ lwip-users mailing list l

[lwip-users] ping.c with NO_SYS

2008-06-02 Thread robert
. ping_timeout() is also static, perhaps that would be what should be called, except that I have no sys_timeout() function as such. Has anyone been using the ping code with NO_SYS? And if so, how do you make it work for you? -- Best Regards, Robert Fighting SPAM with Active Spam Filter, see

RE: [lwip-users] memp.c with NO_SYS

2008-05-29 Thread robert
On Thu, 29 May 2008, Bill Auerbach wrote: I pasted in a part of the latest memp_std.h with NO_SYS tests. Any chance you've got a stale one? Yep, turns out I was using an older copy of memp.c. Sorry about that. -- Best Regards, Robert Fighting SPAM with Active Spam Filter, see: http:

RE: [lwip-users] memp.c with NO_SYS

2008-05-29 Thread robert
f(struct sys_timeout) }; Turning off LWIP_RAW causes a simpilar error for the "struct raw_pcb" entry. Of course I could just be doing something silly here...:) -- Best Regards, Robert Fighting SPAM with Active Spam Filter, see: http://a-s-k.sourceforge.net/

RE: [lwip-users] memp.c with NO_SYS

2008-05-29 Thread robert
Best Regards, Robert Fighting SPAM with Active Spam Filter, see: http://a-s-k.sourceforge.net/ ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] memp.c with NO_SYS

2008-05-29 Thread robert
eof(struct memp)))]; -- Best Regards, Robert Fighting SPAM with Active Spam Filter, see: http://a-s-k.sourceforge.net/ ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users

[lwip-users] netconn_write blocking

2007-10-08 Thread Lukefahr, Andrew Robert (UMC-Student)
Hi, I have an application that is sending out TCP data to several client using the sequential API. When a client disconnects gracefully, netconn_write returns a negative value, and I can close the connection. However, if any of the clients locks up (i'm using embedded clients), or a cable gets

Re: RE : RE : [lwip-users] Multi-cast UDP messages?

2007-05-15 Thread Robert Morse
Thanks, That netif_set_default() did the trick. Robert On May 14, 2007, at 6:15 PM, Frédéric BERNON wrote: Sending a datagram to a multicast group doesn't really need any route: the lower 23bits of IP address are "mapped" on 23bits of MAC address. See etharp_output :

Re: RE : [lwip-users] Multi-cast UDP messages?

2007-05-14 Thread Robert Morse
higher level??) I do see that it looks like multi-cast input is supported (Though I don't know how much), along with IGMP. I cannot figure out how to do the Multi-cast output. Any help on where to look, or any other suggestions. Thanks Robert On May 11, 2007, at 10:33 AM, Robert

Re: RE : [lwip-users] Multi-cast UDP messages?

2007-05-11 Thread Robert Morse
from netconn_connect(..). Thanks, at least I know that the stack supports it so I will keep looking. Robert On May 11, 2007, at 10:24 AM, Frédéric BERNON wrote: Hi, I know that even before 1.1.0, we could send UDP on multicast address (when I start with lwIP, that was one of first tests I

[lwip-users] Multi-cast UDP messages?

2007-05-11 Thread Robert Morse
Hi, I am trying to get version 1.2 of the lwip stack going, and while I am having no problems with Webservers, an normal upd traffice. But I have the need to send multi-cast UDP packets and running into the whole stack locking up, and causing a reboot. My question, is does the stack sup

Re: [lwip-users] LWIP capabilities

2007-04-18 Thread Robert Morse
On Apr 18, 2007, at 4:44 PM, Jonathan Larmour wrote: Robert Morse wrote: My driver, in the receive interrupt, just messages a HIGH priority task, to actually handle passing the data into the lwip stack. How specifically does it do that? Does it call etharp_ip_input() directly for

[lwip-users] LWIP capabilities

2007-04-18 Thread Robert Morse
er to figure out where it is stopping. My driver, in the receive interrupt, just messages a HIGH priority task, to actually handle passing the data into the lwip stack. So, my question is do you think I am pushing the lwip stack to far? Robert ___

Re: [lwip-users] LWIP 1.2 issue.

2007-04-17 Thread Robert Morse
is closed. I am trying to tack down how to catch the problem, and figure out who is dropping the packet. As I cannot see any other packets being dropped, and the dropping of the [ACK] is rare. Robert ___ lwip-users mailing list lwip-users@nongn

Re: [lwip-users] LWIP 1.2 issue.

2007-04-16 Thread Robert Morse
p for 16 transmit buffers. Just a quick question. Robert Kieran ___ lwip-users mailing list lwip-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-

[lwip-users] LWIP 1.2 issue.

2007-04-16 Thread Robert Morse
ACK). Also I am getting the following Messages: (I have some debugging turned on). tpc_listen_input: ACK in LISTEN, sending reset. tcp_rst: seqno 5984823 ackno 3514939349. This is repeated once in a while. Any helps on where to look or any suggestions would be great. Robert dup.pcap

  1   2   >