Hi Mats, Thank you for your answers, Actually I want to control a smart house using only a fan and light and door, in this step I want only test it in the terminal of Linux and not using an Android app, so as I understand I will have two files, the first one is the client and the second one is the server, the last one (server) will contain all the resources of devices, and the client will send a multicast request to find all the devices, then the client will send a unicast request to make On/Off the light for example, how can i send those requests in the terminal? Or must I develop an android app to controll this network ? Thank you for your help .
*Cordialement,* *Salim Zayen* *?l?ve ing?nieur * *t?l?phone :+216 23 85 66 25* *esprit*? 2016-07-22 1:52 GMT+01:00 Mats Wichmann <mats at osg.samsung.com>: > On 07/21/2016 06:34 PM, EZAYEN Salim via iotivity-dev wrote: > > 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 ? > > That doesn't have a direct yes/no answer. > > When you join the device to the network it becomes detectable through the > regular discovery (in the case where you're looking at deployment into > production environments, it will first have to go through security > onboarding aka. owner transfer)... but whether anyone does discover it > depends on whether they're looking for new devices, or devices of that > type, etc. > > For example, if the only client sitting on the network is a light-control > app, it is probably only looking for devices of type light, so it may only > send its discovery requests qualified by the appropriate device type or > resource type and never see your new thermostat device. > > Does that make sense? > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160722/44aca90b/attachment.html>
