/*
* iiso_tp.h - contains defines and internal iso-tp services
*
* Copyright (c) 2018-2024 emotas embedded communication GmbH
*
*-------------------------------------------------------------------
* $Id: iiso_tp.h 51987 2024-01-25 12:14:47Z boe $
*-------------------------------------------------------------------
*
*
*/

/**
* \file
* \brief internal header for iso tp
*/

#ifndef IISO_TP_H
#define IISO_TP_H 1

/* datatypes */
typedef enum {
	ISOTP_STATE_FREE,
	ISOTP_STATE_SERVER_WAIT_DATA,
	ISOTP_STATE_CLIENT_WAIT_CTS,
	ISOTP_STATE_CLIENT_TRANSMITTING
} ISOTP_STATE_T;


/* function prototypes */
void iisoTpMessageHandler(CO_LINE_DECL, const CO_REC_DATA_T *pRecData);
RET_T iisoTpClientTxAck(CO_LINE_DECL, COB_REFERENZ_T cobRef, CO_CAN_TR_MSG_T* pMsg);

#endif /* IISO_TP_H */

