EasyManua.ls Logo

W&T Com-Server++ - Inventory Taking Per UDP;8513

W&T Com-Server++
228 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
203
W&T Expanded services of the Com-Server
Subject to error and alteration
25�5 Inventory taking per UDP/8513
UDP port 8513 allows you to open an info-structure with de-
vice-specific information from the Com-Server. After receipt of
a network packet with any contents directed to this port, the
Com-Server replies with the info-packet. By configuring the
request packet as a broadcast, you can inventory all the W&T
devices located in the local network.
1
The factory default port number under which this
service can be reached is configured and deactivated
in the menu branch SETUP System r Setup TCP/IP r System
Port List.
25�5�1 The infopaket
Each infopacket consists of 3-6 data structures. BOX_VERSION
contains information on the respective model of the Com-Ser-
ver and its firmware status. The structure BOX_DESCRIPT pro-
vides the network-relevant data such as MAC- and IP-address.
The 3.-6. structure PORT_DESCRIPT provides information
about the configured mode and the current connection status
of the individual ports. The total length of the InfoPacket is
calculated as follows: 10 + 22 + (port_no x 10) bytes.
#pragma pack(1)
typedef struct _BOX_VERSION // ( 10 byte )
{ unsigned int version; // 0x10: 1.0 (Version of this structure)
unsigned int sw_rev; // z.B. 1.24 (0x1501)
unsigned int hw_rev; // C2_EURO = 2.0 (0x0002)
// C4_MINI = 4.0 (0x0004)
// C5_100BT = 5.0 (0x0005)
// C8_LOW_VOLTAGE = 8.0 (0x0008)
// C90 Com-Server++ = 9.0 (0x0009)
unsigned int reserved[2];
}BOX_VERSION;
typedef struct _BOX_DESCRIPT // ( 22 byte)
{ unsigned char mac_addr[6]; // MAC address of Com-Server
unsigned long IP_number; // IP address of Com-Server
unsigned long gateway; // Gateway
unsigned long subnet_mask; // Subnet mask
unsigned int MTU; // MTU
unsigned int port_anz; // Number of serial ports of Com-Server
}BOX_DESCRIPT; // (port_anz * 10 byte)

Table of Contents

Related product manuals