Chapter 2. API Reference
Default value:
• 1
CONFIG_MDNS_TASK_STACK_SIZE
mDNS task stack size
Found in:
Component config
Allows setting mDNS task stacksize.
Default value:
• 4096
CONFIG_MDNS_TASK_AFFINITY
mDNS task affinity
Found in:
Component config
Allows setting mDNS tasks affinity, i.e. whether the task is pinned to CPU0, pinned to CPU1, or allowed
to run on any CPU.
Available options:
• No affinity (MDNS_TASK_AFFINITY_NO_AFFINITY)
• CPU0 (MDNS_TASK_AFFINITY_CPU0)
• CPU1 (MDNS_TASK_AFFINITY_CPU1)
CONFIG_MDNS_SERVICE_ADD_TIMEOUT_MS
mDNS adding service timeout (ms)
Found in:
Component config
Configures timeout for adding a new mDNS service. Adding a service fails if could not be completed
within this time.
Range:
• from 10 to 30000
Default value:
• 2000
CONFIG_MDNS_STRICT_MODE
mDNS strict mode
Found in:
Component config
Configures strict mode. Set this to 1 for the mDNS library to strictly follow the RFC6762: Currently the
only strict feature: Do not repeat original questions in response packets (defined in RFC6762 sec. 6).
Default configuration is 0, i.e. non-strict mode, since some implementations, such as lwIP mdns resolver
(used by standard POSIX API like getaddrinfo, gethostbyname) could not correctly resolve advertised
names.
Default value:
• No (disabled)
CONFIG_MDNS_TIMER_PERIOD_MS
mDNS timer period (ms)
Found in:
Component config
Configures period of mDNS timer, which periodically transmits packets and schedules mDNS searches.
Espressif Systems
>
mDNS
>
mDNS
>
mDNS
>
mDNS
>
mDNS
1205
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?