lwip:add function for deinit lwip timers

This commit is contained in:
xueyunfei
2021-08-24 14:46:33 +08:00
committed by BOT
parent bc61578d68
commit e7e962b8d0
2 changed files with 11 additions and 1 deletions

View File

@@ -306,6 +306,16 @@ The default lwIP implementation is to have these timers enabled all the time, ev
To return to the default lwIP behaviour (always-on timers), disable :ref:`CONFIG_LWIP_TIMERS_ONDEMAND`.
Lwip timers API
+++++++++++++++
When users are not using WiFi, these APIs provide users with the ability to turn off LwIP timer to reduce power consumption.
The following API functions are supported. For full details see :component_file:`lwip/lwip/src/include/lwip/timeouts.h`.
- ``sys_timeouts_init()``
- ``sys_timeouts_deinit()``
Abort TCP connections when IP changes
+++++++++++++++++++++++++++++++++++++