|
From: | Noam Weissman |
Subject: | Re: [lwip-users] FreeRtos lwip Thread stops |
Date: | Thu, 16 Jun 2016 14:03:20 +0000 |
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:lwip-users-bounces+address@hidden
On Behalf Of Erkan Ersoy 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. Thank you
On Thursday, June 16, 2016 2:17 PM, Noam Weissman <address@hidden> wrote: Hi, Questions: 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. BR, Noam. From: lwip-users [mailto:lwip-users-bounces+address@hidden]
On Behalf Of Erkan Ersoy Hello 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. So i have 2 questions
- Why a thread stops? - 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). Thank you
_______________________________________________ |
[Prev in Thread] | Current Thread | [Next in Thread] |