Hi Tim,

Thank you for this patch. We just tested it and we are able to create a new 
OcDeviceInfo with the new parameters and there were no issue when the 
OnDeviceFound() is called.

Sincerely,
Neil.

From: Kourt, Tim A
Sent: Friday, May 20, 2016 3:01 PM
To: iotivity-dev at lists.iotivity.org; Wong Hon Chan, Neil D 
<neil.d.wong.hon.chan at intel.com>
Cc: Cheung, Jimmy <jimmy.cheung at intel.com>
Subject: RE: [Dev] Crash in deviceDiscoveryClient build 1.1.0

Hi Neil,

The fix is provided at https://gerrit.iotivity.org/gerrit/#/c/8261/

Best regards,

Tim Kourt
Intel Open Source Technology Center

From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Kourt, Tim A
Sent: Friday, May 20, 2016 11:21 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>; Wong Hon Chan, Neil D <neil.d.wong.hon.chan at 
intel.com<mailto:neil.d.wong.hon.chan at intel.com>>
Cc: Cheung, Jimmy <jimmy.cheung at intel.com<mailto:jimmy.cheung at intel.com>>
Subject: Re: [dev] [Dev] Crash in deviceDiscoveryClient build 1.1.0

Hi Neil,

Indeed, the functionality is broken for Android in 1.1.0 release. The following 
patch https://gerrit.iotivity.org/gerrit/#/c/5747/ made the types of 
OCDeviceInfo struct mandatory, but did not propagate this change into Java.

A fix will be provided soon.

Best regards,

Tim Kourt
Intel Open Source Technology Center


From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of Wong Hon Chan, Neil D
Sent: Tuesday, May 17, 2016 11:34 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Cc: Cheung, Jimmy <jimmy.cheung at intel.com<mailto:jimmy.cheung at intel.com>>
Subject: [dev] [Dev] Crash in deviceDiscoveryClient build 1.1.0

Hi,

We recently build the release 1.1.0 for Iotivity and are using the 
deviceDiscoveryClient and deviceDiscoveryServer sample apps.
We are testing the apps on a Nexus 5 running Android 6.0 and a Moto g3 running 
Android 5.1.1.

Running the deviceDiscoveryServer we are able to make a call to 
OcPlatform.registerDeviceInfo(deviceInfo) without causing the server app to 
crash.
However when we run the deviceDiscoveryClient it will crash the server app when 
making a call to
OcPlatform.getDeviceInfo("",
                    OcPlatform.WELL_KNOWN_DEVICE_QUERY,
                    EnumSet.of(OcConnectivityType.CT_DEFAULT),
                    this);

The onDeviceFound() will not be reached in the client app.

Any idea on how to fix this issue either on the app side or on Iotivity side?

Thanks,
Neil.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160521/82d060ae/attachment.html>

Reply via email to