1 /* -------------------------------- Arctic Core ------------------------------
\r
2 * Arctic Core - the open source AUTOSAR platform http://arccore.com
\r
4 * Copyright (C) 2009 ArcCore AB <contact@arccore.com>
\r
6 * This source code is free software; you can redistribute it and/or modify it
\r
7 * under the terms of the GNU General Public License version 2 as published by the
\r
8 * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
\r
10 * This program is distributed in the hope that it will be useful, but
\r
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
\r
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
\r
14 * -------------------------------- Arctic Core ------------------------------*/
\r
23 #ifndef PDUR_SOAD_H_
\r
24 #define PDUR_SOAD_H_
\r
28 #if PDUR_ZERO_COST_OPERATION == STD_OFF
\r
30 /* SoAd acts as transport protocol module */
\r
31 BufReq_ReturnType PduR_SoAdTpProvideRxBuffer(PduIdType dcmRxPduId, PduLengthType sduLength, PduInfoType **pduInfoPtr);
\r
32 void PduR_SoAdTpRxIndication(PduIdType dcmRxPduId, NotifResultType result);
\r
33 BufReq_ReturnType PduR_SoAdTpProvideTxBuffer(PduIdType dcmTxPduId, PduInfoType **pduInfoPtr, PduLengthType length);
\r
34 void PduR_SoAdTpTxConfirmation(PduIdType dcmTxPduId, NotifResultType result);
\r
36 /* SoAd acts as interface module */
\r
37 void PduR_SoAdIfRxIndication(PduIdType RxPduId, const uint8* SduPtr);
\r
38 void PduR_SoAdIfTxConfirmation(PduIdType ComTxPduId);
\r
39 void PduR_SoAdIfTriggerTransmit(PduIdType TxPduId, uint8 *SduPtr);
\r
43 #endif /* PDUR_SOAD_H_ */
\r