Manual
84 Sending and Receiving Messages with the OpenLDV API
Network Interface
Command Value Direction Description
niFLUSH 0x90 Downlink Requests that the network interface
enter quiet mode (the FLUSH
state), which causes it to send any
pending downlink messages.
After all pending downlink
messages are completed, the
network interface responds with the
niFLUSH_COMPLETE command.
No further downlink messages can
be processed until the OpenLDV
application cancels the flush state
with the niFLUSH_CANCEL
command.
niFLUSH_IGN 0xA0 Downlink Obsolete.
niSLEEP 0xB0 Downlink Obsolete.
niLAYER 0xE5 Downlink
Uplink
Sets the top-most protocol layer
processed by the network interface.
This command is used only for
network interfaces that support
switching between a Layer 2 and a
Layer 5 interface, such as the
Echelon U10 and U20 USB
Network Interfaces.
This message can contain a single-
byte data payload to specify the top-
most protocol layer for the network
interface:
• 0 specifies Layer 5
• 1 specifies Layer 2
If no data payload is included, the
network interface responds with
two bytes: 0xE5 followed by 0 (if
the interface is operating as a Layer
5 network interface) or 1 (if the
interface is operating as a Layer 2
network interface).