Hi Younghyun,
Looks like the change to WELL_KNOWN_QUERY introduced with IPv6 did not make its
way to 0.9.2-RC3.
Quick solution: Please open simpleclient, navigate to
org.iotivity.base.examples.simpleclient.SimpleClient.java, thereafter locate
the following line:
OcPlatform.findResource("", OcPlatform.WELL_KNOWN_QUERY+ "?rt=core.light",
EnumSet.of(OcConnectivityType.CT_DEFAULT), this);
And change it to:
OcPlatform.findResource("",?/oic/res?rt=core.light",
EnumSet.of(OcConnectivityType.CT_DEFAULT), this);
The current master has the change in place. I hope it helps.
Thanks,
Tim
From: ??? [mailto:[email protected]]
Sent: Wednesday, August 19, 2015 6:20 AM
To: Kourt, Tim A; iotivity-dev at lists.iotivity.org
Cc: ???
Subject: FindResource() API Problem on Android Platform.
Hi Tim,
I'm trying to test android resource sample application on 0.9.2-RC3 & master
branch.
But when I call the findResource() API, there isn't any response from resource
server(linux).
[I'm trying to execute android simpleclient project on android device, and
resource server(simpleserver) is on the linux machine]
I tried to check network environments and tried to change the branch, it cannot
find the resource.
Could you check this problem? Or Can someone tell me how to solve it?
I'm looking forward your reply.
Thanks
Best Regards,
Younghyun Joo
________________________________
Younghyun, Joo | SW Assist Engineer
IoT(Internet of Things) Solution Lab.,
Web & Convergence Team, SoftWare Center,
SAMSUNG ELECTRONICS CO., LTD.
Mobile +82.10.3794.8718
E_mail yh_.joo at samsung.com<mailto:yh_.joo at samsung.com>
________________________________
[cid:image001.gif at 01D0DA97.6E7FA3C0]
[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=938ced2049aed552b9006428d3dd6860bf7b490390c3c14900dcce068ad1a82664320c49b40c78a5ce7100ee954f3d131b20909a04efd4d2748cfe1d4e847419cf878f9a26ce15a0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150819/aaef8049/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13168 bytes
Desc: image001.gif
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150819/aaef8049/attachment.gif>