![W&T 57630 Manual Download Page 203](http://html1.mh-extra.com/html/wandt/57630/57630_manual_3082028203.webp)
203
W&T
network inventory via UDP
Subject to errors and modifications:
7.4
Network inventory via UDP
Larger installations especially often require inventorizing of the
Web-IOs or also W&T Com-Servers currently located in the
network. UDP Port 8513 is provided for this purpose. After
receiving a network packete on this port, the Web-IO replies to
the sender with an info packet. This contains information about
the Web-IO and its network parameters.
Whether a packet was received via broadcast or directly
addressed makes no difference in generating the info structure.
The only requirement is that Port 8513 be used.
1
For reasons of backward compatibility the Web-IOs
continue to support UDP info port 8512. For new
applications, however, only Port 8513 should be used.
7.4.1 The info packet
Each info packet consists of 3-6 data structures:
BOX_VERSION
contains information about the respective model of the Web-IO or
Com-Server and its firmware version. Network-relevant data such
as MAC and IP address can be taken from the
BOX_DESCRIPT
structure. The 3.-6. structure
PORT_DESCRIPT
provides
information about the sete operatoin mode (for W&T Com-Servers
only) and the current connection status of the individual ports. The
total length of an info packet is calculated as follows:
10 + 22 +
(port_anz × 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)
// C3_PC104
= 3.0 (0x0003)
// C4_MINI
= 4.0 (0x0004)
// C5_100BT
= 5.0 (0x0005)
// C6_INDUSTRY
= 6.0 (0x0006)
// C8_LOW_VOLTAGE
= 8.0 (0x0008)
// C8_WEB-IO
= 8.1 (0x0108)
unsigned int reserved[2];
}BOX_VERSION;
Summary of Contents for 57630
Page 8: ...8 W T Content...
Page 22: ...22 W T Assigning the IP address...
Page 44: ...44 W T configuring the network parameters...
Page 194: ...194 W T Diacnostics and testing...