ESP-IDF
ot::Dns::ServiceDiscovery::Server::Response::Answer()
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (1/5)...
Summary
Syntax
Arguments
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::ServiceDiscovery::Server::Response::Answer()
ot::Dns::ServiceDiscovery::Server::Response::Answer() method
Syntax
Show:
Summary
Declaration
Definition
from
dnssd_server.hpp:418
void
Answer
(
const
HostInfo
&
aHostInfo
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
Implemented in
dnssd_server.cpp:1217
Arguments
Argument
aHostInfo
aMessageInfo
Related Functions
Found 3 other functions taking a
otDnssdHostInfo
argument:
Function
Description
ot::Dns::ServiceDiscovery::Server::Response::AppendHostAddresses()
otDnssdQueryHandleDiscoveredHost()
Notifies a discovered host. The external query resolver (e.g. Discovery Proxy) should call this function to notify OpenThread core of the subscribed hosts.
ot::Dns::ServiceDiscovery::Server::HandleDiscoveredHost()
Notifies a discovered host.
Examples
References
from
examples
Code
Location
void
Server
::
Response
::
Answer
(
const
ServiceInstanceInfo
&
aInstanceInfo
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
dnssd_server.cpp:1169
void
Server
::
Response
::
Answer
(
const
HostInfo
&
aHostInfo
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
dnssd_server.cpp:1217
void
Answer
(
const
HostInfo
&
aHostInfo
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
dnssd_server.hpp:418
void
Answer
(
const
ServiceInstanceInfo
&
aInstanceInfo
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
;
dnssd_server.hpp:419
Call Tree
from
examples
ot::Dns::ServiceDiscovery::Server::Response::Answer()
calls 7 functions:
All items filtered out
ot::Dns::ServiceDiscovery::Server::Response::Answer()
ot::Dns::ServiceDiscovery::Server::Response::SetResponseCode()
ot::Dns::ServiceDiscovery::Server::Response::AppendHostAddresses()
ot::Dns::ServiceDiscovery::Server::Response::Send()
ot::Dns::ServiceDiscovery::Server::Response::AppendPtrRecord()
ot::Dns::ServiceDiscovery::Server::Response::AppendSrvRecord()
ot::Dns::ServiceDiscovery::Server::Response::AppendTxtRecord()
ot::Dns::ServiceDiscovery::Server::Response::ExtractServiceInstanceLabel()
All items filtered out
Data Use
from
examples
ot::Dns::ServiceDiscovery::Server::Response::Answer()
reads 16 variables and writes 1 variable:
ot::Dns::ServiceDiscovery::Server::QueryType::kAaaaQuery
ot::Dns::ServiceDiscovery::Server::Section::kAnswerSection
ot::Dns::ServiceDiscovery::Server::AddrType::kIp6AddrType
ot::Dns::ServiceDiscovery::Server::AddrType::kIp4AddrType
ot::Dns::ServiceDiscovery::Server::Response::mType
ot::kErrorNone
ot::Dns::Header::Response::kResponseServerFailure
otDnssdServiceInstanceInfo::mFullName
otDnssdServiceInstanceInfo::mTtl
ot::Dns::ServiceDiscovery::Server::TestModeFlags::kTestModeEmptyAdditionalSection
ot::Dns::ServiceDiscovery::Server::QueryType::kPtrQuery
ot::Dns::ServiceDiscovery::Server::QueryType::kSrvQuery
ot::Dns::ServiceDiscovery::Server::QueryType::kTxtQuery
ot::Dns::ServiceDiscovery::Server::QueryType::kSrvTxtQuery
ot::Dns::ServiceDiscovery::Server::Section::kAdditionalDataSection
ot::Dns::ServiceDiscovery::Server::Response::mSection
All items filtered out
ot::Dns::ServiceDiscovery::Server::Response::Answer()
ot::Dns::ServiceDiscovery::Server::Response::mSection
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
Lifecycle
from
examples
All items filtered out
All items filtered out