IoTService

Revision for “IoTService” created on February 26, 2015 @ 11:16:02

Title
IoTService
Content
<a href="http://www.iotworldservices.com/wp-content/uploads/2014/12/iotresource1.png"><img class="alignnone wp-image-288 size-full" src="http://www.iotworldservices.com/wp-content/uploads/2014/12/iotresource1.png" alt="iotresource1" width="919" height="1024" /></a> <h2>IoTService</h2> The IoTService provides functionality for device discovery and access. Available actions: <hr /> <strong>createWS</strong> Creates a web service for the device Returns the endpoint for the web service1 <hr /> <strong>GetDiscoveryInfo</strong> Read the physical discovery information that is associated with the device Returns: Discovery data encoded in XML string <hr /> <strong>GetDACEndpoint</strong> Returns the WS endpoint for the local (LinkSmart) Device Application Catalogue (DAC) that has discovered the device. Returns: The endpoint of the current DAC <hr /> <strong>GetErrorMessage</strong> Get errormessage for the device Returns: Latest error message <hr /> <strong>GetIoTID</strong> Get IoTID for the device Returns: The HID of the device <hr /> <strong>GetHasError</strong> Check the device for possible error Returns: True if error, False otherwise <hr /> <strong>GetWSEndpoint</strong> Returns the endpoint where the device's web service is located <hr /> <strong>GetIoTWSEndpoint</strong> Returns the endpoint where the device's generic IoT web service is located <hr /> <strong>GetProperty</strong> Returns a property of the device. A developer can choose any properties she likes to use and set. Argument: A valid property name (valid XML element name, QNname) Retunrs: The value of the property&lt; <hr /> <strong>GetStatus</strong> Query device status Returns: The status depending on the type of IoTResource <hr /> <strong>GetWSDL</strong> Returns the WSDL file describing the web service ssociated with the device <hr /> <strong>SetDACEndpoint</strong> Sets the endpoint of the DAC that has discovered the device Returns: The endpoint of the device WS <hr /> <strong>SetIoTID</strong> Sets the IoTID for the device Argument: IoTID, string Returns: valid IoTID <hr /> <strong>SetProperty</strong> Sets a property of the device. A developer can choose any properties she likes to use and set. Argument: property, a valid property name (valid XML element name, QName) Argument: value, the value of the property <hr /> <strong>SetStatus</strong> Sets the status for the device Argument: Status, a status value choosen by the developer <hr /> <strong>Stop</strong> Stops the device, which will cause it to be removed from its current DAC. The device can later be re-started. <hr /> <strong>StopIoTWS</strong> Stops the generic IoT web service of the device. <hr /> <strong>StopWS</strong> Stops the web service associated with the device. <hr />
Excerpt


OldNewDate CreatedAuthorActions
February 26, 2015 @ 11:16:02 Peter Rosengren
December 18, 2014 @ 15:04:44 Matts Ahlsén
December 18, 2014 @ 14:55:27 Peter Rosengren
December 18, 2014 @ 14:34:16 Matts Ahlsén
December 18, 2014 @ 14:33:19 Matts Ahlsén
December 18, 2014 @ 14:30:51 Matts Ahlsén
December 18, 2014 @ 14:30:34 [Autosave] Matts Ahlsén
December 18, 2014 @ 14:11:57 Matts Ahlsén
December 18, 2014 @ 14:05:32 Matts Ahlsén
December 18, 2014 @ 14:05:10 Matts Ahlsén
December 18, 2014 @ 14:04:13 Matts Ahlsén
December 18, 2014 @ 14:02:25 Matts Ahlsén
December 17, 2014 @ 14:30:38 Matts Ahlsén
December 17, 2014 @ 14:28:53 Matts Ahlsén
December 17, 2014 @ 10:45:08 Peter Rosengren
December 17, 2014 @ 10:44:21 Peter Rosengren
December 14, 2014 @ 22:07:56 Peter Rosengren
December 14, 2014 @ 22:00:21 Peter Rosengren