Could you share the logs with debug mode built ?

You can create Jira as well under Discovery and Connectivity 
(https://jira.iotivity.org)  .. we will track and update ..

 

Regards,
Ashok

From: [email protected] 
[mailto:[email protected]] On Behalf Of Max Kholmyansky
Sent: Wednesday, November 22, 2017 2:51 PM
To: iotivity
Subject: [dev] IPv4 support for multicast discovery in version 1.3.1

 

 

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
[email protected]
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to