Hi Shivam,
Thank you for your response, i just understand that each client can has
many resources(fan, light etc...), but can i control just one resource of
them (for example i make on/Off for just one resource of them ? Can you
correct me if i am looking wrong ?
Thank you :)

*Cordialement,*




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

2016-07-19 10:33 GMT+01:00 Shivam Verma <shivam.bitsgoa at gmail.com>:

> Hey Salim,
>
> The C++ sdk provides a similar[0] method.
>
> Sending NULL as resource uri should perform all service and resource
> discovery.
>
> [0]
> https://api-docs.iotivity.org/latest/namespace_o_c_1_1_o_c_platform.html#a96b3c0ceb833135936fa6204ea569a8a
>
> -Shivam
>
> On Tue, Jul 19, 2016 at 5:29 PM, EZAYEN Salim <salim.ezayen at esprit.tn>
> wrote:
>
>> Hi Shivam,
>> Thank you for your attention, i mean the URI of the ressource, i want to
>> run the server and many resources in the same time, and i want  that the
>> server detect all the resources without the URi, it is possible? i work
>> with linux c++
>> thank you bro
>>
>> *Cordialement,*
>>
>>
>>
>>
>> *Salim Zayen*
>> *?l?ve ing?nieur *
>> *t?l?phone :+216 23 85 66 25*
>>  *esprit*?
>>
>> 2016-07-19 10:21 GMT+01:00 Shivam Verma <shivam.bitsgoa at gmail.com>:
>>
>>> Hi Salim,
>>>
>>> What do you mean by "path of the resource" here ?
>>>
>>> If I understand correctly, you might want to try having null or
>>> an empty resource uri when making the find request.
>>>
>>> Going by the javadocs[0], it will search for all resource names in this
>>> case.
>>>
>>> [0]
>>> https://api-docs.iotivity.org/latest-java/org/iotivity/base/OcPlatform.html#findResource(java.lang.String,%20java.lang.String,%20java.util.EnumSet,%20org.iotivity.base.OcPlatform.OnResourceFoundListener)
>>>
>>>
>>>
>>> -Shivam
>>>
>>> On Tue, Jul 19, 2016 at 4:58 PM, EZAYEN Salim via iotivity-dev <
>>> iotivity-dev at lists.iotivity.org> wrote:
>>>
>>>> Hi IoTivity,
>>>> I would like to ask you about the auto searching of resources, However,
>>>> I test the samples, and I create another client, and it work, but the
>>>> problem is that I writhe the path of the resource in the server's code, my
>>>> question is can I make an auto searching of the resources from the server
>>>> without putting the path?
>>>>
>>>> Thank you :)
>>>>
>>>>
>>>>
>>>> *Cordialement,*
>>>>
>>>>
>>>>
>>>>
>>>> *Salim Zayen*
>>>> *?l?ve ing?nieur *
>>>> *t?l?phone :+216 23 85 66 25*
>>>>  *esprit*?
>>>>
>>>> _______________________________________________
>>>> iotivity-dev mailing list
>>>> iotivity-dev at lists.iotivity.org
>>>> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160719/cf9f1c0c/attachment.html>

Reply via email to