
#include "Dcm_Cfg_Prot.h"
#include "DcmDspUds_Rdbi_Inf.h"
#include "Rte_Dcm.h"
/*TESTCODE-START
#include "DcmTest.h"
TESTCODE-END*/

#if ( (DCM_CFG_DSP_IOCBI_ENABLED != DCM_CFG_OFF) || (DCM_CFG_DSP_READDATABYIDENTIFIER_ENABLED != DCM_CFG_OFF))


#define DCM_START_SEC_CODE /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"
 /**
 * @ingroup DCM_TPL
 * DcmAppl_DcmReadDataNRC :-\n
 * If ReadData function has returned E_NOT_OK, Invoke the DcmAppl_DcmReadDataNRC to obtain the NRC from the application.
 *
 * @param[in]     Did : DID for which readdata has returned E_NOT_OK
 * @param[in]     DidSignalPosn : Signalposition within the DID whose readdata function has returned E_NOT_OK
 * @param[out]    ErrorCode     : NRC to be set by the application
 * @retval        E_OK      : The application has set the NRC successfully\n
 * @retval        E_NOT_OK  : The application has not set the NRC successfully\n
 *
 *
 */
Std_ReturnType DcmAppl_DcmReadDataNRC(uint16 Did, uint32 DidSignalPosn, Dcm_NegativeResponseCodeType * ErrorCode)
{
	Std_ReturnType retVal = E_OK;
	/*TESTCODE-START
	(void)DcmTest_DcmAppl_Switch_DcmReadDataNRC(Did,DidSignalPosn,ErrorCode);
	TESTCODE-END*/

	return (retVal);
}
#define DCM_STOP_SEC_CODE /*Adding this for memory mapping*/
#include "Dcm_MemMap.h"
#endif

