Hello,

I got a problem when test the cloud using the sample code "cloud_device".

The issue happens when the resource server disconnected, which has published
its resource to RD.

The resource document is still on RD, thus the client can still DISCOVER it.

But when the client GET the resource, the client will be blocked when it
gets a response from CI.



PS: My environment is Ubuntu14.0.4. IoTivity version is v1.1.0.

Here is the log of the client; log ends at "Get response received from"

:

root at ubuntu:~/iotivity-1.1.0-RC3/out/linux/x86/release/cloud/samples/client#
./cloud_device 127.0.0.1:5683 00000000 c

Host coap+tcp://127.0.0.1:5683

OCCloudLogin return 0

Waiting response..

Login/out response received code: 1

PAYLOAD_TYPE_REPRESENTATION received

Key: userid Value: admin

Running as Client mode

Finding resources...

coap+tcp://127.0.0.1:5683/oic/res?rt=core.light

Callback Context for DISCOVER query recvd successfully

StackResult: 0

Found Resource /9cc153db-b23f-49f2-8116-03f9123/a/light/0

Request GET to resource
coap+tcp://127.0.0.1:5683/9cc153db-b23f-49f2-8116-03f9123/a/light/0

Requesting GET res=0

Found Resource /9cc153db-b23f-49f2-8116-03f9123/a/light/1

Request GET to resource
coap+tcp://127.0.0.1:5683/9cc153db-b23f-49f2-8116-03f9123/a/light/1

Requesting GET res=0

Get response received from





Thank you.



Best regards,

Annie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160425/e40d620c/attachment.html>

Reply via email to