ot::Dns::Client::Browse() method
Sends a browse (service instance enumeration) DNS query for a given service name. The @p aConfig can be nullptr. In this case the default config (from `GetDefaultConfig()`) will be used as the config for this query. In a non-nullptr @p aConfig, some of the fields can be left unspecified (value zero). The unspecified fields are then replaced by the values from the default config.
Arguments
aServiceName
The service name to query for (MUST NOT be `nullptr`).
aCallback
The callback to report the response or errors (such as time-out).
aContext
A pointer to arbitrary context information.
aConfig
The config to use for this query.
Return value
kErrorNone Query sent successfully. @p aCallback will be invoked to report the status. kErrorNoBufs Insufficient buffer to prepare and send query.
ot::Dns::Client::Browse() calls 1 function:
![]()
ot::Dns::Client::Browse()
ot::Dns::Client::Browse() reads 2 variables and writes 3 variables:
![]()
ot::Dns::Client::Browse()