Attachmentstatus, Authenticationenabled – Echelon OpenLNS User Manual

Page 103

Advertising
background image

OpenLNS Programmer's Reference

66

DeviceTemplate object's XifPath property.
If this application device was not created from a device

template, this property will be empty and must be assigned

by the OpenLNS application.

AttachmentStatus

Summary

Indicates whether the device is attached and in the proper

state.

Availability

Local, full, and lightweight clients.

Syntax

returnValue = object.Count

Element

Description

attachmentStatus The attachment status of the device.

The values for this element, which are

stored in the

ConstDeviceAttachmentStatus

constant, are as follows:

0 lcaDeviceAttached
Indicates that the device that triggered

the event is now attached and in the

proper state.
1 lcaDeviceInImproperState
Indicates that the device that triggered

the event is now attached but not in

the proper state.
2 lcaDeviceNotAttached
Indicates that the device that triggered

the event is now not attached.

Object

The

AppDevice

object to be acted on.

Data Type

Integer.

Read/Write

Read only.

Added to API

LNS Release 3.0.

AuthenticationEnabled

Summary

Indicates whether an application device uses network

management authentication.

The following sections describe how to enable and disable

authentication.

Enabling Authentication

To enable authentication for any of the devices in a system,

follow these steps:
1. Set the system’s authentication key using the

System

Advertising