Other Parts Discussed in Thread: CC3135
Tool/software:
I am working on a product that uses a CC3135 to connect to an IPv6 network.
The CC3135 has been configured to use stateless auto configuration on the LLA and GUA.
uint32_t IfBitmap = SL_NETCFG_IF_IPV6_STA_LOCAL | SL_NETCFG_IF_IPV6_STA_GLOBAL; sl_NetCfgSet(SL_NETCFG_IF, SL_NETCFG_IF_STATE, sizeof(IfBitmap), (uint8_t*) &IfBitmap); sl_NetCfgSet(SL_NETCFG_IPV6_ADDR_LOCAL, SL_NETCFG_ADDR_STATELESS, 0, 0); sl_NetCfgSet(SL_NETCFG_IPV6_ADDR_GLOBAL, SL_NETCFG_ADDR_STATELESS, 0, 0);
The LLA is configuread correctly but for some reason the second address slot is wasted for the ULA.
The ULA is not routable outside of the LAN and prevents the device from communicating with the NTP server in this wireshark caputre:
The router advertisement contains two ICMPv6 options of type Prefix information.
The second entry would be the correct 2000::/3 Prefix.
...
I think the device just takes the first one which happens to be the ULA, causing the connection issue.
Is there a workaround for this problematic behavior?
Is this related to RX filters in any way?