Hi:

Our group is working on developing UPnP/IoTivity bridge using Resource 
Container APIs.

So far, we have encountered a few issues with the exposed APIs.
Could anybody please comment on solutions/workarounds?

1. No means to return status from bundle activate/create methods.

2. No means to return status from handleGetAttributesRequest or 
handleSetAttributesRequest.

3. We can only set one resource type per BundleResource.
   According to core spec, multiple resource types can be indicated,
   However, assigning space separated resource type string to m_resource fails 
in ocstack.c:ValidateResourceTypeInterface.

4. Resource types must be all [a-z][a-z0-9-.]* or URIs (but it looks like the 
implementation only succeeds under the former).

5. No asynchronous versions of API calls, e.g., calls like 
handleGetAttributeRequest/handleSetAttributeRequest
   should provide a version with a callback handler to prevent blocking.

Thanks,

Inga


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

Reply via email to