Function esp_idf_hal::sys::esp_netif_str_to_ip4
source · pub unsafe extern "C" fn esp_netif_str_to_ip4(
src: *const i8,
dst: *mut esp_ip4_addr,
) -> i32
Expand description
@brief Converts Ascii internet IPv4 address into esp_ip4_addr_t
@param[in] src IPv4 address in ascii representation (e.g. “127.0.0.1”) @param[out] dst Address of the target esp_ip4_addr_t structure to receive converted address @return - ESP_OK on success - ESP_FAIL if conversion failed - ESP_ERR_INVALID_ARG if invalid parameter is passed into