Hi, I am trying to force the IoTivity 1.3.1 based client to perform the multicast discovery via IPv4.
When I using the default connectivity by IoTivity, with network and server supporting both IPv4 and IPv6, I always see IPv6 'host' in the discovered resources. I was trying to force thee discovery to use IPv4, by specifying IPV4 explicitly Here is the Java SDK code I tried: OcPlatform.findResource("", "/oic/res", EnumSet.of(OcConnectivityType.CT_IP_USE_V4),this); Unfortunately, the callback is never called, i.e. no resources are detected. When using OcConnectivityType.CT_DEFAULT instad of OcConnectivityType.CT_IP_USE_V4 - the callback works great. Anybody saw a similar issue? what can be done to overcome it? Thanks for any hint, Max
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev