Function esp_idf_hal::sys::esp_netif_dhcpc_stop

source ยท
pub unsafe extern "C" fn esp_netif_dhcpc_stop(
    esp_netif: *mut esp_netif_obj,
) -> i32
Expand description

@brief Stop DHCP client (only if enabled in interface object)

@note Calling action_netif_stop() will also stop the DHCP Client if it is running.

@param[in] esp_netif Handle to esp-netif instance

@return - ESP_OK - ESP_ERR_ESP_NETIF_INVALID_PARAMS - ESP_ERR_ESP_NETIF_DHCP_ALREADY_STOPPED - ESP_ERR_ESP_NETIF_IF_NOT_READY