/****************************************************************************/
/* Copyright 1990 to 1994 MBARI                                             */
/****************************************************************************/
/* Summary  : Serial protocol declarations for Microcontroller Board        */
/* Filename : proto.h                                                       */
/* Author   : Andrew Pearce                                                 */
/* Project  : Tiburon ROV                                                   */
/* Version  : 1.0                                                           */
/* Created  : 11/21/90                                                      */
/* Modified : 08/23/94                                                      */
/* Archived :                                                               */
/****************************************************************************/
/* Modification History:                                                    */
/* $Header: /usr/tiburon/.cvsroot/micro/h/proto.h,v 1.1.1.1 1997/05/02 17:15:40 pean Exp $
 * $Log: proto.h,v $
 * Revision 1.1.1.1  1997/05/02 17:15:40  pean
 * Initial release of the microcontroller software after Tiburon
 * Moolpool Dive to test IView, Lapboxes, modified Power can
 * GF/5V using bus capacitance mode.
 *
 * Revision 1.1  92/05/14  09:17:51  09:17:51  pean (Andrew Pearce 408-647-3746)
 * Initial revision
 *
*/
/****************************************************************************/

#ifndef PROTO_H
#define PROTO_H

#define MAX_PACKET_LEN    256       /* Maximum packet length                */

#ifdef __STDC__                     /* ANSI C function prototypes           */

Void  initProtocolLayer(Void);

Int16 readRecvdPacket(Byte **packet, Int16 *packetLen);

Int16 enqueueSRQPacket(Byte *packet, Int16 packetLen);

Int16 transmitDataPacket(Byte *packet, Int16 packetLen);

#endif

#endif
