Hi Haiqi Liang

IoTivity Primitive service point of view, answers was in-lined.



BR, Uze Choi

From: [email protected] [mailto:iotivity-dev-
bounces at lists.iotivity.org] On Behalf Of lianghq01 at sina.com
Sent: Wednesday, January 06, 2016 12:12 PM
To: oswg; iotivity-dev at lists.iotivity.org
Subject: [dev] Questions about Resource Encapsulation, Resource Directory
and Remote Access



Hi all, some questions regarding the iotivity:



1. About the Resource Encapsulation in latest IoTivity implementation. Are
the bundle mechanisms (protocol bridge bundle, soft sensor bundle) the
replacement of the plugin mechanism (and the PPM)?  Is it ready for using
this feature?

You can use them as of now.
Exactly Resource Container which operate the bundle plugin is separated
from resource encapsulation.

2. To map a non-OIC device to OIC device, we develop the protocol bundle to
realize the OIC resources that act as device functions. The question is,
can we use the bundle to create the OIC Device, as well as core resources
such as Platform, Resource Types, Configuration?

Resource container handle the OIC resource lifycycle by loading the bundle.
We can set the OIC resource type and OIC resource URI also.
However, I?m not clear for the question regarding platform and
configuration.

3. To create a Resource by a Bundle, can we set this Resource as
"observable"? If it is set observable, how to realize this through bundle?
Imaging that the resource data should be periodically synced from the non-
oic device through the bundle.

Whenever value is updated from non-oic device, we should set the updated
value with setAttribute API in the bundle.
We can set the notify flag for each setAttribute which determines the
notify execution.

4. In the latest IoTivity package, there is Resource Directory (RD)
implementation in C, no in Java. Is there any plan for RD implementation in
Java?

There are some activity thru Java for the cloud server use case, as far as
I know.

5. The standard defines the XMPP-based mechanism. Does the latest IoTivity
release realize the RAE feature (OIC server with XMPP-client)? What is the
requirement for the XMPP Server accordingly, any OIC specific feature
required?



6. I notice that there are sqllite feature in current IoTivity release.
What is SqlLite used for here? or any future use?

Previously Soft Sensor Manager used the sqllite component, but not now as
far as I know.

7. Is there a general developer guideline to develop an OIC Home Gateway?
In general, this gateway connects to diverse Things (OIC or non-OIC) in
wireless protocols, expose those device functions as OIC resources to
external, transfer collected data to the cloud, and importantly this
gateway will manage those connections and data. What features should be
included into? and what iotivity fit into and where is the gap?



Haiqi Liang

-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160106/fc2daa43/attachment.html>

Reply via email to