171
W&T Mode SLIP router
Subject to error and alteration
21�1�5 Configuring the Com-Server via SLIP
It is possible to open a UDP connection for configuring some
Com-Server parameters through the serial connection bet-
ween the Com-Server and the connected SLIP computer. The
SLIP packets must be directed to the IP address 10.0.0.1 and
UDP port 1111. These packets are not forwarded to the Ether-
net, but rather are processed by the Com-Server and answe-
red as appropriate.
The packets consist of IP and UDP headers as well as the con-
figuration data, and are exchanged between the Com-Server
and the SLIP computer per SLIP.
Format of the configuration data
The configuration data always start with the TYPE field, which
specifies the packet type, followed by the LEN field, which
specifies the length of the configuration data in bytes. Next
follows a list of parameters having any length, whose content
and length is indicated by a defined number (PARAM_NO).
TYPE
BYTE
LEN
BYTE
PARAMETER
TYPEDEF
PARAM_NO
BYTE
PARAMETER
TYPEDEF
PARAM_NO
BYTE
...
The parameter list
The following Com-Server parameters can be written and/or
read. Parameters of data type long or unsigned int are sent in
net order, with the high byte first and the low byte last.
PARAM_NO Parameter name Data type RD/WR
1
Setup TCP/IP r IP-Address
long (32 bit) rd+wr
2
Setup TCP/IP r Subnet Mask
long (32 bit) rd+wr
3
Setup TCP/IP r Gateway
long (32 bit) rd+wr
4
Setup TCP/IP r MTU
unsigned int (16 bit) rd+wr
5
... r SLIP Router r Net-Address
long (32 bit) rd+wr
6
... r SLIP Router r SLIP-Net-Routing
unsigned int (16 bit) rd+wr
16 MAC address char[6] (6 bytes) rd
17 Software version unsigned int (16 bit) rd