esp_netif_str_to_ip4() function
Converts Ascii internet IPv4 address into esp_ip4_addr_t
Arguments
src
IPv4 address in ascii representation (e.g. "127.0.0.1")
dst
Address of the target esp_ip4_addr_t structure to receive converted address
Return value
- ESP_OK on success - ESP_FAIL if conversion failed - ESP_ERR_INVALID_ARG if invalid parameter is passed into
Examples
esp_netif_str_to_ip4() is referenced by 6 libraries and example projects: