172
Packet types (byte TYPE)
The following three packet types are used for sending confi-
guration data:
• TYPE = 1: Writing parameters in the Com-Server
This packet is sent by the SLIP computer to the Com-
Server. The Com-Server carries out the configuration and
deletes the packet. A packet for configuring the IP address
and subnet mask would look as follows
TYPE
1
LEN
10
IP-AdressePARAM_NO
1
Subnet MaskPARAM_NO
0 1 2 3 7 8 12
FF FF FF 00
(255.255.255.0)
AC 19 EF 01
(172.16.231.1)
2
• TYPE = 2: Request for reading parameters
This packet is sent by the SLIP computer to the Com-
Server. The Com-Server sends a response type (TYPE=3)
with the contents of the requested parameters. The packet
contains the fields TYPE and LEN and a list of the desired
parameter numbers (PARAM_NO). A packet for reading the
MTU and the MAC address would look as follows:
TYPE
2
LEN
2
PARAM_NO
4
PARAM_NO
0 1 2 3 8
16
• TYPE = 3: Response to a request for reading
parameters
The Com-Server uses this packet to reply to a request for
reading parameters (TYPE=2). It is used for sending the
requested parameter contents. This packet is constructed
like TRYPE 1. The reply to a request for parameters MTU
and MAC address would look as follows:
TYPE
3
LEN
10
MTUPARAM_NO
4
MAC addressPARAM_NO
0 1 2 3 7 8 12
00 C0 3D 00 30 DB02 00
(512)
16