/************************************************************************/
/* Copyright 1991 - 2008 MBARI											*/
/************************************************************************/
/* $Header: /home/cvs/oasis4/src/controller/system/custom.h,v 1.1 2011/10/25 22:39:21 bobh Exp $		*/
/* Summary	: Definition of customized parameters for respirometers		*/
/* Filename : custom.h													*/
/* Author	: Robert Herlien (rah)										*/
/* Project	: Midwater/Benthic Respirometers							*/
/* $Revision: 1.1 $														*/
/* Created	: 01/30/2003												*/
/************************************************************************/
/* Modification History:												*/
/* 30jan2003 rah - created from OASIS custom.h							*/
/* 18dec2008 rah - created from oasis3 custom.h							*/
/************************************************************************/

#ifndef INCcustomh
#define INCcustomh		1

/* Oasis Hardware Configuration */
//#define WATCHDOG						/* Use 68332 watchdog timer		*/
#define PWR_PERM		0				/* permanently powered instrs		*/
#define PWR_PERM1		0				/* permanently powered instrs 32-63 */

//#define TNC		/* TNC Driver obsolete */


/********************************/
/* Oasis Software Configuration */
/********************************/

//#define USE_LOG_PROTOCOL1				/* Use original Log protocol	*/
#define O5_WATCHDOG_RATE 300			/* Ping O5 watchdog every 30 secs (30 sec:300)*/
										/*	(3000 ticks:5min)	executes every .10 sec	 */

#define PROMPT "OASIS> "

#define MAX_SLEEP_TIME	600				/* Must wake up every 10 minutes	*/
#define MIN_SLEEP_TIME	3				/* Don't go to sleep < 5 seconds	*/
#define SLEEP_WAKE_TIME 1				/* Allow time for pwrdown/pwrup		*/

#define LO_MBARI (-8)
#define LOCAL_OFFSET	LO_MBARI		/* Hours offset of local time vs GMT*/
#define LOG_STATUS		0				/* Log on/off status				*/
#define GPS_ALT			0L				/* Initial GPS altitude				*/

/* Device Configuration */

#define DFLT_RADIO_TMOUT 0				/* Turn off radio timeouts			*/
#define DFLT_XOFF_TMOUT 120				/* Seconds to wait for XON			*/
#define DFLT_SYNC_TMOUT 300				/* Seconds to wait for drvSync		*/

/* Test, Debug, Size Optimizations */
#define BLINKY_STATE	TRUE
//#define FULL_SIGNON

#endif	/* INCcustomh */




