[lwip-users] SNMP read, write communities

2015-02-10 Thread Matthias Dübon
Hello everyone, I have seen the SNMP example in lwip-contrib. As far as I understand there is only one community right now. I am wondering if it's a big effort to add SNMP read, write communities to this SNMP stack. Any hints/thoughts are very appreciated. regards Matthias __

Re: [lwip-users] tcp listen backlog

2014-12-03 Thread Matthias Dübon
Hi Martin, sorry the http_ssl_recv is a type, it should be http_recv. As example for the raw API I can recommend the httpdserver_raw in the lwip-contrib folder. I used it with the minimal example from the lwip-contrib. best Matthias On Wed, Dec 3, 2014 at 10:32 AM, martinh wrote: > Hello Matth

[lwip-users] tcp listen backlog

2014-12-03 Thread Matthias Dübon
Hello everyone, I am using lwip for server application on raw API and want max. 1 active tcp connection. Therefore I set the following defines in liwpopts.h: #define TCP_LISTEN_BACKLOG 1 #define TCP_DEFAULT_LISTEN_BACKLOG 1 and I implemented my server with: pcb = tcp_listen_wi

[lwip-users] dev/tun network interface

2014-11-26 Thread Matthias Dübon
Hello everyone, in the lwip-contrib example ports is a minimal unix project included that uses a /dev/net/tun device as network interface with file read and file write operations to read from resp. write to the network interface. Now I am wondering is it possible to use the "normal" eth interface

Re: [lwip-users] SNMP example

2014-11-07 Thread Matthias Dübon
Hi Kerem, in the lwip-contrib folder you should find a linux project (minimal) with SNMPv1 support included. best Matthias __ Ingenieurbüro Dübon Vor dem Kreuzberg 28 D-72070 Tübingen Tel +49 (0) 7071.1384161-08 matthias.due...@ing-duebon.de www.

Re: [lwip-users] tcp_tmr and timers.c

2014-10-29 Thread Matthias Dübon
: > Matthias Dübon wrote: >> >> calling sys_check_timeouts in the main loop does not suffice, cause >> the tcp_tmr is not activated in the timers.c module. > > > Matthias, there would be something seriously wrong with your code if calling > sys_check_timeouts wouldn

Re: [lwip-users] tcp_tmr and timers.c

2014-10-27 Thread Matthias Dübon
Hi Sergio, calling sys_check_timeouts in the main loop does not suffice, cause the tcp_tmr is not activated in the timers.c module. For me the natural solution would be to add tcp_tmr activation to timers.c and then call sys_check_timeouts in my main loop. But I am not sure if there's a reasion wh

[lwip-users] tcp_tmr and timers.c

2014-10-27 Thread Matthias Dübon
Hello everyone, I am diving into lwip and I have "found" the timers.c module. This module seems to be a nice possibility to setup the different timer (e.g. for arp, DHCP, ...). But I am wondering why is the call to tcp_tmr not included in timers.c? Are there any architectural reasons or do I unde

Re: [lwip-users] lwip minimal example, echo server

2014-10-07 Thread Matthias Dübon
ags = NETIF_FLAG_BROADCAST | NETIF_FLAG_ETHARP | NETIF_FLAG_IGMP; everything is working fine. best Matthias On Tue, Oct 7, 2014 at 12:39 PM, Matthias Dübon wrote: > Hello Sergio, > > thanks for your support, I found my mistake, I changed the IP address > from 192.168.0.2 to 172.168.

Re: [lwip-users] lwip minimal example, echo server

2014-10-07 Thread Matthias Dübon
Hello Sergio, thanks for your support, I found my mistake, I changed the IP address from 192.168.0.2 to 172.168.0.2 because the 192.168.0.2 is already taken in my network. When using 192.168.5.2 everything is working fine. Hence I think I have to read something more about tap devices and default g

[lwip-users] lwip minimal example, echo server

2014-09-26 Thread Matthias Dübon
Hello everyone, I am quite new to lwip and I tested the lwip minimal example in the lwip-contrib folder under a linux (Ubuntu) system. The example is running, I see SNMP output messages but I am not able resp. I don't understand how to use the echo server. I turned on all debug messages and used a