Onsystemmgmtmodechangeevent – Echelon OpenLNS User Manual

Page 761

Advertising
background image

OpenLNS Programmer's Reference

724

been lost, and recovery is either

disabled, or it has timed out. Your

application will no longer be able to

communicate with the remote

network.
4 lcaSessionStateOffline
The NetworkServiceDevice

has been

taken offline, possibly because the

device is being commissioned.
Polling is suspended and monitor

and control events will not be

delivered to your application while

the NetworkServiceDevice

is offline.

5 lcaSessionStateOnline
The NetworkServiceDevice

has

returned to the online state.

Added to API

LNS Release 3.20.

OnSystemMgmtModeChangeEvent

Summary

Once an application registers for this event, it is generated

each time the system management mode changes. The

current system management mode for a system is stored in

the

MgmtMode

property of the

System

object

.

You can register your application for this event with the

BeginSystemMgmtModeChangeEvent method. You can

disable the event with the

EndSystemMgmtModeChangeEvent method.
You can read or write to the system management mode with

the MgmtMode

property of the System

object.

Syntax

OnSystemMgmtModeChangeEvent(networkHandle,

systemHandle, mgmtMode)

Element

Description

networkHandle The handle of the Network where the system

management mode changed.

systemHandle

The handle of the System

where the

management mode changed.

mgmtMode

The current system management mode.

The values that can be returned for this

element, which are contained in the

ConstMgmtModes constant, are as

follows:
0

lcaMgmtModePropagateConfigUpdat

es

Network

configuration changes are

Advertising