2 ip 852 configuration server test, Ip-852 configuration server test -19 – Echelon i.LON SmartServer 2.0 User Manual
Page 319

i.LON SmartServer 2.0 Programmer’s Reference
19-19
• SS_SENDING_MAIL
• SS_BUSY
<UCPTerror>
A flag indicating whether there was an error with the
test.
<UCPTdetailDescr>
A string that displays the last SMTP error received
from either the server or client. This may be
implementation specific between SMTP servers, so
the entire string is copied to this parameter.
<AoTestLog>
An array of connection log entries <UCPTtestLog>.
Each <UCPTtestLog> entry has the following
properties:
• <UCPTindex>. The index value assigned to the
log entry.
• <UCPTlogTime>. The time the entry was
recorded.
• <UCPTdescription>. A description of the action
performed. This may have the following values:
• SMTP tests: “Send SMTP” or “Connection
Released”.
• IP-852 Configuration Server tests: “Connection
established”, Request configuration server status”,
“Configuration server is not responding”, or
“connection released”
• Connection tests: “Create Socket”, “Connect
Socket ”, or “Close Socket”.
• <UCPTerror>. A flag indicating whether there
was an error with the test.
• <UCPTdetailDescr>. A string that displays the IP
address of the host device being tested or the
value specified in the <UCPTemailAddress>
property of an SMTP test.
19.2.2
IP-852 Configuration Server Test
You can use the SystemService_Test function to test the connections between the SmartServer and the
default IP-852 Configuration Server. To do this, you provide the SystemService_Test function with an
<iLONSystemService> element that includes one <Test> element. The <Test> element must specify a
<UCPTtestType> that is set to CONFIG_SERVER_TEST, and it must specify a <UCPTstate>
property that is set to ST_BEGIN (to start the test) or ST_STATUS (to check the status of the test).
Request (test the connection to an IP-852 Configuration Server)
<SystemService_Test xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>
<Test>
<UCPTtestType>CONFIG_SERVER_TEST</UCPTtestType>
<UCPTstate>ST_STATUS</UCPTstate>
</Test>
</iLONSystemService>