Echelon OpenLNS User Manual

Page 418

Advertising
background image

OpenLNS Programmer's Reference

381

lcaConfigPropOptSetDefaults
Sets the configuration property

values in the

AppDevice

object to

the default configuration property

values stored in the

DeviceTemplate

,

and downloads any changed values

to the physical device on the

network (if the

lcaConfigPropOptLoadValues

flag is set).
Manufacturing-only configuration

properties are not affected by this

option unless it is ORed with

lcaConfigPropOptIncludeMfgOn

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

lcaConfigPropOptLoadUnknow

n (4).
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

lcaConfigPropOptExcludeNvTy

peDefaults (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 effect manufacturing

only configuration propertys unless

ORed with

lcaConfigPropOptIncludeMfgOn

ly (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

Advertising