Lantronix 10 User Manual

Page of 139
UDP 
UDS-10 User Guide 
8-1 
8. Network Configuration using UDP 
8.1 UDP Datagrams 
The Device Server can also be configured or queried over the network using UDP datagrams. 
The Device Server has a UDP listener set for port 30718 (77FE Hex). Responses from the 
Device Server are returned to the source port of the UDP packet. 
The first three bytes of the UDP data block should be set to zero. The fourth byte selects the 
function as described in the following table: 
Table 19 - UDP Configuration 
Byte  Command 
Parameters 
Notes 
03 
Node Reset 
2 bytes, software 
type 
These 2 bytes are used to prevent 
accidental reset of the Device Server. 
(Value for standard CoBox firmware: 33 51 
[Hex], 3Q) 
F6 Query 
for 
Firmware 
Version 
None 
The Device Server responds with the F7 
block below. 
F7 Firmware 
Information 
First 16 bytes of the 
firmware image, 
and 4 bytes device 
information and 
serial number. 
The first 16 bytes of the firmware image 
contain the software type (offset 4,5) and 
checksum (offset 14,15). The last two bytes 
of the device information contain the serial 
number. 
F8 Query 
for 
Setup Record 
None 
The Device Server responds with the F9 
block below. 
F9 Configuration 
Readback 
120 byte setup 
record (see Setup 
Records on page E-
7) 
n/a 
FA Set 
Configuration 
120 byte setup 
record (see Setup 
Records on page E-
7) 
The IP address (byte 0-3) will not be 
overridden using FA. See FD for this 
functionality. 
FB Configuration 
Change 
Acknowledge 
None 
This block is sent back to the host 
requesting a configuration change (FB). 
After sending out this block, the Device 
Server resets and uses the new 
configuration sent with the FA command. 
FC 
Set IP Address  First 8 bytes must 
This block can be sent as a broadcast,