XCDX458000-00 rev A
41
Data types
• Destination IP address is broadcast (256.256.256.256)
• Destination UDP port is 0x1E27 (7719)
• First 8 bytes of payload are magic bytes 0x58 0x43 0x44 0x64 0x35
0x0f 0xd6 0x8F
Once XCDX box receives valid Discover message, it extracts the Host IP
address and UDP port from the Discover message and responds to this
address/port with UDP message. The payload of the reply is not specified; the
Host uses only source IP address of the message to find out the XCDX IP
address.
4.4
D
ATA
TYPES
Parameters field in a command and Extension field in a reply can contain a
number of numerical values. Each value is a binary of specific type in little-
endian format (the least significant byte appears first).
The following formats are used:
4.5
XCDX C
OMMANDS
This section includes available XCDX commands.
4.5.1
S
ET
IP
The command sets current IP address and network mask and stores
specified values in the flash memory. The flash values will be retrieved and
used at the next start up (power up). After setting IP address/mask,
restart is recommended to re-initialize network operation.
• IP Address - four bytes that specify desired address in the processor
byte order. E.g., address 198.162.0.103 (0xC6.0xA2.0x00.0x67) should
be specified as 0x6700A2C6.
Table 5:
Format
Number of
bytes
Range
Int8
1
-128 to +127
Int16
2
-32768 to +32767
Int32
4
-2147483648 to +2147483647
Real
4
-3.4*1038 to +3.4*1038 approximately
(complying with IEEE 754)
ID
2
0 to 65535