Lantronix XPress-DR XPress-DR / XPress-DR-IAP - User Guide - Page 97

Network Configuration using UDP, UDP Datagrams

Page 97 highlights

UDP 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 23 - UDP Configuration Byte Command 03 Node Reset F6 Query for Firmware Version F7 Firmware Information F8 Query for Setup Record F9 Configuration Readback FA Set Configuration FB Configuration Change Acknowledge Parameters 2 bytes, software type None Notes These 2 bytes are used to prevent accidental reset of the Device Server. (Value for standard CoBox firmware: 33 51 [Hex], 3Q) The Device Server responds with the F7 block below. First 16 bytes of the firmware image, and 4 bytes device information and serial number. None 120 byte setup record (see Setup Records on page E7) 120 byte setup record (see Setup Records on page E7) None 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. The Device Server responds with the F9 block below. n/a The IP address (byte 0-3) will not be overridden using FA. See FD for this functionality. 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. DSTni-XPress DR User Guide 8-1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149

UDP
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 23 - 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.
DSTni-XPress DR User Guide
8-1