Echelon LonBridg Server User Manual
Page 43

LonBridge Server User’s Guide
37
Attribute
Description
Required?
pid
Defines the program ID for the device
class.
During device discovery, LonBridge Server
maps the program ID of the class to the
program ID of the discovered device.
Required
type
Defines the type of the device.
Required
Example:
<device pid="9000011E294F1103" name="Lamp Module"
type="dimmer" brand="Echelon">
<attributes>
<attribute ... >
<nvs>
<nv ... />
</nvs>
</attribute>
</attributes>
<nvs>
<nv ... >
<byte ... >
<attribute ... />
</byte>
</nv>
</nvs>
</device>
<enum>
The <enum> element defines logical names for each network variable defined
for an <attribute> element. When an <attribute> element has an enum
attribute set to “true”, the LonBridge Server sets the corresponding
LonBridge XML attribute to a value based on the <enum> children elements
within the <attribute> element.
Table 11 lists the attributes for the <enum> element.
Table 11. Attributes for the <enum> Element
Attribute
Description
Required?
input
For an input network variable, defines the
LonBridge XML value used to set the
device. You can also specify an input as
"default", which indicates that the
LonBridge Server should use this value if
none of the other enumerations match.
For an output network variable, defines the
bytes to be put on the L
ON
W
ORKS
network
for this byte.
Required