lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LwIP in Power save mode


From: address@hidden
Subject: Re: [lwip-users] LwIP in Power save mode
Date: Fri, 14 Dec 2018 20:08:55 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3

Am 14.12.2018 um 10:59 schrieb Amena El Homsi:
Hi,

Most embedded systems have a power save mode in which memory is shut down and the state is saved in a non-volatile memory.

Does LwIP have a list of variables that should be saved and restored to resume proper functionality?

No.

I guess for a network stack, it's not *that* easy to just save some variables and resume. You need to save state, not variables. And that requires thinking: what state do you need to preserve; how long have you been powered down, etc. For example, it doesn't make sense to try and let TCP connections survive such a RAM power-down.

lwIP should provide all APIs to resume (if not, add them!), but you'll have to add your own code to use them.

Simon



reply via email to

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