This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to set IPv6 link local-address address?

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));

0