beautypg.com

Lonbridge device class file format, Xml elements for a device class file, 34, for information abou – Echelon LonBridg Server User Manual

Page 40: 34, for in

background image

34

LonBridge Device Class File

LonBridge Device Class File Format

A LonBridge device class file is an XML document that the LonBridge Server

uses to define the interface for a device interface for a specified program ID.
When a device is discovered, the LonBridge Server searches the Classes directory

for a device class file with a matching program ID (see

Classes Directory

on page

13).

Table 7 lists the XML elements that a device class file includes.

Table 7. XML Elements for a Device Class File

Element

Description

Defines the attributes for a device

Is a container element for the device attributes that are present

on the device

Defines the fields within a network variable

Defines the device class, and is the top-most element within a
class file

Enumerates each network variable defined for an
element

Defines the bytes that are sent on the L

ON

W

ORKS

network for a

network variable update to the device

Is a container element for the network variables defined for each
element

XML Elements for a Device Class File

The element defines the attributes for a device.

For an element within a element, the attribute name

must map an element that is defined within the
element.
Table 8 lists the attributes for the element.

Table 8. Attributes for the Element

Attribute

Description

Required?

enum

Defines whether the attribute has an

enumeration of values within an enclosed
set of elements.

Optional