Echelon LonBridg Server User Manual
Page 42

36
LonBridge Device Class File
Example:
<attributes>
<attribute ... >
<nvs>
<nv ... />
</nvs>
</attribute>
</attributes>
<byte>
The <byte> element defines the fields within a network variable.
Table 9 lists the attributes for the <byte> element.
Table 9. Attributes for the <byte> 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:
<nvs>
<nv ... >
<byte index="0" length="1">
<attribute ... />
</byte>
</nv>
</nvs>
<device>
The <device> element defines the device class, and is the top-most element
within a class file.
Only one <device> element is allowed per class file.
Table 10 lists the attributes for the <device> element.
Table 10. Attributes for the <device> Element
Attribute
Description
Required?
brand
Defines the manufacturer name of the
device.
Optional
name
Defines the name of the device.
Required