/****************************************************************************** * * Defines for the setcom.c routines. The default parameters end with _DEF * * Written by: Bob Harbour CP Systems 10/4/88 * modifications : * ******************************************************************************/ #define RATE_DEF 0X77 /* default baud rate 1200 */ #define STOP_DEF 0X40 /* default stop bits 1 */ #define PAR_DEF 0X00 /* default parity none */ #define BITS_DEF 0X0C /* default char length 8 */ #define ASYN16 0X02 /* base to build mode 1 on. /16 */ #define ASYN64 0X03 /* can use this but changes bauds */ #define C_NORM 0X05 /* norm command base, no echo all on */ #define C_ECHO 0X45 /* echo on: command base all on*/ #define C_LLOOP 0X85 /* local loop on: command base */ #define C_RLOOP 0XC5 /* remote loop on: command base */ #define C_RTS 0X20 /* rts active command flag */ #define C_RESET 0X10 /* reset command flag */ #define C_BREAK 0X08 /* force break command flag */ #define C_DTR 0X02 /* dtr active command flag */ #define SYS_SUPPORT -1 /* channel number to hit sys supp bd */ #define MIN_CHAN 0 /* lowest interfacer chan number */ #define MAX_CHAN 31 /* highest interfacer channel number */ #define ERROR -1 /* return value for channel error */ #define OK 0 /* return value for valid channel num */