beautypg.com

1 issuing network synchronization commands – Echelon i.LON SmartServer 2.0 User Manual

Page 206

background image

i.LON SmartServer 2.0 Programmer’s Reference

14-6

SmartServer and get its property. If you don’t specify the of the
current network, you will receive a response message with the following fault structure:


faultType="_error">8

It's not allowed to set more then one network.


Request (using the SmartServer Web service, select an existing LNS network database to which
the SmartServer will automatically be synchronized)



0

xsi:type="LON_Network_Cfg">

MyNewNetwork_1
873906929


MyNewNetwork_1
//WebService[UCPTindex=4]

LonFormat="UCPTlnsSync">SYNC_LNS

LonFormat="UCPTmgmtMode">LCA_ONNET

X.Default.SmartServer_RNI



Note: You need to specify the property with the handle of the current network on the
SmartServer or the response message will return an error.

Request (create a new network using the SmartServer Web service; use the same Set function to
create the LNS network database via the LNS Proxy Web service and automatically synchronize
the SmartServer to it)



MyNewNetwork_1

xsi:type="number">873906929

MyNewNetwork_1

xsi:type="string">//WebService[UCPTindex=4]

SYNC_LNS

LCA_ONNET

X.Default.SmartServer_RNI



Note: You need to specify the property with the handle of the current network on the
SmartServer or the response message will return an error.

Response



0


MyNewNetwork_1


14.1.3.1 Issuing Network Synchronization Commands

You can use the InvokeCmd function to manually synchronize the objects in a L

ON

W

ORKS

network to

an LNS network database. If is set to SYNC_NUL (LNS Manual; manual