lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] FreeRtos lwip Thread stops


From: Erkan Ersoy
Subject: Re: [lwip-users] FreeRtos lwip Thread stops
Date: Fri, 17 Jun 2016 14:51:52 +0000 (UTC)

Thank you Noam.

I am not using raw api's TCP part. (raw api is disabled at lwipopts.h). Raw Api has beautiful web server example that covers everything (SSI, post, dynamic files). I couldn't find an example like that for netconn. So i get parts that i am copying codes that doing that staff from there




On Thursday, June 16, 2016 6:38 PM, Noam Weissman <address@hidden> wrote:


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.
 
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:address@hidden] On Behalf Of Erkan Ersoy
Sent: Thursday, June 16, 2016 11:42 AM
To: address@hidden
Subject: [lwip-users] FreeRtos lwip Thread stops
 
    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
 
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
 

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]