1. For an esp_netif interface to get an ipv6 address in a situation where it isn't assigned by DHCPv6 we seem to need to call esp_netif_create_ip6_linklocal(). After this call is made, the interface seems to typically get a link-local and a global ipv6 address. Is this requirement to call the above API explicitly in order to get ipv6 connectivity documented anywhere? Yes, I can see it in
Code: Select all
protocol_examples_common/wifi_connect.c:
static void example_handler_on_wifi_connect(void *esp_netif, esp_event_base_t event_base,
int32_t event_id, void *event_data)
{
#if CONFIG_EXAMPLE_CONNECT_IPV6
esp_netif_create_ip6_linklocal(esp_netif);
#endif // CONFIG_EXAMPLE_CONNECT_IPV6
}