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> 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] *On Behalf Of *Thiago Moura
> *Sent:* Sunday, April 23, 2017 10:07 AM
> *To:* iotivity-dev <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 <(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/20170424/930c396c/attachment.html>

Reply via email to