1 tcp/ip settings, Tcp/ip settings -2 – Echelon i.LON SmartServer 2.0 User Manual

Page 302

Advertising
background image

i.LON SmartServer 2.0 Programmer’s Reference

19-2

• Time of last refresh.

SI_MAIL

E-mail (SMTP) server settings.

SI_RTR

IP-852 router settings.

SI_RTR_STAT
(read-only)

Network performance statistics for the SmartServer as
an IP-852 router.

SI_LSPA

LonScanner Protocol Analyzer settings.

The SystemService_Read_Info function returns a string listing all the system information provided by
the <UCPTsystemInfoType> property specified in the request message. You can use the
SystemService_Write_Info function to configure the read/write properties of the item. The tables that
follow the code samples for the various items list whether a property is writable (r/w) or read-only (r).
Note that the system module also includes a simple SystemService_Reboot function that you can use to
reboot a SmartServer.

19.1.1

TCP/IP Settings

You can use the SystemService_Read_Info function to get the SmartServer’s IP connections, including
its IPv4, IPv6, and DNS server connections. To do this, you provide the SystemService_Read_Info
function with an <iLONSystemService> element that includes one <UCPTsystemInfoType> property
that is set to SI_NETWORK.

Request

<SystemService_Read_Info xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>
<UCPTsystemInfoType>SI_NETWORK</UCPTsystemInfoType>

</iLONSystemService>
</SystemService_Read_Info>

Response

<SystemService_Read_Info xmlns="http://wsdl.echelon.com/web_services_ns/ilon100/v4.0/message/">
<iLONSystemService>
<NETWORK>
<UCPTipAddress>10.2.124.82</UCPTipAddress>
<UCPTipMask>255.255.128.0</UCPTipMask>
<UCPTgateway>10.2.0.1</UCPTgateway>
<UCPTdnsServer1>0.0.0.0</UCPTdnsServer1>
<UCPTdnsServer2>0.0.0.0</UCPTdnsServer2>
<UCPTipv6DnsServer1

/>

<UCPTipv6DnsServer2

/>

<UCPThostName>SmartServer</UCPThostName>
<UCPTdomainSuffix

/>

<UCPTdhcpEnabled>0</UCPTdhcpEnabled>
<UCPTdnsDomainViaDhcpEnabled>0</UCPTdnsDomainViaDhcpEnabled>
<UCPTdnsAddressViaDhcpEnabled>0</UCPTdnsAddressViaDhcpEnabled>
<UCPTsecureAccessAllowed>1</UCPTsecureAccessAllowed>
<UCPTmacID>00-D0-71-02-0A-18</UCPTmacID>
<UCPTcurrentIpAddress>10.2.124.82</UCPTcurrentIpAddress>
<UCPTcurrentIpMask>255.255.128.0</UCPTcurrentIpMask>
<UCPTcurrentGateway>10.2.0.1</UCPTcurrentGateway>
<UCPTgprsIpAddress

/>

<UCPTipv4Only>1</UCPTipv4Only>
<UCPTipv6StaticConfigEnable>0</UCPTipv6StaticConfigEnable>
<UCPTipv6AddressStatic>::/64</UCPTipv6AddressStatic>
<UCPTipv6Gateway

/>

<UCPTipv6AddressAutoConfigLocal>fe80::2d0:71ff:fe02:a18</UCPTipv6AddressAutoConfigLocal>
<UCPTipv6AddressAutoConfigGlobal

/>

<UCPTipv6AddressViaDHCPEnable>0</UCPTipv6AddressViaDHCPEnable>
<UCPTipv6DNSServerViaDHCPEnable>0</UCPTipv6DNSServerViaDHCPEnable>
<UCPTipv6DNSDomainViaDHCPv6Enabled>0</UCPTipv6DNSDomainViaDHCPv6Enabled>
<UCPTipv6AddressDHCP>TBD</UCPTipv6AddressDHCP>

Advertising