W&T Com-Server++ Manual page 204

Com-server series
Table of Contents

Advertisement

W&T
typedef struct _PORT_DESCRIPT
{ union
{
unsigned int wState;
struct _new_type
{
unsigned char port_type;//0x01
unsigned char state;
};
};
unsigned int
unsigned long remote_IP;
unsigned int
}PORT_DESCRIPT;
typedef struct _WT_INTERN3
{
BOX_VERSION
BOX_DESCRIPT
PORT_DESCRIPT pd[ACT_PROCESS];
} WT_INTERN3;
#pragma pack()
1
All variables of types Integer and Long are mapped
in host order, i.e. the low-value bytes come first. The IP
address 172.17.2.3 appears for example in byte order 3, 2,
17, 172.
UDP packets are connectionless and unsecure datagrams. Es-
pecially when using broadcasts the Com-Server's own request
as well as reply packet can get lost. To reliably ascertain all
the Com-Servers installed in a subnet you should therefore
repeat the broadcase if necessary.
204
Expanded services of the Com-Server
// ( 10 byte )
//0x02
//0x03 = reserved
//0x04 = Digital E/A
//0x05
//0x06 = W&T Dual Port RAM
//0=free, 1=connect, 2=waits
mode;
//0x0001 = TCP client
//0x0002 = TELNET client
//0x0003 = FTP client
//0x0004 = Box2Box client (active)
//0x0005 = UDP Send/ReceiveMode
//0x0006 = MULTI PORT (DPRAM, SERIAL PROT.)
// 0x0007 = SNMP agent
// 0x0008 = Box2Box server (passive)
// 0x0010 = SLIP router
// 0x0020 = PPP router (in preparation)
// 0x0030 = Box2Box bus system: Slave box
// 0x0040 = Box2Box bus system: Master box
// if state == CONNECT, else 0
remote_port; // if state == CONNECT, else 0
// ** all parameters in Hostorder/Low Byte First **
bv;
// Port = UDP_BOX_INFO_8513
bd;
= serial port (serial CPU port)
= Serial port (UART port)
= reserved

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Com-Server++ and is the answer not in the manual?

Questions and answers

Related Products for W&T Com-Server++

This manual is also suitable for:

Com-server 3x isolated5866558662

Table of Contents