172
W&T
Expanded services of the Com-Server
The info structure has a fixed length of 30 bytes and is
comprised of the following individual structures:
#pragma pack(1) //packs the structure components into 1-byte limits
typedef struct
_rem_box_cntrl
{
char
zero_1;
COM_ERROR
_ce;
COM_STAT
_cs;
BOX_CNTRL
_bc;
char
zero_2;
}
REM_BOX_CNTRL;
#pragma pack()
zero_1/zero_2
The two characters
zero_1
and
zero_2
are the start and end
characters of the structure and must always be zero.
Structure COM_ERROR
The
COM_ERROR
structure has a length of one WORD (16-bit
integer) and contains all the error states of the serial port.
typedef struct _com_error
{
union
{
word error_flags;
struct _err_flags
{
word f_data
: 1; //not used/reserved
word f_net
: 2; //not used/reserved
word f_com
: 1; //Set when COM port error detected
word f_break
: 1; //Reflect the break flag
word f_cts_time
: 1; //Time out while waiting on CTS
word f_dsr_time
: 1; //Time out while waiting on DSR
word f_rlsd_time
: 1; //Time out while waiting on RLSD (CD)
word f_overrun
: 1; //Overrun error
word f_parity
: 1; //Parity error
word f_frame
: 1; //Framing error
word f_status
: 1; //not used
word no_use_1
: 1; //not used
word no_use_2
: 1; //not used
word f_rx_over
: 1; //Ring buffer overrun after handshake
word no_use_3
: 1; //not used
};
};
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 ...