beautypg.com

Deviceclass, Devicesubclass, Devicevalidation – Echelon OpenLNS User Manual

Page 310: Devicevalidation p

background image

OpenLNS Programmer's Reference

273

DeviceClass

Summary

Stores the device class for a device template

.

Availability

Local, full, and lightweight clients.

Syntax

deviceClassValue = devTemplateObject.DeviceClass

Element

Description

deviceClassValue

The device class value

devTemplateObject The

DeviceTemplate

object.

Data Type

String.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

DeviceSubclass

Summary

Returns the device subclass for a device template

.

Availability

Local, full, and lightweight clients.

Syntax

subClassValue = devTemplateObject.DeviceSubclass

Element

Description

subClassValue

The device sub-class value

devTemplateObject The

DeviceTemplate

object.

Data Type

String.

Read/Write

Read only.

Added to API

Prior to LNS Release 3.0.

DeviceValidation

Summary

Determines the device validation steps OpenLNS performs

when commissioning, replacing or upgrading devices that use

this device template. This may help reduce the time require

for commissioning a large number of devices if you are

confident that the devices contain the correct program

information and that they are installed on the correct

channel.
This method may also affect the validation performed when

loading a device’s application image with the

Load

or

LoadEx

methods

.

By default, OpenLNS performs a device validation procedure

when a

device is commissioned with the Commission method

and the network management mode is set to

lcaMgmtModePropagateConfigUpdates (0), or when a

device is commissioned with the CommissionEx method and

the lcaCommissionFlagPropagateUpdates (1) flag is set.
This procedure will validate that the device is on the channel

specified by the user, the program ID in the device matches