Hi, I use resource encapsulation API to make a server and client. Everything is ok is resources are organized in a flat manner.
My issue is to do a hierarchy manner. SERVER SIDE : root_resource is build with ofc baseline, batch and link intefaces. sub_resources are build with a call to root_ressource->bindResource (sub_resource) at the end. according to me, with the use of bindResource, root_resource become a collection resource. CLIENT SIDE : discovery is ok. if I make a GET request with link interface the payload received is empty. RCSRepresentation representation has 0 childrens, why 0 childrens ? there is an issue with bindResource function in Resource encapsulation API ? or something is wrong in my code ? after the creation of a collection resource, API is not supposed to respond with the representation of all childrens ? Thanks, Best regards -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161125/fa37bbd6/attachment.html>
