I missed some code in the commit. It?s passing the build now. I also tested the code by adding it to the simpleclient sample (not committed). Everything seems to be working as expected.
George From: Thiago Moura [mailto:[email protected]] Sent: Tuesday, May 2, 2017 4:45 AM To: Nash, George <george.nash at intel.com> Cc: iotivity-dev <iotivity-dev at lists.iotivity.org> Subject: Re: [dev] Java + Endpoint information Hi George, Build is not passing on Jenkins. FYI, the issue I described is being tracked in this ticket https://jira.iotivity.org/browse/IOT-2155 Thanks for the support. On Mon, May 1, 2017 at 7:33 PM, Nash, George <george.nash at intel.com<mailto:george.nash at intel.com>> wrote: Thiago, I created https://jira.iotivity.org/browse/IOT-2184 to add the getAllHosts to the Java APIs. I made the change here: https://gerrit.iotivity.org/gerrit/#/c/19511/ I still need to test the change If you have a chance feel free to give the change a try let me know if it gives you a way to solve your problem. Sorry for the slow response I was at the OCF plugfest most of last week. George From: Thiago Moura [mailto:thiagogcm at gmail.com<mailto:[email protected]>] Sent: Monday, April 24, 2017 4:19 PM To: Nash, George <george.nash at intel.com<mailto:george.nash at intel.com>> Cc: iotivity-dev <iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>> Subject: Re: [dev] Java + Endpoint information Hi George It's not exactly an error. It's a different behavior. I am using IoTivity compiled with tcp=1 btw Before this patch OCPlatform.findResource callback was returning one OcResource per host. Example: one /oic/d for "coap" and another for /oic/d for "coap+tcp" Now it's returning only one and getHost shows "coap". Using the Cpp API I'am able to get all the other endpoints via getAllHosts(). This method is missing in Java. Regards, On Mon, Apr 24, 2017 at 6:36 PM, Nash, George <george.nash at intel.com<mailto:george.nash at intel.com>> wrote: Thiago, I am not completely sure what error you are seeing. Could you give us an example of what you are getting as well as what you are expecting so we can track down the issue you are seeing. If it is a new error introduced by https://gerrit.iotivity.org/gerrit/#/c/19061/ we definitely want to track it down since the change is very recent. George 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:[email protected]>] On Behalf Of Thiago Moura Sent: Sunday, April 23, 2017 10:07 AM To: iotivity-dev <iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at lists.iotivity.org>> Subject: [dev] Java + Endpoint information Hi Java maintainers Endpoint information is not available in Java. Could you please provide it? Before https://gerrit.iotivity.org/gerrit/#/c/19061/ I was receiving the same resource multiple times on the OcPlatform.OnResourceFoundListener (one for each endpoint). Regards, -- Thiago Guedes Cunha de Moura cel.: (31)99484-9864<tel:(31)%2099484-9864> -- Thiago Guedes Cunha de Moura Graduando em Ci?ncia da Computa??o Instituto de Ci?ncias Exatas e Biol?gicas - Universidade Federal de Ouro Preto cel.: (31)99484-9864<tel:(31)%2099484-9864> -- Thiago Guedes Cunha de Moura Graduando em Ci?ncia da Computa??o Instituto de Ci?ncias Exatas e Biol?gicas - Universidade Federal de Ouro Preto cel.: (31)99484-9864 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170502/7ac48e75/attachment.html>
