The IoTService provides functionality for device discovery and access. Available actions:
Creates a web service for the device
Returns the endpoint for the web service1
Read the physical discovery information that is associated with the device
Returns: Discovery data encoded in XML string
Returns the WS endpoint for the local (LinkSmart) Device Application Catalogue (DAC) that has discovered the device.
Returns: The endpoint of the current DAC
Get errormessage for the device
Returns: Latest error message
Get IoTID for the device
Returns: The HID of the device
Check the device for possible error
Returns: True if error, False otherwise
Returns the endpoint where the device’s web service is located
Returns the endpoint where the device’s generic IoT web service is located
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<
Query device status
Returns: The status depending on the type of IoTResource
Returns the WSDL file describing the web service ssociated with the device
Sets the endpoint of the DAC that has discovered the device
Returns: The endpoint of the device WS
Sets the IoTID for the device
Argument: IoTID, string
Returns: valid IoTID
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
Sets the status for the device
Argument: Status, a status value choosen by the developer
Stops the device, which will cause it to be removed from its current DAC. The device can later be re-started.
Stops the generic IoT web service of the device.
Stops the web service associated with the device.