DNS Stateful Operations

This module includes configuration variables for DNS Stateful Operations.

Summary

Macros

OPENTHREAD_CONFIG_DNS_DSO_CONNECTING_TIMEOUT (45 * 1000)
Specifies the maximum time (in msec) waiting for a connection to be established by DSO platform layer.
OPENTHREAD_CONFIG_DNS_DSO_ENABLE 0
Define to 1 to enable DSO support.
OPENTHREAD_CONFIG_DNS_DSO_MAX_PENDING_REQUESTS 3
Specifies the maximum number of pending requests per DSO session.
OPENTHREAD_CONFIG_DNS_DSO_MOCK_PLAT_APIS_ENABLE 0
Define to 1 to add mock (empty) implementation of DSO platform APIs.
OPENTHREAD_CONFIG_DNS_DSO_RESPONSE_TIMEOUT (30 * 1000)
Specifies the maximum time (in msec) waiting for a response to a request.

Macros

OPENTHREAD_CONFIG_DNS_DSO_CONNECTING_TIMEOUT

 OPENTHREAD_CONFIG_DNS_DSO_CONNECTING_TIMEOUT (45 * 1000)

Specifies the maximum time (in msec) waiting for a connection to be established by DSO platform layer.

OPENTHREAD_CONFIG_DNS_DSO_ENABLE

 OPENTHREAD_CONFIG_DNS_DSO_ENABLE 0

Define to 1 to enable DSO support.

OPENTHREAD_CONFIG_DNS_DSO_MAX_PENDING_REQUESTS

 OPENTHREAD_CONFIG_DNS_DSO_MAX_PENDING_REQUESTS 3

Specifies the maximum number of pending requests per DSO session.

OPENTHREAD_CONFIG_DNS_DSO_MOCK_PLAT_APIS_ENABLE

 OPENTHREAD_CONFIG_DNS_DSO_MOCK_PLAT_APIS_ENABLE 0

Define to 1 to add mock (empty) implementation of DSO platform APIs.

This is intended for generating code size report only and should not be used otherwise.

OPENTHREAD_CONFIG_DNS_DSO_RESPONSE_TIMEOUT

 OPENTHREAD_CONFIG_DNS_DSO_RESPONSE_TIMEOUT (30 * 1000)

Specifies the maximum time (in msec) waiting for a response to a request.

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.