175
W&T
Expanded services of the Com-Server
Subject to error and alteration
Structure BOX_CNTRL
The
BOX_CNTRL
structure (20 bytes) is used to store the port
configuration (baud rate, data bits, parity, stop bits,
handshaking, timing values, etc.). Here you can influence the
parameters and how they are saved.
typedef struct _box_cntrl
{
struct_baud_fifo
{
char baud
:5;
//Baud rate for channel
// 11 = 230400 6 = 2400
// 14 = 153600 7 = 1200
// 15 = 115200 8 = 600
// 0 = 57600 9 = 300
// 1 = 38400
10 = 150
// 2 = 19200
16 = 110
// 3 = 9600
12 = 75
// 5 = 4800
13 = 50
// Baudrates are coded within the first 5 bits
char fifo_aktiv :1;
// 0 = FIFO disabled, 1 = FIFO enabled
char fifo
:2;
// Send/Receive FIFO trigger
// 0 = 8 / 8
// 1 = 16 / 16
// 2 = 32 / 56
// 3 = 56 / 60
// models 58631 and 58431 have a fix FIFO
// trigger so they ignore these bits
};
char bits;
//000x.xxxx
//
//
//
//
//
//
data bits, stop bits, parity
10 = 7 data bits
11 = 8 data bits
0 = 1
1 = 1½, 2 stop bits
1 = parity enable
0 = odd, 1 = even parity
char bits;
word RLS_time_out;
//Timer before f_rlsd_time will be set
word CTS_time_out;
//Timer before f_cts_time will be set
word DSR_time_out;
//Timer before f_dsr_time will be set
char XONChar;
//Char excepted as XON
char XOFFChar;
//Char excepted as XOFF
word hs_on_limit;
//if number of free bytes in ring buffer
// >
hs_on_limit
then clearing handshake stop
word hs_off_limit;
//if number of free bytes in ring buffer
// <
hs_off_limit
then setting handshake stop
char PEChar;
//Replace this char if serial parity error (function
//first must enabled by setting f_flags.f_pechar= 1)
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 ...