Hello,

I would appreciate the experts' feedback on how the SDK supports the
collection resource types.

For example, oic.r.heatingzonecollection is defined in the spec as a
collection of oic.r.heatingzone

When a client performs the discovery, it gets only the top-level
oic.r.heatingzonecollection resource, and its "links" attributes' value
contains an array of the oic.r.heatingzone items.

The problem is how to convert the "item" information into an OcResource
(Java SDK) or OCResource (C++). Seems like the OcResource class is designed
to be retrieved via discovery.

I would appreciate a sample / hint on how the "item" information can be
converted into a "workable" resource to use get() and post() methods on it.


Best regards
Max.
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to