Echelon OpenLNS User Manual

Page 218

Advertising
background image

OpenLNS Programmer's Reference

181

Syntax

propOptionsValue = cdtObject.PropertyOptions

Element

Description

cdtObject

The

ConnectDescTemplate

object to be

acted on.

propOptionsValue

The value indicating which attributes

are active. Multiple options can be

ORed together to form the set of

attributes that will be considered

active in the connection.
For example, you could OR

lcaConnPropsServiceType with

lcaConnPropsPriority to activate

the ServiceType and UsePriorityFlag

properties. The values of the

ServiceType and UsePriorityFlag

properties in the devices used in the

connection would then be overridden

by the values stored in the

ConnectDescTemplate object for those

properties. The values for all other

properties would still be taken from

device and internal defaults.
The possible options for this element,

which are contained in the

ConstConnPropOptions constant, are

as follows:
0 lcaConnPropsNone

1 lcaConnPropsServiceType
Select this value to activate the

ServiceType property of the

ConnectDescTemplate object.
2 lcaConnPropsPriority
Select this value to activate the

UsePriorityFlag property of the

ConnectDescTemplate object.
4 lcaConnPropsAuth
Select this value to activate the

UseAuthenticationFlag property of the

ConnectDescTemplate object.
8 lcaConnPropsRetryCount
Select this value to activate the

RetryCount property of the

ConnectDescTemplate object.
16 lcaConnPropsRepeatCount
Select this value to activate the

Advertising