19 / 58
Easy IP address config (UDP # 7010)
A really useful feature of the UDP port #7010 is the "Easy IP config" one.
The user who wants to design his own software can use this feature to do a
"quick start/install" method. Indeed, since this protocol uses a broadcast UDP
packet, even if the device is not in the same subnet, it should receive its new
IP address and subnet mask.
Procedure:
Send a UDP broadcast message (using a local or direct broadcast IP address)
to your network (inside which the FMod-TCP BOX is connected) with the
following command:
Byte#
Number of bits
Example
0x00
Change IP fct (0x002A)
16 bits
0x002A
0x02 TransactionID
16
bits
0x0000
0x04
Length of params (0x000E)
16 bits
0x000E
0x06
FMod-TCP BOX Mac Address
6 bytes
0x0050C2308101
0x0C
FMod-TCP BOX new IP
Address
4 bytes
0xC0A81064
0x10
FMod-TCP BOX new
SubnetMask
4 bytes
0xFFFF0000
0x14 Checksum
16
bits
0x…
If the FMod-TCP BOX recognizes its MAC address, it will answer this
command with a simple acknowledges and change its IP address and subnet
mask IF NO TCP CONNECTION IS MADE TO THE DEVICE.
Byte#
Number of bits
Example
0x00
Change IP fct ack (0x002B)
16 bits
0x002B
0x02 TransactionID
16
bits
0x0000
0x04
Length of params (0x0000)
16 bits
0x0000
0x14 Checksum
16
bits
0x…
FMod-TCP User Manual v.2.8