beautypg.com

Echelon i.LON SmartServer 2.0 User Manual

Page 321

background image

i.LON SmartServer 2.0 Programmer’s Reference

19-21

Property Description

Required/
Optional

Enumeration that defines the type of test to
perform. This property must be set to
CONNECTION_TEST.

Required

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

The IP address or hostname of the host device
whose connection to the SmartServer is to be
tested.

Required

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 ( is set to ST_STATUS), you only need to
provide the and 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)




CONNECTION_TEST
ST_BEGIN
10.2.124.53
80


Request (check the status of the test)



CONNECTION_TEST

ST_STATUS


Response





CONNECTION_TEST
2008-04-10T16:18:29.540-07:00
IDLE
0