beautypg.com

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

Page 319

background image

i.LON SmartServer 2.0 Programmer’s Reference

19-19

• SS_SENDING_MAIL
• SS_BUSY

A flag indicating whether there was an error with the
test.

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.

An array of connection log entries .
Each entry has the following
properties:

. The index value assigned to the

log entry.

. The time the entry was

recorded.

. 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”.

. A flag indicating whether there

was an error with the test.

. A string that displays the IP

address of the host device being tested or the
value specified in the
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
element that includes one element. The element must specify a
that is set to CONFIG_SERVER_TEST, and it must specify a
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)



CONFIG_SERVER_TEST

ST_STATUS