We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Since Middleware v7.9.0 have implemented a function netIF_SetOption() that can setup IPv6 link local address.
I tried to use the code below, but I got an invalid parameter status. So how to set IPv6 link-local address? Thank you.
uint8_t ip6linklocal[NET_ADDR_IP6_LEN]; // Link-local address netIP_aton ("fe80::10b3:d5ff:feca:bca6", NET_ADDR_IP6, &ip6linklocal[0]); status=netIF_SetOption(NET_IF_CLASS_ETH | 0, netIF_OptionIP6_LinkLocalAddress, &ip6linklocal[0], sizeof(ip6linklocal));