beautypg.com

Lonbridge commands for input messages – Echelon LonBridg Server User Manual

Page 33

background image

LonBridge Server User’s Guide

27

posProperty--;
}
}

LonBridge Commands for Input Messages

The LonBridge Server sends messages to a LonBridge application for either of
the following reasons:

• In response to specific LonBridge command
• To notify the LonBridge application of events, such as device discovery or

a property update

An application cannot send input messages.
The LonBridge XML for input messages includes the following XML elements:

The message allows the LonBridge application to specify error

conditions, for example, for a GUI.
Table 4 lists the attributes for the message.

Table 4. Attributes for the Message

Attribute

Description

Required?

code

Specifies the error code.

Optional

description

Specifies the error description.

Optional

The message announces the current value of the attributes for a device.
This message is used only for devices with a non-empty domain.
The attributes for the message vary depending on the device and the
original output message for which this message is the response. The reported

attributes include a fixed set of attributes that identify the device, followed

by the attributes defined within the element in the devices.xml file.
The fixed and variable attributes are defined in

Instances Directory

on page

16.

The message announces new devices.
The attributes for the message vary depending on the device. The

reported attributes include a fixed set of attributes that identify the device,
followed by the attributes defined within the element in the

devices.xml file. For example, the device name comes from the name

attribute. The fixed and variable attributes are defined in

Instances

Directory

on page 16.

The message announces the value of an object before any

change has occurred. This message allows the LonBridge Server to

acknowledge receipt of an output message so that a LonBridge application