Hi,
thank you for your answers, when i add a new device to my network, it will
be detected automaticaly or i must write a code for this device like the
example of the light in the sample ?

*Cordialement,*




*Salim Zayen*
*?l?ve ing?nieur *
*t?l?phone :+216 23 85 66 25*
 *esprit*?

2016-07-21 9:51 GMT+01:00 EZAYEN Salim <salim.ezayen at esprit.tn>:

> Hi,
> Thank you all . :)
>
> *Cordialement,*
>
>
>
>
> *Salim Zayen*
> *?l?ve ing?nieur *
> *t?l?phone :+216 23 85 66 25*
>  *esprit*?
>
> 2016-07-21 2:33 GMT+01:00 Mats Wichmann <mats at osg.samsung.com>:
>
>> On 07/20/2016 09:09 PM, EZAYEN Salim via iotivity-dev wrote:
>> > Hi,
>> > I am new in the IoTivity, I run all the samples in the project, my
>> question is what is the difference between a device and resource, as I
>> understand the device is the sensor (for example light, fan...), and the
>> resource is the action (how to control it for example On/off), and if I add
>> a new sensor to the network, it will be found automatically or not?
>> > Thank you for your time.
>>
>>
>> So in terms of concepts as described in OCF specifications, may not 100%
>> match terms actually used in iotivity so be aware.
>>
>> at highest level is the platform.  Think of the platform as something you
>> might "sell" - a thermostat, a fridge, a user application (this term really
>> has no reason to appear in IoTivity; it's a concept that is interesting to
>> OCF as the unit which is certified to).
>>
>> a platform contains one or more devices, which you can think of as a
>> logical functional unit.  many cases they will be the same, but it's not
>> hard to think of a hypotentical multifunction printer (platform) which
>> contains three devices - a printer, a scanner, a fax.
>>
>> devices then expose resources that are kind of the functional units
>> within that device - a stove would have maybe several temperature sensors,
>> an actuator you can tell to raise the cooking temperature, timers, etc.
>>
>> hope that helps with the conceptual viewpoint.
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160721/c76c6423/attachment.html>

Reply via email to