Hi Tim, It seems like we need to cherrypick this patch into 1.1 release version of IoTivity or put some information on the 1.1 release page for those 1.1 version users to apply this patch.
Do you think we could apply this patch into the 1.1 rel version of IoTivity with any changes? Thank you. Jay. > 2016. 5. 21., ?? 9:24, Wong Hon Chan, Neil D <neil.d.wong.hon.chan at > intel.com> ??: > > 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/ > <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:iotivity-dev-bounces at lists.iotivity.org > <mailto:iotivity-dev-bounces at lists.iotivity.org>] 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/ > <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:iotivity-dev-bounces at lists.iotivity.org > <mailto:iotivity-dev-bounces at lists.iotivity.org>] 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. > > > _______________________________________________ > iotivity-dev mailing list > iotivity-dev at lists.iotivity.org > https://lists.iotivity.org/mailman/listinfo/iotivity-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160521/470fcdd5/attachment.html>
