Hi,
I never worked with netconn so I have nothing to add on that, sorry
As for RAW API, are you aware that you must do all the processing of anything related to
RAW API in the same context thread ?
If you use RAW API and netconn together you should be careful… why not take the RAW API
Web server and run all as RAW API ?
BR,
Noam.
From: lwip-users [mailto:address@hidden
On Behalf Of Erkan Ersoy
Sent: Thursday, June 16, 2016 2:27 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] FreeRtos lwip Thread stops
1- I am using netconn api both for web server and web client.
2- Web server is I took code from netconn web server example from ST examples and merged with some raw api example codes which i changed or removed
so file names aren't statically embedded in code. It searches for the file and sends it dynamically. I will add post functunallity later for settings. But now I want to be sure about how it functions with web server together. For now web server functions well
even after http client stops.
On Thursday, June 16, 2016 2:17 PM, Noam Weissman <address@hidden> wrote:
1.
What mode are you using: RAW API, Netconn or Socket ?
2.
Is the web server something you wrote or some code from the contribution ?
You can either use STM32 has own IWDG hardware or create some task that monitors activity.
So my device uses lwip 8.2.3 and lwip 1.4.1. STM32F107
I have web server running and a thread connects a web site take down information parse it and sleep 250ms . And a thread blinks a led. Yesterday I left
my device for testing and about 2 hours http client thread stopped wiyhout any error.
- is it possible to make a thread that monitors other threads and if it stops starts it again or restarts the device. (or one after another if one fails).