Espressif ESP32-S2 Programming Manual page 1190

Table of Contents

Advertisement

Chapter 2. API Reference
LWIP RAW API
Contains:
CONFIG_LWIP_MAX_RAW_PCBS
CONFIG_LWIP_MAX_RAW_PCBS
Maximum LWIP RAW PCBs
Found in:
Component config
The maximum number of simultaneously active LWIP RAW protocol control blocks. The practical
maximum limit is determined by available heap memory at runtime.
Range:
• from 1 to 1024
Default value:
• 16
SNTP
Contains:
CONFIG_LWIP_SNTP_MAX_SERVERS
CONFIG_LWIP_SNTP_UPDATE_DELAY
CONFIG_LWIP_DHCP_GET_NTP_SRV
CONFIG_LWIP_SNTP_MAX_SERVERS
Maximum number of NTP servers
Found in:
Component config
Set maximum number of NTP servers used by LwIP SNTP module.
sntp_setserver/sntp_setservername functions is limited to this value.
Range:
• from 1 to 16
Default value:
• 1
CONFIG_LWIP_DHCP_GET_NTP_SRV
Request NTP servers from DHCP
Found in:
Component config
If enabled, LWIP will add'NTP' to Parameter-Request Option sent via DHCP-request. DHCP server
might reply with an NTP server address in option 42. SNTP callback for such replies should be set
accordingly (see sntp_servermode_dhcp() func.)
Default value:
• No (disabled)
CONFIG_LWIP_DHCP_MAX_NTP_SERVERS
Maximum number of NTP servers aquired via DHCP
Found in:
Component config
Set maximum number of NTP servers aquired via DHCP-offer. Should be less or equal to "Maximum
number of NTP servers", any extra servers would be just ignored.
Range:
• from 1 to 16 if
Default value:
• 1 if
CONFIG_LWIP_DHCP_GET_NTP_SRV
Espressif Systems
>
LWIP
>
LWIP RAW API
>
LWIP
>
SNTP
>
LWIP
>
SNTP
>
LWIP
>
SNTP
>
CONFIG_LWIP_DHCP_GET_NTP_SRV
CONFIG_LWIP_DHCP_GET_NTP_SRV
1179
Submit Document Feedback
First argument of
Release v4.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ESP32-S2 and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF