Hi Markus,


I just added a response to this issue in Jira 
(https://jira.iotivity.org/browse/IOT-730):



?In my testing, client is able to successfully discover resources and completes 
GET/PUT and Observe requests successfully.



The 'error? messages are appearing because simpleclient is running in 
'OC::ModeType::Both' mode. 

Due to this, a client itself receives it's '/oic/res' discovery requests and 
sends a 'OC_STACK_NO_RESOURCE' error (which is error code 33).



Server also sees the '/oic/res' discovery requests and responds successfully 
with the resources and then client continues to perform REST operations on 
those resources.



simpleclient is executed with 'OC::Modetype::Both' to serve 'provisioning' 
requests from a Provisioning Tool.

?



Thanks

Sachin

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Lankswert, Patrick
Sent: Monday, September 21, 2015 8:49 AM
To: markus.jung at samsung.com; iotivity-dev at lists.iotivity.org
Subject: Re: [dev] Discovery mechanism broken



Markus,

We are looking into the issues. It was mentioned that a security packet was 
being sent in response. We are trying to confirm.

Pat



From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Markus Jung
Sent: Sunday, September 20, 2015 11:56 PM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Discovery mechanism broken



Hello, 

the latest code on master seems to have an issue regarding discovery. 

Executing ../release/reosurce/examples/simpleserver and simpleclient leads to 
an error message:

Finding Resource for second time ...

0: listenCallback(): failed to create resource. clientResponse: 33

0: listenCallback(): clientResponse payload was null or the wrong type

....

It seems the discovery mechanism is broken. Has somebody noticed the problem or 
is anyone working on fixing the issue?

Best regards

Markus Jung



  
<http://ext.samsung.net/mailcheck/SeenTimeChecker?do=36652d682e3669a8a51d3e792fdf114eee83b598328a0c3e6c5fdbcd072fda064e60fcf6aeb61df594c3b6ddffd7613bcb238d00164b0be48eeb9bec5ad9c75d326bbdfb2ea96a2fcf878f9a26ce15a0>
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150921/cbd55cb1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7768 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150921/cbd55cb1/attachment.p7s>

Reply via email to