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?
