Merge branch 'feature/add_function_for_deinit_lwip_timers' into 'master'

lw-ip:add function for deinit lwip timers

Closes ESPCS-675

See merge request espressif/esp-idf!14921
This commit is contained in:
Jiang Jiang Jian
2021-10-14 03:41:01 +00:00
2 changed files with 11 additions and 1 deletions

View File

@@ -358,6 +358,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
+++++++++++++++++++++++++++++++++++++