Hi Sachin,


I  think you don?t need to do C++ coding for real Light setup on simulator. 

Let me look it step by step.

If you find the Light device in the ?OIC smart home device specification?.


Light 

oic.d.light 

Binary switch 

oic.r.switch.binary 

Only binary switch is the mandatory resource.

However, you can also include the Hue and Color resource from ?OIC Resource 
Type specification? from your own purpose.

Please add the appropriate resource from the UI.



>From the simulator you need to configure the oic/d (device)resource on the 
>right panel as like the light device on the simulator.



BR, Uze Choi

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Madan Kanth Lanka
Sent: Thursday, March 31, 2016 11:08 AM
To: Sachin Naik
Cc: iotivity-dev at lists.iotivity.org
Subject: Re: [dev] IoTivity related



Hi Sachin,



My next goal is to use this simulator to pair with real world IoT device (like 
Philips Hue with Lumen bulb). The online documentation for IoTivity is not so 
great.

Could you please guide me further?

- I understand what you are trying to achieve, but I am afraid Simulator 
supports communication with only IoTivity spec compliant devices.

  Considering Philips Hue doesn't support IoTivity, Simulator cannot be used 
for Philips Hue or other non IoTivity devices.



Further more, you can simulate different types of Smart home sensor devices 
using Smart Home Task Group(SHTG) defined device types & resources.

The following guide will help you in using the tool in a better way.

https://wiki.iotivity.org/iotivity_tool_guide

https://wiki.iotivity.org/iotivity_simulator



SHTG defined (1.0.0 release) RAML files are available in the following links 
(attached an email in reference to this discussion).

https://workspace.openconnectivity.org/apps/org/workgroup/smarthome_tg/documents.php?folder_id=156



Other useful links regarding RAML schemas & tools

https://github.com/OpenInterConnect/IoTDataModels/tree/OIC-Release-1.0.0

https://cdn.rawgit.com/OpenInterConnect/api-designer/master/raml-designer-4-git.html?gitRepo=OpenInterConnect/IoTDataModels
 
<https://cdn.rawgit.com/OpenInterConnect/api-designer/master/raml-designer-4-git.html?gitRepo=OpenInterConnect/IoTDataModels&gitRef=OIC-Release-1.0.0>
 &gitRef=OIC-Release-1.0.0



Thanks,

Madan

------- Original Message -------

Sender : Sachin Naik<sachin.naik at synechron.com>

Date : Mar 31, 2016 06:27 (GMT+09:00)

Title : Re: [dev] IoTivity related



+ Ashok



Appreciate if anyone can respond on below issue.



Thanks,

Sachin



From: Sachin Naik 
Sent: Wednesday, March 30, 2016 12:55 PM
To: 'radha.p at samsung.com'
Subject: IoTivity related



Hi Radha,



I?ve started using IoTivity for one of my POC. I got your email id from online 
forum and noticed that you are one of its developers. Great work from your side.

I was able to setup IoTivity simulator. Although I had encountered C++ error 
while running command ?scons SIMULATOR=1?, but the patch for it had the fix.



My next goal is to use this simulator to pair with real world IoT device (like 
Philips Hue with Lumen bulb). The online documentation for IoTivity is not so 
great.

Could you please guide me further?



Appreciate your time on this. Thanks a lot.



Regards,

-Sachin




  
<http://ext.samsung.net/mailcheck/SeenTimeChecker?do=2919b366ad13cb340fdb3aed3e8bba9d542d06685914cdff15677aff4b6589b54e60fcf6aeb61df594c3b6ddffd7613bcb238d00164b0be48eeb9bec5ad9c75d326bbdfb2ea96a2fcf878f9a26ce15a0>
 

-------------- next part --------------
HTML ?????? ??????????????...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160331/b93c77cc/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 13168 bytes
Desc: ?????? ?? ????????.
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160331/b93c77cc/attachment.gif>

Reply via email to