esp_idf_sys

Function esp_openthread_get_dnsserver_addr

Source
pub unsafe extern "C" fn esp_openthread_get_dnsserver_addr(
    dnsserver_addr: *mut ip6_addr_t,
) -> esp_err_t
Expand description

@brief This function acquires the DNS server address.

@param[out] dnsserver_addr The dns server address.

@return - ESP_OK on sussess - ESP_ERR_INVALID_ARG if dnsserver_addr is NULL - ESP_ERR_INVALID_STATE if dns sever address not available