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

_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to