System information

Table Of Contents
i.LON SmartServer 2.0 Programmer’s Reference
19-21
Property Description
Required/
Optional
<UCPTTestType>
Enumeration that defines the type of test to
perform. This property must be set to
CONNECTION_TEST.
Required
<UCPTstate>
This property specifies whether to start a test or get
the current status of the test. This property may be
set to one of the following values:
ST_BEGIN. Starts the test.
ST_STATUS. Returns the status of the test.
Required
<UCPThostURL>
The IP address or hostname of the host device
whose connection to the SmartServer is to be
tested.
Required
<UCPTport>
The port the SmartServer uses to communicate with
the host device whose connection to the
SmartServer is to be tested.
Optional
Note: If you are checking the status of a test (<UCPTstate> is set to ST_STATUS), you only need to
provide the <UCPTTestType> and <UCPTstate> properties.
The following examples demonstrate how to use the SystemService_Test function to test a connection
with another host device (a remote SmartServer) and check the status of the test.
Request (test the connection to a Remote SmartServer)
<SystemService_Test xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>
<Test>
<UCPTtestType>CONNECTION_TEST</UCPTtestType>
<UCPTstate>ST_BEGIN</UCPTstate>
<UCPThostURL>10.2.124.53</UCPThostURL>
<UCPTport>80</UCPTport>
</Test>
</iLONSystemService>
</SystemService_Test>
Request (check the status of the test)
<SystemService_Test xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>
<Test>
<UCPTtestType> CONNECTION_TEST</UCPTtestType>
<UCPTstate>ST_STATUS</UCPTstate>
</Test>
</iLONSystemService>
</SystemService_Test>
Response
<SystemService_TestResponse xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<Result>
<iLONSystemService>
<Test>
<UCPTtestType>CONNECTION_TEST</UCPTtestType>
<UCPTlastUpdate>2008-04-10T16:18:29.540-07:00</UCPTlastUpdate>
<UCPTstate>IDLE</UCPTstate>
<UCPTerror>0</UCPTerror>