

/*
 ***************************************************************************************************
 * Includes
 ***************************************************************************************************
 */

#include "CanNm_Priv.h"

/**************************************************************************************************/
/* Global functions (declared in header files )                                                   */
/**************************************************************************************************/
/***************************************************************************************************
 Function name    : CanNm_Transmit
 Description      : This is the AUTOSAR interface; it is an empty function returning E_NOT_OK at any time.
                    This interface is relevant to avoid linker errors as PduR expects this API to be provided.
 Parameter        : CanTxPduId - L-PDU handle of CAN L-PDU to be transmitted. This handle specifies the
                    corresponding CAN L-PDU ID and implicitly the CAN Driver instance as well as the
                    corresponding CAN controller device.
                  : PduInfoPtr - Pointer to a structure with CAN L-PDU related data: DLC and pointer to
                    CAN L-SDU buffer
 Return value     : E_OK - Transmit request has been accepted
                  : E_NOT_OK - Transmit request has not been accepted
 ***************************************************************************************************/
/* Compiler Switch is removed because this function is dummy function and always returns E_NOT_OK */

#define CANNM_START_SEC_CODE
#include "CanNm_MemMap.h"

FUNC(Std_ReturnType, CANNM_CODE) CanNm_Transmit(
                                              PduIdType CanNmTxPduId,
                                              P2CONST(PduInfoType, AUTOMATIC, CANNM_APPL_DATA) PduInfoPtr
                                             )
{

    (void)CanNmTxPduId;
    (void)PduInfoPtr;

    return (E_NOT_OK);
}

#define CANNM_STOP_SEC_CODE
#include "CanNm_MemMap.h"



