Echelon OpenLNS User Manual

Page 312

Advertising
background image

OpenLNS Programmer's Reference

275

database, the commission will fail,

and the NS, #72

lcaErrNsWrongChannel exception

will be thrown.
1

lcaDeviceValidationNoChannelV

alidation
Do not validate the channel if it is

already known because either it has

been specified by the application, or

the device is already registered.
If this option is selected and the

channel is not specified, the channel

isolation process will still be used.

If this option is selected and a device

has been placed on the wrong

channel, OpenLNS will not detect

this. As a result, communication

with the device may not work from

some channels due to routing

constraints. In addition, layer 4

timers may be set incorrectly, which

will cause communication problems

for the device.

Note that if the program ID of a

device is not known, OpenLNS must

read the device’s program ID before

commissioning, upgrading, or

replacing the device. Before reading

the program ID, OpenLNS will

perform channel validation,

regardless of whether this flag is set.

As a result, this value has no effect if

the program ID of the device is not

known.
2

lcaDeviceValidationNoProgramI

nterfaceValidation
Do not validate the program

interface. If the program interface is

not known, it will still be recovered if

this option is set.
When loading the application image

for a device that has already been

commissioned, OpenLNS reads the

program ID from the newly loaded

device, and if it matches the original,

it validates the program interface.

This step will be skipped if this

Advertising