Multicast DNS
This module includes configuration variables for the Multicast DNS (mDNS).
Summary
Macros |
|
---|---|
OPENTHREAD_CONFIG_MULTICAST_DNS_AUTO_ENABLE_ON_INFRA_IF OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE
|
Define to 1 for mDNS module to be automatically enabled/disabled on the same infra-if used for border routing based on infra-if state.
|
OPENTHREAD_CONFIG_MULTICAST_DNS_DEFAULT_QUESTION_UNICAST_ALLOWED 1
|
Specified the default value for
otMdnsIsQuestionUnicastAllowed() which indicates whether mDNS core is allowed to send "QU" questions (questions requesting unicast response). |
OPENTHREAD_CONFIG_MULTICAST_DNS_ENABLE 0
|
Define to 1 to enable Multicast DNS (mDNS) support.
|
OPENTHREAD_CONFIG_MULTICAST_DNS_ENTRY_ITERATION_API_ENABLE OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE
|
Define to 1 for mDNS module to provide mechanisms and public APIs to iterate over registered host, service, and key entries, as well as browsers and resolvers.
|
OPENTHREAD_CONFIG_MULTICAST_DNS_MOCK_PLAT_APIS_ENABLE 0
|
Define to 1 to add mock (empty) implementation of mDNS platform APIs.
|
OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE 0
|
Define to 1 to allow public OpenThread APIs to be defined for Multicast DNS (mDNS) module.
|
Macros
OPENTHREAD_CONFIG_MULTICAST_DNS_AUTO_ENABLE_ON_INFRA_IF
OPENTHREAD_CONFIG_MULTICAST_DNS_AUTO_ENABLE_ON_INFRA_IF OPENTHREAD_CONFIG_BORDER_ROUTING_ENABLE
Define to 1 for mDNS module to be automatically enabled/disabled on the same infra-if used for border routing based on infra-if state.
OPENTHREAD_CONFIG_MULTICAST_DNS_DEFAULT_QUESTION_UNICAST_ALLOWED
OPENTHREAD_CONFIG_MULTICAST_DNS_DEFAULT_QUESTION_UNICAST_ALLOWED 1
Specified the default value for otMdnsIsQuestionUnicastAllowed()
which indicates whether mDNS core is allowed to send "QU" questions (questions requesting unicast response).
When allowed, the first probe will be sent as "QU" question. The otMdnsSetQuestionUnicastAllowed()
can be used to change the default value at run-time.
OPENTHREAD_CONFIG_MULTICAST_DNS_ENABLE
OPENTHREAD_CONFIG_MULTICAST_DNS_ENABLE 0
Define to 1 to enable Multicast DNS (mDNS) support.
OPENTHREAD_CONFIG_MULTICAST_DNS_ENTRY_ITERATION_API_ENABLE
OPENTHREAD_CONFIG_MULTICAST_DNS_ENTRY_ITERATION_API_ENABLE OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE
Define to 1 for mDNS module to provide mechanisms and public APIs to iterate over registered host, service, and key entries, as well as browsers and resolvers.
OPENTHREAD_CONFIG_MULTICAST_DNS_MOCK_PLAT_APIS_ENABLE
OPENTHREAD_CONFIG_MULTICAST_DNS_MOCK_PLAT_APIS_ENABLE 0
Define to 1 to add mock (empty) implementation of mDNS platform APIs.
This is intended for generating code size report only and should not be used otherwise.
OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE
OPENTHREAD_CONFIG_MULTICAST_DNS_PUBLIC_API_ENABLE 0
Define to 1 to allow public OpenThread APIs to be defined for Multicast DNS (mDNS) module.
The OpenThread mDNS module is mainly intended for use by other OT core modules, so the public APIs are by default not provided.
Resources
OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.