Thanks Uze Choi. Very helpful. Here are further description to some of those questions: For Question 2, the context can be an OIC Gateway which needs connect to some non-OIC physical devices. The GW should manage the connection of those devices. The GW uses bundles to map functions of those physical devices into OIC resources of the OIC GW. However, this way seems loses the physical properties of those physical devices, as such reflected as Platform and Logical Device in an OIC device. So the question is to clarify that, whether the bundle can create Platform/Device/ resources?
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? 7. Is there a general developer guideline to develop an OIC 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? ----- ???? ----- ???????(Uze Choi) <uzchoi at samsung.com> ????lianghq01 at sina.com, 'oswg' <oswg at openinterconnect.org>, iotivity-dev at lists.iotivity.org ???RE: [dev] Questions about Resource Encapsulation, Resource Directory and Remote Access ???2016?01?06? 13?57? Hi Haiqi LiangIoTivity Primitive service point of view, answers was in-lined. BR, Uze ChoiFrom: iotivity-dev-bounces at lists.iotivity.org [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 -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160107/b3f0a88c/attachment.html>
