Questions tagged [lwip]

lwIP is a light-weight implementation of the TCP/IP protocol.

lwIP is a light-weight implementation of the TCP/IP protocol. It is often used in embedded systems. The project website is: http://savannah.nongnu.org/projects/lwip/

271 questions
13
votes
4 answers

Does lwIP support Zeroconf?

I see that lwIP has some AutoIP (aka IPv4LL, aka RFC 3927) code, but I can't tell if it does anything higher up in the Zeroconf stack, namely mDNS and DNS-SD (with RFC 2782). So, does lwIP support DNS-SD service discovery? If not, would it be easy…
pr1001
  • 20,621
  • 16
  • 74
  • 123
11
votes
2 answers

Chip to chip communication protocol over SPI

I'm trying to design an efficient communication protocol between a micro-controller on one side and an ARM processor on a multi-core TI chip on the other side through SPI. The requirements for the needed protocol: 1 - Multi-session with queuing…
Wessam
  • 111
  • 1
  • 1
  • 6
10
votes
2 answers

How can I send a simple HTTP request with a lwIP stack?

Please move/close this if the question isn't relevant. Core: Cortex-M4 Microprocessor: TI TM4C1294NCPDT. IP Stack: lwIP 1.4.1 I am using this microprocessor to do some data logging, and I want to send some information to a separate web server via a…
tgun926
  • 1,363
  • 3
  • 19
  • 31
9
votes
2 answers

UDP broadcast/multicast vs unicast behaviour (dropped packets)

I have an embedded device (source) which is sending out a stream of (audio) data in chunks of 20 ms (= about 330 bytes) by means of a UDP packets. The network volume is thus fairly low at about 16kBps (practically somewhat more due to UDP/IP…
djbuijs
  • 246
  • 1
  • 2
  • 8
8
votes
0 answers

Cant install LWIP through NPM (ZLIB_VERNUM != PNG_ZLIB_VERNUM)

LWIP could not be installed though NPM. lwip is being used to create sprites with sprity package Reading from the log, it states that i need to update some constants (see code below). In file included from…
SinisterGlitch
  • 165
  • 2
  • 22
8
votes
1 answer

Invoking a node module from react component

How do I use Node Modules for example 'lwip' in React component ? This is for an electron application. Updating the question with Code: This is the react component from which I am trying to invoke another .js file. button.js import React from…
Vasista
  • 227
  • 4
  • 14
8
votes
4 answers

LightWeight IP: Buffer not freeing

I'm using an TCP/IP stack called lwip. I have implemented a function below to send data packets, inspired from a similar callback function that receives data packets. Each time a packet is received, I create a buffer using the pbuf_alloc function.…
Randomblue
  • 98,379
  • 133
  • 328
  • 526
7
votes
2 answers

Zeroconf Name resolution

I am developing a control device with an embedded webserver. The webserver provides a control interface to any web browser that requests it (from Windows browsers, Mac browsers, iPhone android etc). The problem I am having is with a general way of…
Robert Jerome
  • 71
  • 1
  • 2
7
votes
3 answers

NTP Request Packet

I'm trying to figure out what I need to send (client) in the NTP request package to retrieve a NTP package from the server. I'm working with the LWIP on Cortex M3, Stellaris LM3S6965 I understand that I will recieve a UDP header and then the NTP…
Sharpless512
  • 2,641
  • 5
  • 27
  • 54
7
votes
4 answers

LWIP + RTOS - how to avoid netconn block the thread forever?

When the LwIP netconn_accept() or netconn_recv() function is called, if we are using a RTOS, it will block the thread and wait for a connection until timeout or forever, depends on the setting of LWIP_SO_RCVTIME0. The timeout duration is equal to…
eepty
  • 688
  • 2
  • 9
  • 24
7
votes
1 answer

LwIP - netconn API - Send a TCP packet while the process is blocked?

I am using FreeRTOS + LwIP to develop a Ethernet based bedside nurse call device. After reading some examples and document, I want to use the LwIP's netconn API to send and receive data under TCP, because I am not familiar with the BSD style API and…
eepty
  • 688
  • 2
  • 9
  • 24
5
votes
1 answer

How do I get available memory from lwIP's mem_malloc?

I'm using lwIP on an embedded device, and I feel that I may be running into some bugs related to running out of memory. I know that the mem_malloc function itself will return null when a memory allocation fails, but is there any way to get a rough…
mikepurvis
  • 1,448
  • 1
  • 18
  • 27
5
votes
0 answers

Implementing VPN in an embedded system using LwIP

I've been asked to implement VPN capabilities in an existing software project on an embedded system, in order to make the device available via network to an external server while avoiding trouble with firewalls (no need for encryption, just to make…
4
votes
3 answers

join igmp_group not working in lightwight IP (lwip)

I'm new to lwip, and I want to create a multicast receiver with lwip. My steps are as follow: 1. Enable LWIP_IGMP; 2. Set NETIF_FLAG_IGMP in low_level_init(); 3. Join multicast group, create and bind pcb; 4. udp_connect to remote_ip (or multicast IP…
user3567175
  • 41
  • 1
  • 2
4
votes
1 answer

Performance issues when using the raw TCP API of lwIP

I use lwIP to add networking functionality to my system. On my platform i built a buffer that i want to send every time it is full. This can happen quite quickly. The system is directly connected to a switch in a private LAN. Initially the sending…
Arnold4107176
  • 175
  • 1
  • 4
  • 7
1
2 3
18 19