/*
 * *************************************************************************
 *
 * Trimble Navigation, Ltd.
 * OEM Products Development Group
 * P.O. Box 3642
 * 645 North Mary Avenue
 * Sunnyvale, California 94088-3642
 *
 * Corporate Headquarter:
 *    Telephone:  (408) 481-8000
 *    Fax:        (408) 481-6005
 *
 * Technical Support Center:
 *    Telephone:  (800) 767-4822	(U.S. and Canada)
 *                (408) 481-6940    (outside U.S. and Canada)
 *    Fax:        (408) 481-6020
 *    BBS:        (408) 481-7800
 *    e-mail:     trimble_support@trimble.com
 *
 * *************************************************************************
*/
#define TCHAT_VERNUM "1.40"
#define TPRNT_VERNUM "1.40"

#define MAX_BAUD     10

/* prototypes */
/* TSIP_RPT.C */
void rpt_packet
   (TSIPPKT *rpt);


/* TSIP_RPT.C */
void GPS_time_to_PC
	(double time);
void show_crlf (void);

/* T_SERIAL.C */
void  initsio (
	short port,            /* 1 = COM1, 2 = COM2 */
	unsigned short speed,  /* baud (2400, 9600, etc.) */
	short bits,            /* 7 or 8 data bits */
	short stopbits,        /* 1 or 2 stopbits */
	short parity);         /* none, odd, even */
short   get_char (         /* returns -1 for no char waiting, 0-FF otherwise */
	short port);           /* 1 or 2 */
short   put_char(          /* returns 0 for sucess, 1 for failure */
	short port,            /* 1 or 2 */
	unsigned char x);      /* byte to be transmitted */
void  closeserial(         /* closes all serial buffers */
	void);
