beautypg.com

Echelon LonBridg Server User Manual

Page 42

background image

36

LonBridge Device Class File

Example:







The element defines the fields within a network variable.
Table 9 lists the attributes for the element.

Table 9. Attributes for the Element

Attribute

Description

Required?

index

Specifies the starting byte of the network-

variable. Index 0 is the first byte.

Required

length

Defines the number of bytes within the

input network variable.

Optional

value

Defines the value of the byte, if any.

Optional

Example:







The element defines the device class, and is the top-most element
within a class file.
Only one element is allowed per class file.
Table 10 lists the attributes for the element.

Table 10. Attributes for the Element

Attribute

Description

Required?

brand

Defines the manufacturer name of the
device.

Optional

name

Defines the name of the device.

Required