[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] How to shut TCP and PPP tasks.
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] How to shut TCP and PPP tasks. |
Date: |
Mon, 16 Mar 2015 22:01:41 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hello,
On Mon, Mar 16, 2015 at 06:06:48AM -0700, rohanm wrote:
> hiii.
>
> i am working on ppp over serial code using GSM.i have successfully connected
> ppp using gsm.but in my application,i need to stop whole lwip functions and
> again resume it after some application level task.so is it possible to stop
> ppp and tcp ip threads and again resume it.i have tried lwip_close() and
> pppclose function.but ppp and tcp task still running .i need to stop both
> these task..pls help.
It depends on your port, not lwIP. The only thing missing in lwIP is a
way to declare the ending code that's often necessary at the end of
threads for embedded OS, (e.g. vTaskDelete(NULL); for FreeRTOS), but
this is really easy to add and should not prevent you to do the rest at
all.
Sylvain
signature.asc
Description: Digital signature