|
From: | contact |
Subject: | Re: [lwip-users] ESP8266 as WiFi to PPP Bridge |
Date: | Fri, 27 Jan 2017 20:38:56 +0530 |
I agree ESP8266 LwIP stack is heavily modified and source provided with FreeRTOS sdk it never compiles. I even post on forum but no response from dev team. Most of the errors were of implicit function declaration, stack is calling functions in library with no header file defining its prototype. Adding those prototypes compiles the stack successfully. Another Limitation or bug I would say in stack is, you cannot send chained pbuf to stack for sending. It crashes… I came to know recently. Hope their dev team shifts to a better newer and stable stack soon. I have used FreeRTOS SDK on ESP8266 as well as on other platforms. Its stable till the time you know how to use it. Any wrong API usage can easily break your application. Most common mistakes I have seen is during IRQ context. Can you share link of modified lwIP 2.0.0 stack?
From: Sergio R. Caprile TCP/IP stack in ESP8266 is a heavily modified development branch between 1.4.0 and 1.4.1 stable versions. The non-OS usage of this little beast requires releasing cpu quite frequently for wifi duties, so they require using os_ versions of the standard C library functions. Don't know how friendly the FreeRTOS SDK is, nor if it is stable, last time I checked it was a beta. There is someone in the net who tracked changes and released a modified pre 2.0.0. stack. Having been digging into some of their example code, I do not recommend this piece of engineering for production use in communications devices. It may work OK for connect/do your work/disconnect stuff in devices with some communications capabilities. Your mileage will vary. _______________________________________________ lwip-users mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/lwip-users |
[Prev in Thread] | Current Thread | [Next in Thread] |