Revision for “Registering IoTResources” created on December 15, 2014 @ 08:48:07
Title | Registering IoTResources |
---|---|
Content | There are three ways to register an IoTResource with the IoTResource Catalogue:
<ul>
<li>UPnP Discovery using SSDP and SCPD</li>
<li>SELF Registration</li>
<li>LinkSmart Event Registration</li>
</ul>
<h3>UPnP Discovery</h3>
If your IoTResources supports the UPnP Protocol the IoTResource will register automatically with the <a title="IoTResource Catalogue" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/iotresource-catalogue/">IoT Resource Catalogue</a>.
The IoTResource needs to include the string "IoTdevice" in its "DeviceURN"element in the SCPD file.
The IoTResource should also implement the service <a title="IoTService" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/iot-resource/services-and-actions/iotservice/">IoTService.</a>
If you have used the tool <a title="IoTResource Builder" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/tools/iotresource-builder/">IoTResource Builder </a>to create your IoTResource, all this is automatically taken care of in the generated code.
<h3>SELF Registration</h3>
For IoTResources that don´t support UPnP there is a way to register the resource manually by using the RegisterResource action of the <a title="Catalogue Services and Actions" href="http://www.iotworldservices.com/wiki/iotworldserviceswiki/iotresource-catalogue/services-and-actions/">catalogue </a>service of the IoTResourceCatalogue.
<h3>LinkSmart Event Registration</h3>
This has not been implemented yet. |
Excerpt |