Hello Youngman,

That could be a bug. Maybe the sample application was not correctly updated
in the new version. can someone of the base maintainers have a look on the
issue?

Best regards
Markus
Am 15.01.2016 17:03 schrieb "???" <yman.jung at samsung.com>:

> Hello, all.
>
>
>
> I'm testing roomserver & roomclient in Iotivity 1.0.1.
>
> However, the result in Iotivity 1.0.1 is different from the result in
> Iotivity 1.0.0.
>
> When a client requires GET to a server having children, I think it is
> correct that the client should receive the information including
> children's. (according to the interface)
> However, in Iotivity 1.0.1, the client does not receive any information of
> children.
> Also, in Iotivity 1.0.1, the client does not receive the URI of a parent
> resource unlike Iotivity 1.0.0.
>
> (In master branch, the client receives the URI of a parent, but it does
> not receive the information of children.)
>
>
>
> I am confused what the right result is. Please let me know.
>
>
>
> *Test Environment : Ubuntu 14.04 64bit*
>
> ------------------
>
>  $ ./resource/example/roomserver 2
>
>  $ ./resource/example/roomclient
>
> ------------------
>
> *1. The result of "roomclient" in Iotivity 1.0.0*
>
> GET request was successful
>  Resource URI: /a/room
>  Room name: John's Room
>   Child Resource URI: /a/light
>   state:0
>   color:0
>   Child Resource URI: /a/fan
>   state:0
>   speed:0
> Putting room representation on: oic.if.b
> PUT request was successful
>  Resource URI: /a/room
>  Room name: John's Room
>   Child Resource URI: /a/light
>   state:0
>   color:0
>   Child Resource URI: /a/fan
>   state:1
>   speed:10
> Getting room representation on: oic.if.baseline
> GET request was successful
>  Resource URI: /a/room
>  Room name: John's Room
>   Child Resource URI: /a/light
>   state:0
>   color:0
>   Child Resource URI: /a/fan
>   state:1
>   speed:10
>
>
>
> *2. The result of "roomclient" in Iotivity 1.0.1*
>
> GET request was successful
>  Resource URI:
>  Room name: John's Room
> Putting room representation on: oic.if.b
> PUT request was successful
>  Resource URI:
>  Room name: John's Room
> Getting room representation on: oic.if.baseline
> GET request was successful
>  Resource URI:
>  Room name: John's Room
>
>
>
> *3. The result of "roomclient" in master branch*
>
> GET request was successful
>     Resource URI: /a/room
>     Room name: John's Room
> Putting room representation on: oic.if.b
> PUT request was successful
>     Resource URI: /a/room
>     Room name: John's Room
> Getting room representation on: oic.if.baseline
> GET request was successful
>     Resource URI: /a/room
>     Room name: John's Room
>
>
>
> Regards,
>
> Youngman
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160115/7c35e29e/attachment.html>

Reply via email to