esp_netif_str_to_ip6() function
Converts Ascii internet IPv6 address into esp_ip4_addr_t Zeros in the IP address can be stripped or completely omitted: "2001:db8:85a3:0:0:0:2:1" or "2001:db8::2:1")
Arguments
src
IPv6 address in ascii representation (e.g. ""2001:0db8:85a3:0000:0000:0000:0002:0001")
dst
Address of the target esp_ip6_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