Merge branch 'fix/wifi_docs_remove_nonexistent_lwip_opt' into 'master'

fix(wifi): Remove non-existent LWIP option from docs

See merge request espressif/esp-idf!34055
This commit is contained in:
David Čermák
2024-11-21 14:24:12 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -275,7 +275,7 @@ Another thing that deserves attention is that the default behavior of LwIP is to
- Five seconds later, the Wi-Fi connection is restored because :cpp:func:`esp_wifi_connect()` is called in the application event callback function. **Moreover, the station connects to the same AP and gets the same IPV4 address as before**.
- Sixty seconds later, when the application sends out data with the keep-alive socket, the socket returns an error and the application closes the socket and re-creates it when necessary.
In above scenarios, ideally, the application sockets and the network layer should not be affected, since the Wi-Fi connection only fails temporarily and recovers very quickly. The application can enable "Keep TCP connections when IP changed" via LwIP menuconfig.
In above scenarios, ideally, the application sockets and the network layer should not be affected, since the Wi-Fi connection only fails temporarily and recovers very quickly.
IP_EVENT_STA_GOT_IP
++++++++++++++++++++++++++++++++++++

View File

@@ -275,7 +275,7 @@ WIFI_EVENT_STA_DISCONNECTED
- 5 秒后,因为在应用程序的事件回调函数中调用了 :cpp:func:`esp_wifi_connect()`Wi-Fi 连接恢复。**同时station 连接至同一个 AP 并获得与之前相同的 IPV4 地址。**
- 60 秒后,当应用程序发送具有保持活动状态的套接字的数据时,套接字将返回错误,应用程序将关闭套接字并在必要时重新创建。
在上述场景中,理想状态下应用程序套接字和网络层将不会受到影响,因为在此过程中 Wi-Fi 连接只是短暂地断开然后快速恢复。应用程序可通过 LwIP menuconfig 启动“IP 改变时保持 TCP 连接”的功能。
在上述场景中,理想状态下应用程序套接字和网络层将不会受到影响,因为在此过程中 Wi-Fi 连接只是短暂地断开然后快速恢复。
IP_EVENT_STA_GOT_IP
++++++++++++++++++++++++++++++++++++