Echelon OpenLDV User Manual
Page 90

82
Sending and Receiving Messages with the OpenLDV API
Network Interface
Command
Value Direction Description
niL2_PRE_SHORT
0x34
Uplink
Specifies a “Preamble Too Short”
error condition for a Layer 2
network interface.
niL2_PKT_SHORT
0x35
Uplink
Specifies a “Packet Too Short” error
condition for a Layer 2 network
interface.
niL2_FREQ_RPT
0x40
Uplink
Specifies an incoming frequency
report from a Layer 2 network
interface.
niRESET
0x50
Uplink
Downlink
Uplink: Specifies that the network
interface has executed a hardware
or software reset.
Downlink: Requests a reset of the
network interface.
Applies to both Layer 2 and Layer 5
network interfaces.
niFLUSH_CANCEL
0x60
Downlink Requests that the network interface
cancel any flush operation posted
with the niFLUSH command or
caused by device reset.
The OpenLDV application must
issue this command after a
successful completion of the
ldv_open() function.
You can use the NiInit() function,
which is part of the OpenLDV
Developer Example to open a
connection to a network interface
more conveniently.
niFLUSH_COMPLETE
0x60
Uplink
Specifies that a flush operation
posted with the niFLUSH
command has completed.