Hi Jihun Ha,
I would like to first point you to the mail thread regarding known issues with 
the Arduino WiFi Shield (please see email attachment).
Because of the issues raised in the attached mail thread, you should not be 
able to receive any response from the Arduino using the Arduino WiFi Shield 
other than the initial discovery response. Since the response you received is 
something other than a discovery response, I surmise that the response 
?resource not found? is being returned as a result of some timeout on the 
client side. If you think  this is not the case, please provide some logs for 
both the Arduino & Android in debug/full-logging mode.
Thanks,
Joey Morrow
From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of ???
Sent: Monday, June 1, 2015 12:25 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Presence check for Arduino device with unicast


Hi. All,



Anyone who is working on Arduino device with presence checking functionality?

I've been stuck in the situation where resource at Arduino device is not able 
to be used for presence checking. The below describes my situation:



1. [Arduino] it connects to the exising WiFi AP and IP address is 
deterministically assigned to it, i.e, 192.168.0.2



2. [Android] it ask a presence check for the arduino device by calling 
subscribePresence() with parameter:

  - HostAddress is "coap://192.168.0.15:6298/oic/ad"

  - ConnectivityType is OC_IPV4



3. [Android] As a result of presence check, the presence handler function is 
called but "resource not found" error message is returned.



I already tried the calling of subscribePresence() with other parameters like 
"coap://192.168.0.15:6298/oic/ad", "coap://192.168.0.15:6298", 
"192.168.0.15:6298", and "192.168.0.15" but the results are same.



Please inform me if you aware of a solution for this.



?????. ??? ??.



Best Regards,



Jihun Ha (???/???, Ph.D.)

IoT, IoTivity, OIC | IoT Solution Lab

Software R&D Center | Samsung Electronics Co., Ltd

Mobile +82 10 2533 7947

jihun.ha at samsung.com | jhha85 at gmail.com



[cid:image001.gif at 01D09C55.6F3BD610]

[http://ext.samsung.net/mailcheck/SeenTimeChecker?do=2ca45776e672e14d69e6f3fe1b1c844d4bfd90af4dda7ad3a9b245bbf05ab6f693b88b5cdcaca3638c238075770efdd88a3bd3da7f658eba62e1ac75b522795a07805447a154a46fcf878f9a26ce15a0]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150601/9a41d34e/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/20150601/9a41d34e/attachment.gif>
-------------- next part --------------
An embedded message was scrubbed...
From: "Cooper, Fred" <[email protected]>
Subject: RE: [dev] No witness of get request reception at Arduino
Date: Wed, 20 May 2015 21:48:16 +0000
Size: 20277
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150601/9a41d34e/attachment.mht>

Reply via email to