Echelon OpenLNS User Manual

Page 73

Advertising
background image

OpenLNS Programmer's Reference

36

to fail. To exclude those configuration

properties from a download, you should OR

this value with the

lcaConfigPropOptExcludeNvTypeDefa

ults (512) value.
4 lcaConfigPropOptLoadUnknown
Sets all unknown configuration property

values in the

AppDevice

object to the

default values stored in the

DeviceTemplate, and then downloads all

known values into the physical device (if

the lcaConfigPropOptLoadValues flag

is set).
This will not affect manufacturing-only

configuration properties unless ORed with

lcaConfigPropOptIncludeMfgOnly (8).
This option should not be ORed with

lcaConfigPropOptSetDefaults (2), as

that would override this option by setting

all properties to their defaults.
Note that setting SCPTnvType

configuration properties to their default

values may cause the download operation

to fail. To exclude those configuration

properties from a download, you should OR

this value with the

lcaConfigPropOptExcludeNvTypeDefa

ults (512) value.
8 lcaConfigPropOptIncludeMfgOnly
Use this flag to in conjunction with the

lcaConfigPropOptSetDefaults (2) and

lcaConfigPropOptLoadUnknown (4)

options if you want the download operation

to include manufacturing-only

configuration properties.
Generally, these configuration properties

should only be modified during the

manufacturing process. However,

OpenLNS will not enforce this requirement

during a download if this flag is set, since

LNS may be the tool used to set the

configuration property values during the

manufacturing process.
16 lcaConfigPropOptSetUnknown
Sets all configuration properties in the

AppDevice

object in the OpenLNS

database to unknown. This has no effect on

the values stored in the physical device on

Advertising