|
From: | Jaime Fernandez Hoffiz |
Subject: | Re: [lwip-users] Help with LwIP Modem |
Date: | Fri, 15 Jul 2016 10:57:02 -0500 |
Thanks Sergio, Yes, I will spend sometime with the docs. "I call netif_add() passing ethernet_input() as my input function; then I call my_netif->input() from the same and only context the other lwIP functions run, no interrupts, because this is NO_SYS=1"vAm I correct? Yes, I modified this implementation to: instead of calling ethernet_input() directly, I call my_netif->input(). But my library is built with NO_SYS=0. In a previous email Simon suggested that the port is calling my_netif->input() from the tcpip thread thus should be ok. I have not been successful in changing it to work with tcpip_input(). I would like to still use the interrupts. What I'm trying to do is set lwip to work with interrupts, not polling, but intercepting the Ethernet packet as is. Potentially not even pass it to lwip but relay it out. Like a repeater. You could argue that it could be done without lwip but I kind of like the pbuf and how the port was implemented. Again thanks for your suggestions and patience. On Fri, Jul 15, 2016 at 8:33 AM, Sergio R. Caprile <address@hidden> wrote: Perhaps you might spend some quality time with the docs |
[Prev in Thread] | Current Thread | [Next in Thread] |