Giuseppe wrote...
I'm trying to integrate lwip and mbedTLS on a project running on LPC1769 MCU
from NXP. This MCU features 64kB SRAM in two separate banks of 32kB.
I don’t have any particular experience of the lwIP + mbedTLS combination
that you are using and how to tune it but I have recently
Back in December 2018 you wrote…
I am very new to the lwIP and web development, and I need some
directions.
I've seen a lot of cool demo of websocket + webserver on ESP8266
platform on
youtube and I am wondering if lwIP can achieve the same. I am using
SAM E70
Xplained Atmel development boa
Simon wrote...
Yes. Just follow the defines:
LWIP_MALLOC_MEMPOOL() -> LWIP_MEMPOOL() -> LWIP_MEMPOOL_DECLARE() ->
memp.h lint 95 (git head) instantiates the memory via
LWIP_DECLARE_MEMORY_ALIGNED()
The plot thickens…
I tried to follow this code but couldn’t find some of the defines. It
tu
That macro allocates pools of X elements with Y bytes each.
It allocates (14 * 75) + (6 * 225) + (1 * 525) + (3 * 1540) bytes plus
a little offset for administration, so roughly 7,5 kB.
Is that memory being allocated by the linker in either the .data or .bss
sections or is it pulled from the hea
Hello,
I’m trying to figure out the memory settings being used by a project
that I have inherited. The lwipopts.h file contains:
#define MEM_USE_POOLS1
#define MEMP_USE_CUSTOM_POOLS1
#define MEM_USE_POOLS_TRY_BIGGER_POOL1
I think this means that it allocates the memory that is defined in
lw
Dirk wrote...
Yes, it is functional (git head or 2.1 beta). Be aware the user needs
to implement a lot of things for it (user/password management). The MIB
compiler is not affected by the SNMP version.
Thanks for the good news. This is an upgrade to an existing system so
it is looking like an
Hello,
I am trying to make sense of the current state of SNMP v3 in lwIP as the
documentation seems a little confused. Is SNMP v3 fully functional and
does the MIB compiler support it?
-Andy.
___
lwip-users mailing list
lwip-users@nongnu.org
htt
Hi Sylvain,
> First, could you git bisect, bad HEAD, good
> 02bddd251a571dbc0efd310f29bb1d3aa004afb3 (~ Fri Oct 9 2015) to find the
> offending commit ?
So, git bisect all the way back to the Oct 9 commit didn't show anything.
Poking around looking at some of the contents of the netif structure
Hi Sylvain,
> First, could you git bisect, bad HEAD, good
> 02bddd251a571dbc0efd310f29bb1d3aa004afb3 (~ Fri Oct 9 2015) to find the
> offending commit ?
I have never tried a git bisect before but I will give it a go! I did cheat
and downloaded the new version from the tarball rather than git!
Hello,
I have switched the network code I was using to the 2.0.0-beta1 release that
we were notified about earlier in the week and my previously working
application code is now throwing an error.
The initialisation of the stack is as follows:
netif_add(&lwipnetif, &ipaddr, &netmask, &gat
Hello Sergio,
> You may or may not receive a single pbuf, it depends on memory
> conditions when the stack puts a received frame to memory, and that is
> the job of the layer-2 driver, which you should validate by running
> known to work applications and a known to work lwip port for your
> hardwa
Hello,
I am working on a bare metal project using NO_SYS=1 implementing a simple
HTTP client request to a remote web server. The responses from the web
server (Apache+PHP) are either a custom HTTP error code such as 601, 701,
etc. which have a specific meaning or 200 (standard HTTP OK response) i
Hi Sergio,
> Your problem with resending requests seems to be the subtleties of the
> HTTP and TCP protocols. In TCP, you either have a connection
> established and can send data, or you don't. If you need to close the
> connection, then call the close function, if you need to send data again,
>
Hello,
As explained in some of the previous emails I have implemented (using
examples from the internet) a simple HTTP client sat on top of the raw
interface. The program flow is roughly as follows...
- main() calls a function called http_send_request() which registers the
callback functions and
The saga continues...
> I can't see anything obvious in the lwIP code that would corrupt this.
This was down to me, netif -> state was pointing to something that was
created on the stack and which no longer existed!
Having resolved that, it appears that it is getting a bit further but the
call
Beginning to wonder if I am sat here on my own...
> I have resolved the issue with sys_now() but am still seeing nothing
> from the tcp_connect() function appearing on the wires.
Having done some more debugging it appears that somewhere between the
successful DHCP negotiation completing and cal
Emailing myself again...
> It appears that my sys_now() function is hanging despite the fact it
> worked when being used in the DHCP process and the UDP connection
> that entailed.
I have resolved the issue with sys_now() but am still seeing nothing from
the tcp_connect() function appearing on t
To (part) answer my own question...
> Following that code, it is trying to work but the call to tcp_connect()
> hangs when it tries to execute the following line:
>
> TCP_REG_ACTIVE(pcb);
Within the TCP_REG_ACTIVE() definition there is a call to tcp_timer_needed()
which eventually makes its
Hello,
I am currently in the final stages of developing an application with lwIP
(using current top of tree sources) that is executed as x86 ROM code
(NO_SYS=1, LWIP_SOCKET=0 and LWIP_NETCONN=0). The network interface is
working (to the level it has currently been tested) as it can get its IP
add
Hello,
If I want to obtain some information on a particular network interface then
I can call the netif_find() function to return the netif structure
associated with the interface.
Is there a corresponding function that returns the name of the current
active interface that can be passed into ne
Hello,
As I don't have access to a C library malloc() function I tried making a
call to mem_malloc() elsewhere in the project outside of the lwIP source
tree. That call hangs and I am in the process of debugging it.
As a quick alternative I thought I would define MEM_USE_POOLS as 1 in
lwipopts
Hello Sergio,
> In the first case, you should google for HTTP POST ;^)
> In the second case, would you be so kind to describe which API you are
> using and what is the problem you are facing?
It is the second case! I am implementing something which is baremetal on an
x86 and so I currently have
Hello,
I am trying to find an example of how to send a HTTP client request to a PHP
page on an Apache httpd/PHP server with data that the PHP page can get
access to using $_POST[].
I think I must be looking in the wrong places as I can't find anything. Can
someone point me in the right direction
Hello!
I am currently trying to get an implementation of lwIP working but the
netif_add() function never returns and the system hangs.
Having done some debugging and trying to figure out where it gives up I have
got as far as determining that this bit of net_set_ipaddr() called by
netif_set_addr(
Hello,
This may be a bit of a long shot but has anyone got a No-OS implementation
of a PCI Ethernet hardware interface driver I could use as reference
material or know where to get one from?
Thanks,
Andy.
___
lwip-users mailing list
lwip-users@nongn
Hello,
Here is the scenario... I am incorporating lwIP into a BIOS extension for
use on an x86 platform. ROM space is therefore limited (64K max for
everything) as are the services that are available.
I only need to be able to support a sufficiently small subset of features
such that I have IP
Hello,
I am currently working on integrating lwIP into a project which is built
using gcc v5.1.0 for a 32bit x86 platform. The project mandates the
following compile command line switches:
-funsafe-loop-optimizations -Wunsafe-loop-optimizations -Werror
When using those command line options the
27 matches
Mail list logo