184
W&T
Expanded services of the Com-Server
#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)
unsigned int reserved[2];
}BOX_VERSION;
typedef struct _BOX_DESCRIPT
// ( 22 byte)
{
unsigned char mac_addr[6];
// Com-Server MAC address
unsigned long IP_number;
// Com-Server IP address
unsigned long gateway;
// Gateway
unsigned long subnet_mask;
// Subnet Mask
unsigned int MTU;
// MTU
unsigned int port_anz;
// Number of Com-Server ports
}BOX_DESCRIPT;
// (port_anz * 10 byte)
typedef struct _PORT_DESCRIPT
// ( 10 byte )
{ union
{ unsigned int wState;
struct _new_type
{ unsigned char port_type; // 0x01 = serial port (serial CPU port)
// 0x02 = serial port (UART port)
// 0x03 = reserved
// 0x04 = Digital E/A
// 0x05 = Analog E/A (under construction)
// 0x06 = W&T Dual Port RAM
unsigned char state;
// 0=free, 1=connect, 2=waits
};
};
unsigned int mode;
// 0x0001 = TCP client
// 0x0002 = TELNET client
// 0x0003 = FTP client
// 0x0004 = Box2Box client (active)
// 0x0005 = UDP Send/ReceiveMode
// 0x0006 = MULTI PORT (DPRAM, SERIAL PROTOCOL)
// 0x0007 = SNMP agent
// 0x0008 = Box2Box server (passive)
// 0x0010 = SLIP router
// 0x0020 = PPP router (under construction)
// 0x0030 = Box2Box bus system: Slave Box
// 0x0040 = Box2Box bus system: Master Box
unsigned long remote_IP;
// if state == CONNECT, else 0
unsigned int remote_port; // if state == CONNECT, else 0
}PORT_DESCRIPT;
Summary of Contents for 58031
Page 8: ...W T ...
Page 38: ...38 W T Form factors ...
Page 102: ...102 W T The protocol stack of the Com Server ...
Page 128: ...128 W T The Windows COM redirector ...
Page 134: ...134 W T Box to Box mode ...
Page 152: ...152 W T Data transfer per Telnet ...
Page 192: ...192 W T Firmware update of the Com Server ...
Page 215: ...215 W T Appendix Subject to error and alteration Declaration of conformity ...