Echelon OpenLNS User Manual

Page 99

Advertising
background image

OpenLNS Programmer's Reference

62

this case, only values that are unknown in the

OpenLNS database will be uploaded from the

physical device. Following that, all the values

stored in the OpenLNS database for the device

will be set as the defaults in the

DeviceTemplate object. This includes

the values uploaded by the call to

UploadConfigProperties, as well as all values

that were known in the OpenLNS database

before the operation began.
4 lcaConfigPropOptLoadUnknown
This option must be ORed with the

lcaConfigPropOptLoadValues (1) or the

lcaConfigPropOptSetDefaults (2) values to

have any effect. You can OR this with the

lcaConfigPropOptLoadValues (1) value to

upload all unknown values in the OpenLNS

database from the physical device on the

network. Alternatively, you can OR this with

the lcaConfigPropOptSetDefaults (2)

values to upload all the unknown values into

the OpenLNS database, and then set the

uploaded values (as well as all values that

were known in the database before the upload)

as the device’s defaults in the OpenLNS

database. Note that all configuration

properties in an AppDevice

object

start in the

unknown condition. Values that have been

explicitly set in the database are not affected

by this option.
64

lcaConfigPropOptExcludeDeviceSpecific
Do not upload configuration properties with

the device-specific attribute set into the

OpenLNS database. For example, if this option

is ORed with lcaConfigPropOptLoadValues

(1), LNS would upload all configuration

properties that are not device-specific from the

device into the OpenLNS database. This option

should not be ORed with

lcaConfigPropOptOnlyDeviceSpecific (128).
128

lcaConfigPropOptOnlyDeviceSpecific
Only upload configuration properties with the

device-specific attribute set into the OpenLNS

database. For example, if this option is ORed

with lcaConfigPropOptLoadUValues (1),

LNS would upload all device-specific

configuration properties from the device into

the OpenLNS database. This option should not

Advertising