ESP-IDF
ot::Dns::Client::QueryConfig::ServiceMode
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::Client::QueryConfig::ServiceMode
ot::Dns::Client::QueryConfig::ServiceMode enum
Type represents the service resolution mode.
Syntax
Show:
Summary
Declaration
from
dns_client.hpp:144
enum
ServiceMode
:
uint8_t
{
kServiceModeUnspecified
=
OT_DNS_SERVICE_MODE_UNSPECIFIED
,
kServiceModeSrv
=
OT_DNS_SERVICE_MODE_SRV
,
kServiceModeTxt
=
OT_DNS_SERVICE_MODE_TXT
,
kServiceModeSrvTxt
=
OT_DNS_SERVICE_MODE_SRV_TXT
,
kServiceModeSrvTxtSeparate
=
OT_DNS_SERVICE_MODE_SRV_TXT_SEPARATE
,
kServiceModeSrvTxtOptimize
=
OT_DNS_SERVICE_MODE_SRV_TXT_OPTIMIZE
,
}
;
Values
Value
Declared as
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeUnspecified
=
OT_DNS_SERVICE_MODE_UNSPECIFIED
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeSrv
=
OT_DNS_SERVICE_MODE_SRV
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeTxt
=
OT_DNS_SERVICE_MODE_TXT
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeSrvTxt
=
OT_DNS_SERVICE_MODE_SRV_TXT
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeSrvTxtSeparate
=
OT_DNS_SERVICE_MODE_SRV_TXT_SEPARATE
ot::Dns::Client::QueryConfig::ServiceMode::kServiceModeSrvTxtOptimize
=
OT_DNS_SERVICE_MODE_SRV_TXT_OPTIMIZE
Examples
References
from
examples
Code
Location
Scope
Referrer
enum
ServiceMode
:
uint8_t
dns_client.hpp:144
ServiceMode
GetServiceMode
(
void
)
const
{
return
static_cast
<
ServiceMode
>
(
mServiceMode
)
;
}
dns_client.hpp:213
ot::Dns::Client::QueryConfig::GetServiceMode() const
static
constexpr
ServiceMode
kDefaultServiceMode
=
dns_client.hpp:227
ot::Dns::Client::QueryConfig
ot::Dns::Client::QueryConfig::kDefaultServiceMode
static_cast
<
ServiceMode
>
(
OPENTHREAD_CONFIG_DNS_CLIENT_DEFAULT_SERVICE_MODE
)
;
dns_client.hpp:228
void
SetServiceMode
(
ServiceMode
aMode
)
{
mServiceMode
=
static_cast
<
otDnsServiceMode
>
(
aMode
)
;
}
dns_client.hpp:250
ot::Dns::Client::QueryConfig::SetServiceMode()
ot::Dns::Client::QueryConfig::SetServiceMode()::aMode
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Instance
Scope
Location
Project
return
ot::Dns::Client::QueryConfig::GetServiceMode() const
dns_client.hpp:213
ot::Dns::Client::QueryConfig::kDefaultServiceMode
ot::Dns::Client::QueryConfig
dns_client.hpp:227
ot::Dns::Client::QueryConfig::SetServiceMode()::aMode
ot::Dns::Client::QueryConfig::SetServiceMode()
dns_client.hpp:250
Lifecycle
from
examples
All items filtered out
All items filtered out