Chapter 2. API Reference
The IP address may be lost because of some reasons, e.g. when the station disconnects from soft-AP,
or when DHCP IP renew fails etc. If the IP lost timer is enabled, it will be started everytime the IP is
lost. Event SYSTEM_EVENT_STA_LOST_IP will be raised if the timer expires. The IP lost timer is
stopped if the station get the IP again before the timer expires.
Range:
• from 0 to 65535
Default value:
• 120
CONFIG_ESP_NETIF_USE_TCPIP_STACK_LIB
TCP/IP Stack Library
Found in:
Component config
Choose the TCP/IP Stack to work, for example, LwIP, uIP, etc.
Available options:
• LwIP (ESP_NETIF_TCPIP_LWIP)
lwIP is a small independent implementation of the TCP/IP protocol suite.
• Loopback (ESP_NETIF_LOOPBACK)
Dummy implementation of esp-netif functionality which connects driver transmit to receive
function. This option is for testing purpose only
CONFIG_ESP_NETIF_TCPIP_ADAPTER_COMPATIBLE_LAYER
Enable backward compatible tcpip_adapter interface
Found in:
Component config
Backward compatible interface to tcpip_adapter is enabled by default to support legacy TCP/IP stack
initialisation code. Disable this option to use only esp-netif interface.
Default value:
• Yes (enabled)
PHY
Contains:
•
CONFIG_ESP_PHY_ENABLE_USB
•
CONFIG_ESP_PHY_MAX_WIFI_TX_POWER
•
CONFIG_ESP_PHY_REDUCE_TX_POWER
•
CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
•
CONFIG_ESP_PHY_INIT_DATA_IN_PARTITION
CONFIG_ESP_PHY_CALIBRATION_AND_DATA_STORAGE
Store phy calibration data in NVS
Found in:
Component config
If this option is enabled, NVS will be initialized and calibration data will be loaded from there. PHY
calibration will be skipped on deep sleep wakeup. If calibration data is not found, full calibration will
be performed and stored in NVS. Normally, only partial calibration will be performed. If this option is
disabled, full calibration will be performed.
If it's easy that your board calibrate bad data, choose'n'. Two cases for example, you should choose
'n' : 1.If your board is easy to be booted up with antenna disconnected. 2.Because of your board design,
each time when you do calibration, the result are too unstable. If unsure, choose 'y'.
Default value:
• Yes (enabled)
Espressif Systems
>
ESP NETIF Adapter
>
ESP NETIF Adapter
>
PHY
1115
Submit Document Feedback
Release v4.4
Need help?
Do you have a question about the ESP32-S2 and is the answer not in the manual?
Questions and answers