Commit bd5cd82d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: epl: run Lindent on all user/*.h files

It's a start, still a mess...

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ba338d46
...@@ -86,12 +86,11 @@ ...@@ -86,12 +86,11 @@
#define EPL_CFGMA_MAX_TIMEOUT 3 #define EPL_CFGMA_MAX_TIMEOUT 3
//callbackfunction, called if configuration is finished //callbackfunction, called if configuration is finished
typedef void (PUBLIC* tfpEplCfgMaCb) (unsigned int uiNodeId_p, typedef void (PUBLIC * tfpEplCfgMaCb) (unsigned int uiNodeId_p,
tEplKernel Errorstate_p); tEplKernel Errorstate_p);
//State for configuartion manager Statemachine //State for configuartion manager Statemachine
typedef enum typedef enum {
{
// general states // general states
kEplCfgMaIdle = 0x0000, // Configurationsprocess kEplCfgMaIdle = 0x0000, // Configurationsprocess
// is idle // is idle
...@@ -101,21 +100,16 @@ typedef enum ...@@ -101,21 +100,16 @@ typedef enum
// parameter with 0 // parameter with 0
kEplCfgMaFinished = 0x0004 // configuartion is finished kEplCfgMaFinished = 0x0004 // configuartion is finished
} tEplCfgState; } tEplCfgState;
typedef enum typedef enum {
{
kEplCfgMaDcfTypSystecSeg = 0x00, kEplCfgMaDcfTypSystecSeg = 0x00,
kEplCfgMaDcfTypConDcf = 0x01, kEplCfgMaDcfTypConDcf = 0x01,
kEplCfgMaDcfTypDcf = 0x02, // not supported kEplCfgMaDcfTypDcf = 0x02, // not supported
kEplCfgMaDcfTypXdc = 0x03 // not supported kEplCfgMaDcfTypXdc = 0x03 // not supported
} tEplCfgMaDcfTyp;
typedef enum {
}tEplCfgMaDcfTyp;
typedef enum
{
kEplCfgMaCommon = 0, // all other index kEplCfgMaCommon = 0, // all other index
kEplCfgMaPdoComm = 1, // communication index kEplCfgMaPdoComm = 1, // communication index
kEplCfgMaPdoMapp = 2, // mapping index kEplCfgMaPdoMapp = 2, // mapping index
...@@ -123,27 +117,24 @@ typedef enum ...@@ -123,27 +117,24 @@ typedef enum
} tEplCfgMaIndexType; } tEplCfgMaIndexType;
//bitcoded answer about the last sdo transfer saved in m_SdocState //bitcoded answer about the last sdo transfer saved in m_SdocState
// also used to singal start of the State Maschine // also used to singal start of the State Maschine
typedef enum typedef enum {
{
kEplCfgMaSdocBusy = 0x00, // SDOC activ kEplCfgMaSdocBusy = 0x00, // SDOC activ
kEplCfgMaSdocReady = 0x01, // SDOC finished kEplCfgMaSdocReady = 0x01, // SDOC finished
kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout kEplCfgMaSdocTimeout = 0x02, // SDOC Timeout
kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode kEplCfgMaSdocAbortReceived = 0x04, // SDOC Abort, see Abortcode
kEplCfgMaSdocStart = 0x08 // start State Mschine kEplCfgMaSdocStart = 0x08 // start State Mschine
}tEplSdocState; } tEplSdocState;
//internal structure (instancetable for modul configuration manager) //internal structure (instancetable for modul configuration manager)
typedef struct typedef struct {
{
tEplCfgState m_CfgState; // state of the configuration state maschine tEplCfgState m_CfgState; // state of the configuration state maschine
tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection tEplSdoComConHdl m_SdoComConHdl; // handle for sdo connection
DWORD m_dwLastAbortCode; DWORD m_dwLastAbortCode;
unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index unsigned int m_uiLastIndex; // last index of configuration, to compair with actual index
BYTE* m_pbConcise; // Ptr to concise DCF BYTE *m_pbConcise; // Ptr to concise DCF
BYTE* m_pbActualIndex; // Ptr to actual index in the DCF segment BYTE *m_pbActualIndex; // Ptr to actual index in the DCF segment
tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished tfpEplCfgMaCb m_pfnCfgMaCb; // Ptr to CfgMa Callback, is call if configuration finished
tEplKernel m_EplKernelError; // errorcode tEplKernel m_EplKernelError; // errorcode
DWORD m_dwNumValueCopy; // numeric values are copied in this variable DWORD m_dwNumValueCopy; // numeric values are copied in this variable
...@@ -214,12 +205,11 @@ tEplKernel PUBLIC EplCfgMaDelInstance(); ...@@ -214,12 +205,11 @@ tEplKernel PUBLIC EplCfgMaDelInstance();
// Returns: tCopKernel = error code // Returns: tCopKernel = error code
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p, tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,
BYTE* pbConcise_p, BYTE * pbConcise_p,
tfpEplCfgMaCb fpCfgMaCb_p, tfpEplCfgMaCb fpCfgMaCb_p,
tEplObdSize SizeOfConcise_p, tEplObdSize SizeOfConcise_p,
tEplCfgMaDcfTyp DcfType_p); tEplCfgMaDcfTyp DcfType_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Function: CfgMaStartConfigurationNode() // Function: CfgMaStartConfigurationNode()
// //
...@@ -236,7 +226,6 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p, ...@@ -236,7 +226,6 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
tfpEplCfgMaCb fpCfgMaCb_p, tfpEplCfgMaCb fpCfgMaCb_p,
tEplCfgMaDcfTyp DcfType_p); tEplCfgMaDcfTyp DcfType_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// Function: EplCfgMaStartConfigNodeDcf() // Function: EplCfgMaStartConfigNodeDcf()
// //
...@@ -252,7 +241,7 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p, ...@@ -252,7 +241,7 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
// Returns: tCopKernel = error code // Returns: tCopKernel = error code
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p, tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,
BYTE* pbConcise_p, BYTE * pbConcise_p,
tfpEplCfgMaCb fpCfgMaCb_p, tfpEplCfgMaCb fpCfgMaCb_p,
tEplObdSize SizeOfConcise_p, tEplObdSize SizeOfConcise_p,
tEplCfgMaDcfTyp DcfType_p); tEplCfgMaDcfTyp DcfType_p);
...@@ -270,7 +259,7 @@ tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p, ...@@ -270,7 +259,7 @@ tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,
// Returns: tCopKernel = error code // Returns: tCopKernel = error code
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p, tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,
BYTE* pbConcise_p, BYTE * pbConcise_p,
tEplObdSize SizeOfConcise_p, tEplObdSize SizeOfConcise_p,
tEplCfgMaDcfTyp DcfType_p); tEplCfgMaDcfTyp DcfType_p);
...@@ -288,10 +277,6 @@ tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p, ...@@ -288,10 +277,6 @@ tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,
tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p, tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p,
tEplCfgMaDcfTyp DcfType_p); tEplCfgMaDcfTyp DcfType_p);
#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0) #endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0)
#endif // _EPLCFGMA_H_ #endif // _EPLCFGMA_H_
......
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/20 d.k.: start of the implementation, version 1.00 2006/06/20 d.k.: start of the implementation, version 1.00
****************************************************************************/ ****************************************************************************/
#ifndef _EPL_DLLU_H_ #ifndef _EPL_DLLU_H_
...@@ -82,7 +81,7 @@ ...@@ -82,7 +81,7 @@
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p); typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -94,9 +93,12 @@ tEplKernel EplDlluAddInstance(void); ...@@ -94,9 +93,12 @@ tEplKernel EplDlluAddInstance(void);
tEplKernel EplDlluDelInstance(void); tEplKernel EplDlluDelInstance(void);
tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p, tEplDlluCbAsnd pfnDlluCbAsnd_p, tEplDllAsndFilter Filter_p); tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p,
tEplDlluCbAsnd pfnDlluCbAsnd_p,
tEplDllAsndFilter Filter_p);
tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p); tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p,
tEplDllAsyncReqPriority Priority_p);
// processes asynch frames // processes asynch frames
tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p); tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p);
...@@ -104,5 +106,3 @@ tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p); ...@@ -104,5 +106,3 @@ tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0)
#endif // #ifndef _EPL_DLLU_H_ #endif // #ifndef _EPL_DLLU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/20 d.k.: start of the implementation, version 1.00 2006/06/20 d.k.: start of the implementation, version 1.00
****************************************************************************/ ****************************************************************************/
#ifndef _EPL_DLLUCAL_H_ #ifndef _EPL_DLLUCAL_H_
...@@ -83,7 +82,7 @@ ...@@ -83,7 +82,7 @@
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p); typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -97,11 +96,11 @@ tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p, ...@@ -97,11 +96,11 @@ tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p,
tEplDlluCbAsnd pfnDlluCbAsnd_p, tEplDlluCbAsnd pfnDlluCbAsnd_p,
tEplDllAsndFilter Filter_p); tEplDllAsndFilter Filter_p);
tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo, tEplDllAsyncReqPriority Priority_p); tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo,
tEplDllAsyncReqPriority Priority_p);
tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p); tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p);
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p); tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p);
...@@ -110,11 +109,9 @@ tEplKernel EplDlluCalDeleteNode(unsigned int uiNodeId_p); ...@@ -110,11 +109,9 @@ tEplKernel EplDlluCalDeleteNode(unsigned int uiNodeId_p);
tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p); tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p);
tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p); tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p,
unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
#endif #endif
#endif // #ifndef _EPL_DLLUCAL_H_ #endif // #ifndef _EPL_DLLUCAL_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/12 d.k.: start of the implementation, version 1.00 2006/06/12 d.k.: start of the implementation, version 1.00
****************************************************************************/ ****************************************************************************/
#ifndef _EPL_EVENTU_H_ #ifndef _EPL_EVENTU_H_
...@@ -74,7 +73,6 @@ ...@@ -74,7 +73,6 @@
#include "../EplEvent.h" #include "../EplEvent.h"
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -83,7 +81,6 @@ ...@@ -83,7 +81,6 @@
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -91,7 +88,8 @@ ...@@ -91,7 +88,8 @@
tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p); tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p);
// add instance // add instance
tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb pfnApiProcessEventCb_p); tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb
pfnApiProcessEventCb_p);
// delete instance // delete instance
tEplKernel PUBLIC EplEventuDelInstance(void); tEplKernel PUBLIC EplEventuDelInstance(void);
...@@ -105,11 +103,6 @@ tEplKernel PUBLIC EplEventuPost(tEplEvent * pEvent_p); ...@@ -105,11 +103,6 @@ tEplKernel PUBLIC EplEventuPost(tEplEvent * pEvent_p);
// post errorevents from userspace // post errorevents from userspace
tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p, tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p,
tEplKernel EplError_p, tEplKernel EplError_p,
unsigned int uiArgSize_p, unsigned int uiArgSize_p, void *pArg_p);
void* pArg_p);
#endif // #ifndef _EPL_EVENTU_H_ #endif // #ifndef _EPL_EVENTU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/11/15 d.k.: start of the implementation 2006/11/15 d.k.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplDll.h" #include "../EplDll.h"
...@@ -74,19 +73,17 @@ ...@@ -74,19 +73,17 @@
#ifndef _EPLIDENTU_H_ #ifndef _EPLIDENTU_H_
#define _EPLIDENTU_H_ #define _EPLIDENTU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel (PUBLIC * tEplIdentuCbResponse) ( typedef tEplKernel(PUBLIC * tEplIdentuCbResponse) (unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplIdentResponse *
tEplIdentResponse* pIdentResponse_p); pIdentResponse_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -100,14 +97,12 @@ tEplKernel PUBLIC EplIdentuDelInstance(void); ...@@ -100,14 +97,12 @@ tEplKernel PUBLIC EplIdentuDelInstance(void);
tEplKernel PUBLIC EplIdentuReset(void); tEplKernel PUBLIC EplIdentuReset(void);
tEplKernel PUBLIC EplIdentuGetIdentResponse( tEplKernel PUBLIC EplIdentuGetIdentResponse(unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplIdentResponse **
tEplIdentResponse** ppIdentResponse_p); ppIdentResponse_p);
tEplKernel PUBLIC EplIdentuRequestIdentResponse( tEplKernel PUBLIC EplIdentuRequestIdentResponse(unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplIdentuCbResponse
tEplIdentuCbResponse pfnCbResponse_p); pfnCbResponse_p);
#endif // #ifndef _EPLIDENTU_H_ #endif // #ifndef _EPLIDENTU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2008/11/17 d.k.: start of the implementation 2008/11/17 d.k.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplLed.h" #include "../EplLed.h"
...@@ -76,20 +75,16 @@ ...@@ -76,20 +75,16 @@
#ifndef _EPLLEDU_H_ #ifndef _EPLLEDU_H_
#define _EPLLEDU_H_ #define _EPLLEDU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel(PUBLIC * tEplLeduStateChangeCallback) (tEplLedType LedType_p,
typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) ( BOOL fOn_p);
tEplLedType LedType_p, BOOL fOn_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -99,18 +94,16 @@ typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) ( ...@@ -99,18 +94,16 @@ typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) (
tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p); tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p);
tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback pfnCbStateChange_p); tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback
pfnCbStateChange_p);
tEplKernel PUBLIC EplLeduDelInstance(void); tEplKernel PUBLIC EplLeduDelInstance(void);
tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p); tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange
NmtStateChange_p);
tEplKernel PUBLIC EplLeduProcessEvent(
tEplEvent* pEplEvent_p);
tEplKernel PUBLIC EplLeduProcessEvent(tEplEvent * pEplEvent_p);
#endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0) #endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0)
#endif // #ifndef _EPLLEDU_H_ #endif // #ifndef _EPLLEDU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/09 k.t.: start of the implementation 2006/06/09 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "EplNmtu.h" #include "EplNmtu.h"
...@@ -76,17 +75,14 @@ ...@@ -76,17 +75,14 @@
#ifndef _EPLNMTCNU_H_ #ifndef _EPLNMTCNU_H_
#define _EPLNMTCNU_H_ #define _EPLNMTCNU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -99,14 +95,14 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuAddInstance(unsigned int uiNodeId_p); ...@@ -99,14 +95,14 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuAddInstance(unsigned int uiNodeId_p);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void); EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest (unsigned int uiNodeId_p, EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,
tEplNmtCommand NmtCommand_p); tEplNmtCommand
NmtCommand_p);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuRegisterCheckEventCb( EPLDLLEXPORT tEplKernel PUBLIC
tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p); EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback
pfnEplNmtCheckEventCb_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)
#endif // #ifndef _EPLNMTCNU_H_ #endif // #ifndef _EPLNMTCNU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/09 k.t.: start of the implementation 2006/06/09 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "EplNmtu.h" #include "EplNmtu.h"
...@@ -74,30 +73,26 @@ ...@@ -74,30 +73,26 @@
#ifndef _EPLNMTMNU_H_ #ifndef _EPLNMTMNU_H_
#define _EPLNMTMNU_H_ #define _EPLNMTMNU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel (PUBLIC * tEplNmtMnuCbNodeEvent) ( typedef tEplKernel(PUBLIC * tEplNmtMnuCbNodeEvent) (unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplNmtNodeEvent
tEplNmtNodeEvent NodeEvent_p, NodeEvent_p,
tEplNmtState NmtState_p, tEplNmtState NmtState_p,
WORD wErrorCode_p, WORD wErrorCode_p,
BOOL fMandatory_p); BOOL fMandatory_p);
typedef tEplKernel(PUBLIC *
typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) ( tEplNmtMnuCbBootEvent) (tEplNmtBootEvent BootEvent_p,
tEplNmtBootEvent BootEvent_p,
tEplNmtState NmtState_p, tEplNmtState NmtState_p,
WORD wErrorCode_p); WORD wErrorCode_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -112,8 +107,7 @@ tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p, ...@@ -112,8 +107,7 @@ tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
tEplKernel EplNmtMnuDelInstance(void); tEplKernel EplNmtMnuDelInstance(void);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent( EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(tEplEvent * pEvent_p);
tEplEvent* pEvent_p);
tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p, tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,
tEplNmtCommand NmtCommand_p); tEplNmtCommand NmtCommand_p);
...@@ -121,16 +115,17 @@ tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p, ...@@ -121,16 +115,17 @@ tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,
tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p, tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p,
tEplNmtNodeCommand NodeCommand_p); tEplNmtNodeCommand NodeCommand_p);
tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p); tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange
NmtStateChange_p);
tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p); tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p);
tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int* puiMandatorySlaveCount_p, tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int
unsigned int* puiSignalSlaveCount_p, *puiMandatorySlaveCount_p,
WORD* pwFlags_p); unsigned int
*puiSignalSlaveCount_p,
WORD * pwFlags_p);
#endif #endif
#endif // #ifndef _EPLNMTMNU_H_ #endif // #ifndef _EPLNMTMNU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/09 k.t.: start of the implementation 2006/06/09 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplNmt.h" #include "../EplNmt.h"
...@@ -75,18 +74,15 @@ ...@@ -75,18 +74,15 @@
#ifndef _EPLNMTU_H_ #ifndef _EPLNMTU_H_
#define _EPLNMTU_H_ #define _EPLNMTU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// nmt commands // nmt commands
typedef enum typedef enum {
{
// requestable ASnd ServiceIds 0x01..0x1F // requestable ASnd ServiceIds 0x01..0x1F
kEplNmtCmdIdentResponse = 0x01, kEplNmtCmdIdentResponse = 0x01,
kEplNmtCmdStatusResponse = 0x02, kEplNmtCmdStatusResponse = 0x02,
...@@ -123,14 +119,14 @@ typedef enum ...@@ -123,14 +119,14 @@ typedef enum
kEplNmtCmdPublishTime = 0xB0, kEplNmtCmdPublishTime = 0xB0,
kEplNmtCmdInvalidService = 0xFF kEplNmtCmdInvalidService = 0xFF
} tEplNmtCommand; } tEplNmtCommand;
typedef tEplKernel (PUBLIC * tEplNmtuStateChangeCallback) ( typedef tEplKernel(PUBLIC *
tEplEventNmtStateChange NmtStateChange_p); tEplNmtuStateChangeCallback) (tEplEventNmtStateChange
NmtStateChange_p);
typedef tEplKernel (PUBLIC * tEplNmtuCheckEventCallback) ( typedef tEplKernel(PUBLIC *
tEplNmtEvent NmtEvent_p); tEplNmtuCheckEventCallback) (tEplNmtEvent NmtEvent_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -148,14 +144,12 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p); ...@@ -148,14 +144,12 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p);
EPLDLLEXPORT tEplNmtState PUBLIC EplNmtuGetNmtState(void); EPLDLLEXPORT tEplNmtState PUBLIC EplNmtuGetNmtState(void);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent( EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent(tEplEvent * pEplEvent_p);
tEplEvent* pEplEvent_p);
EPLDLLEXPORT tEplKernel PUBLIC EplNmtuRegisterStateChangeCb( EPLDLLEXPORT tEplKernel PUBLIC
tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p); EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback
pfnEplNmtStateChangeCb_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0)
#endif // #ifndef _EPLNMTU_H_ #endif // #ifndef _EPLNMTU_H_
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
2006/06/16 -k.t.: start of the implementation 2006/06/16 -k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "EplNmtu.h" #include "EplNmtu.h"
...@@ -76,22 +75,17 @@ ...@@ -76,22 +75,17 @@
#ifndef _EPLNMTUCAL_H_ #ifndef _EPLNMTUCAL_H_
#define _EPLNMTUCAL_H_ #define _EPLNMTUCAL_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void); EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void);
#endif // #ifndef _EPLNMTUCAL_H_ #endif // #ifndef _EPLNMTUCAL_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/19 k.t.: start of the implementation 2006/06/19 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplObd.h" #include "../EplObd.h"
...@@ -74,17 +73,14 @@ ...@@ -74,17 +73,14 @@
#ifndef _EPLOBDU_H_ #ifndef _EPLOBDU_H_
#define _EPLOBDU_H_ #define _EPLOBDU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -95,33 +91,32 @@ ...@@ -95,33 +91,32 @@
#error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE" #error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE"
#endif #endif
EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry (unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void * pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry (unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void * pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p); tEplObdSize * pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart (tEplObdPart ObdPart_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart(tEplObdPart ObdPart_p,
tEplObdDir Direction_p); tEplObdDir Direction_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar (tEplVarParam MEM* pVarParam_p); EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar(tEplVarParam MEM * pVarParam_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void* PUBLIC EplObduGetObjectDataPtr (unsigned int uiIndex_p, EPLDLLEXPORT void *PUBLIC EplObduGetObjectDataPtr(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd ( EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p);
tEplObdEntryPtr pUserOd_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void PUBLIC EplObduInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p, EPLDLLEXPORT void PUBLIC EplObduInitVarEntry(tEplObdVarEntry MEM * pVarEntry_p,
BYTE bType_p, BYTE bType_p,
tEplObdSize ObdSize_p); tEplObdSize ObdSize_p);
...@@ -138,23 +133,26 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p, ...@@ -138,23 +133,26 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p,
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess* pAccessTyp_p); tEplObdAccess *
pAccessTyp_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe (unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void * pDstData_p, void *pDstData_p,
tEplObdSize * pSize_p); tEplObdSize * pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe (unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int
void * pSrcData_p, uiSubIndex_p,
void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
unsigned int uiIndex_p, unsigned int uiIndex_p,
unsigned int uiSubindex_p, unsigned int uiSubindex_p,
tEplObdVarEntry MEM** ppVarEntry_p); tEplObdVarEntry MEM **
ppVarEntry_p);
#elif EPL_OBD_USE_KERNEL != FALSE #elif EPL_OBD_USE_KERNEL != FALSE
#include "../kernel/EplObdk.h" #include "../kernel/EplObdk.h"
...@@ -192,5 +190,3 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ ...@@ -192,5 +190,3 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0)
#endif // #ifndef _EPLOBDU_H_ #endif // #ifndef _EPLOBDU_H_
...@@ -67,7 +67,6 @@ ...@@ -67,7 +67,6 @@
2006/06/19 k.t.: start of the implementation 2006/06/19 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplObd.h" #include "../EplObd.h"
...@@ -75,74 +74,75 @@ ...@@ -75,74 +74,75 @@
#ifndef _EPLOBDUCAL_H_ #ifndef _EPLOBDUCAL_H_
#define _EPLOBDUCAL_H_ #define _EPLOBDUCAL_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry ( EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry(unsigned int uiIndex_p,
unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void * pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry ( EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry(unsigned int uiIndex_p,
unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void * pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p); tEplObdSize * pSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart ( EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart(tEplObdPart ObdPart_p,
tEplObdPart ObdPart_p,
tEplObdDir Direction_p); tEplObdDir Direction_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar (tEplVarParam MEM* pVarParam_p); EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar(tEplVarParam MEM *
pVarParam_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void* PUBLIC EplObduCalGetObjectDataPtr ( unsigned int uiIndex_p, EPLDLLEXPORT void *PUBLIC EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd (tEplObdEntryPtr pUserOd_p); EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd(tEplObdEntryPtr
pUserOd_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p, EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry(tEplObdVarEntry MEM *
BYTE bType_p, tEplObdSize ObdSize_p); pVarEntry_p, BYTE bType_p,
tEplObdSize ObdSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p, EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int
uiSubIndex_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void); EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p); tEplObdNodeIdType
NodeIdType_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int
tEplObdAccess* pAccessTyp_p); uiSubIndex_p,
//--------------------------------------------------------------------------- tEplObdAccess *
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe (unsigned int uiIndex_p, pAccessTyp_p);
unsigned int uiSubIndex_p, //---------------------------------------------------------------------------
void * pDstData_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe(unsigned int uiIndex_p,
unsigned int
uiSubIndex_p,
void *pDstData_p,
tEplObdSize * pSize_p); tEplObdSize * pSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe (unsigned int uiIndex_p, EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe(unsigned int
unsigned int uiSubIndex_p, uiIndex_p,
void * pSrcData_p, unsigned int
uiSubIndex_p,
void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_ EPLDLLEXPORT tEplKernel PUBLIC
unsigned int uiIndex_p, EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubindex_p, unsigned int uiSubindex_p,
tEplObdVarEntry MEM** ppVarEntry_p); tEplObdVarEntry MEM ** ppVarEntry_p);
#endif // #ifndef _EPLOBDUCAL_H_ #endif // #ifndef _EPLOBDUCAL_H_
...@@ -65,7 +65,6 @@ ...@@ -65,7 +65,6 @@
2006/05/22 d.k.: start of the implementation, version 1.00 2006/05/22 d.k.: start of the implementation, version 1.00
****************************************************************************/ ****************************************************************************/
#ifndef _EPL_PDOU_H_ #ifndef _EPL_PDOU_H_
...@@ -73,17 +72,14 @@ ...@@ -73,17 +72,14 @@
#include "../EplPdo.h" #include "../EplPdo.h"
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -93,7 +89,7 @@ tEplKernel EplPdouAddInstance(void); ...@@ -93,7 +89,7 @@ tEplKernel EplPdouAddInstance(void);
tEplKernel EplPdouDelInstance(void); tEplKernel EplPdouDelInstance(void);
#if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0) #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0)
tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM* pParam_p); tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM * pParam_p);
#else #else
#define EplPdouCbObdAccess NULL #define EplPdouCbObdAccess NULL
#endif #endif
...@@ -110,5 +106,3 @@ tEplKernel EplPdouGetMapping( ...@@ -110,5 +106,3 @@ tEplKernel EplPdouGetMapping(
*/ */
#endif // #ifndef _EPL_PDOU_H_ #endif // #ifndef _EPL_PDOU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/07/07 k.t.: start of the implementation 2006/07/07 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplSdo.h" #include "../EplSdo.h"
...@@ -75,17 +74,14 @@ ...@@ -75,17 +74,14 @@
#ifndef _EPLSDOASNDU_H_ #ifndef _EPLSDOASNDU_H_
#define _EPLSDOASNDU_H_ #define _EPLSDOASNDU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -97,7 +93,7 @@ tEplKernel PUBLIC EplSdoAsnduAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p); ...@@ -97,7 +93,7 @@ tEplKernel PUBLIC EplSdoAsnduAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
tEplKernel PUBLIC EplSdoAsnduDelInstance(void); tEplKernel PUBLIC EplSdoAsnduDelInstance(void);
tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl* pSdoConHandle_p, tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl * pSdoConHandle_p,
unsigned int uiTargetNodeId_p); unsigned int uiTargetNodeId_p);
tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p, tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p,
...@@ -109,5 +105,3 @@ tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p); ...@@ -109,5 +105,3 @@ tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p);
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0) #endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0)
#endif // #ifndef _EPLSDOASNDU_H_ #endif // #ifndef _EPLSDOASNDU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/26 k.t.: start of the implementation 2006/06/26 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplSdo.h" #include "../EplSdo.h"
...@@ -78,46 +77,35 @@ ...@@ -78,46 +77,35 @@
#ifndef _EPLSDOASYSEQU_H_ #ifndef _EPLSDOASYSEQU_H_
#define _EPLSDOASYSEQU_H_ #define _EPLSDOASYSEQU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p, tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p,
tEplSdoComConCb fpSdoComConCb_p); tEplSdoComConCb fpSdoComConCb_p);
tEplKernel PUBLIC EplSdoAsySeqAddInstance (tEplSdoComReceiveCb fpSdoComCb_p, tEplKernel PUBLIC EplSdoAsySeqAddInstance(tEplSdoComReceiveCb fpSdoComCb_p,
tEplSdoComConCb fpSdoComConCb_p); tEplSdoComConCb fpSdoComConCb_p);
tEplKernel PUBLIC EplSdoAsySeqDelInstance(void); tEplKernel PUBLIC EplSdoAsySeqDelInstance(void);
tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl* pSdoSeqConHdl_p, tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl * pSdoSeqConHdl_p,
unsigned int uiNodeId_p, unsigned int uiNodeId_p,
tEplSdoType SdoType); tEplSdoType SdoType);
tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p, tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p,
unsigned int uiDataSize_p, unsigned int uiDataSize_p,
tEplFrame* pData_p ); tEplFrame * pData_p);
tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent* pEvent_p); tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent * pEvent_p);
tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p); tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p);
#endif // #ifndef _EPLSDOASYSEQU_H_ #endif // #ifndef _EPLSDOASYSEQU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/06/26 k.t.: start of the implementation 2006/06/26 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplSdo.h" #include "../EplSdo.h"
...@@ -78,17 +77,14 @@ ...@@ -78,17 +77,14 @@
#ifndef _EPLSDOCOMU_H_ #ifndef _EPLSDOCOMU_H_
#define _EPLSDOCOMU_H_ #define _EPLSDOCOMU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -100,16 +96,17 @@ tEplKernel PUBLIC EplSdoComDelInstance(void); ...@@ -100,16 +96,17 @@ tEplKernel PUBLIC EplSdoComDelInstance(void);
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0)
tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl* pSdoComConHdl_p, tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl * pSdoComConHdl_p,
unsigned int uiTargetNodeId_p, unsigned int uiTargetNodeId_p,
tEplSdoType ProtType_p); tEplSdoType ProtType_p);
tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex* pSdoComTransParam_p); tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex *
pSdoComTransParam_p);
tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p); tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p);
tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p, tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p,
tEplSdoComFinished* pSdoComFinished_p); tEplSdoComFinished * pSdoComFinished_p);
tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p, tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p,
DWORD dwAbortCode_p); DWORD dwAbortCode_p);
...@@ -126,10 +123,4 @@ tEplKernel PUBLIC EplSdoComInitTransferFile(tEplSdoComTransParamFile* pSdoComTra ...@@ -126,10 +123,4 @@ tEplKernel PUBLIC EplSdoComInitTransferFile(tEplSdoComTransParamFile* pSdoComTra
*/ */
#endif // #ifndef _EPLSDOCOMU_H_ #endif // #ifndef _EPLSDOCOMU_H_
...@@ -66,10 +66,8 @@ ...@@ -66,10 +66,8 @@
2006/06/26 k.t.: start of the implementation 2006/06/26 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplSdo.h" #include "../EplSdo.h"
#ifndef _EPLSDOUDPU_H_ #ifndef _EPLSDOUDPU_H_
...@@ -79,12 +77,10 @@ ...@@ -79,12 +77,10 @@
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -96,9 +92,10 @@ tEplKernel PUBLIC EplSdoUdpuAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p); ...@@ -96,9 +92,10 @@ tEplKernel PUBLIC EplSdoUdpuAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
tEplKernel PUBLIC EplSdoUdpuDelInstance(void); tEplKernel PUBLIC EplSdoUdpuDelInstance(void);
tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p, unsigned int uiPort_p); tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p,
unsigned int uiPort_p);
tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl* pSdoConHandle_p, tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl * pSdoConHandle_p,
unsigned int uiTargetNodeId_p); unsigned int uiTargetNodeId_p);
tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p, tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p,
...@@ -110,5 +107,3 @@ tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p); ...@@ -110,5 +107,3 @@ tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p);
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0) #endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0)
#endif // #ifndef _EPLSDOUDPU_H_ #endif // #ifndef _EPLSDOUDPU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/11/15 d.k.: start of the implementation 2006/11/15 d.k.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplDll.h" #include "../EplDll.h"
...@@ -74,19 +73,17 @@ ...@@ -74,19 +73,17 @@
#ifndef _EPLSTATUSU_H_ #ifndef _EPLSTATUSU_H_
#define _EPLSTATUSU_H_ #define _EPLSTATUSU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
typedef tEplKernel (PUBLIC * tEplStatusuCbResponse) ( typedef tEplKernel(PUBLIC * tEplStatusuCbResponse) (unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplStatusResponse *
tEplStatusResponse* pStatusResponse_p); pStatusResponse_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
...@@ -100,10 +97,8 @@ tEplKernel PUBLIC EplStatusuDelInstance(void); ...@@ -100,10 +97,8 @@ tEplKernel PUBLIC EplStatusuDelInstance(void);
tEplKernel PUBLIC EplStatusuReset(void); tEplKernel PUBLIC EplStatusuReset(void);
tEplKernel PUBLIC EplStatusuRequestStatusResponse( tEplKernel PUBLIC EplStatusuRequestStatusResponse(unsigned int uiNodeId_p,
unsigned int uiNodeId_p, tEplStatusuCbResponse
tEplStatusuCbResponse pfnCbResponse_p); pfnCbResponse_p);
#endif // #ifndef _EPLSTATUSU_H_ #endif // #ifndef _EPLSTATUSU_H_
...@@ -66,7 +66,6 @@ ...@@ -66,7 +66,6 @@
2006/07/06 k.t.: start of the implementation 2006/07/06 k.t.: start of the implementation
****************************************************************************/ ****************************************************************************/
#include "../EplTimer.h" #include "../EplTimer.h"
...@@ -75,17 +74,14 @@ ...@@ -75,17 +74,14 @@
#ifndef _EPLTIMERU_H_ #ifndef _EPLTIMERU_H_
#define _EPLTIMERU_H_ #define _EPLTIMERU_H_
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// const defines // const defines
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// typedef // typedef
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
...@@ -96,18 +92,16 @@ tEplKernel PUBLIC EplTimeruAddInstance(void); ...@@ -96,18 +92,16 @@ tEplKernel PUBLIC EplTimeruAddInstance(void);
tEplKernel PUBLIC EplTimeruDelInstance(void); tEplKernel PUBLIC EplTimeruDelInstance(void);
tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl* pTimerHdl_p, tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl * pTimerHdl_p,
unsigned long ulTime_p, unsigned long ulTime_p,
tEplTimerArg Argument_p); tEplTimerArg Argument_p);
tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl* pTimerHdl_p, tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl * pTimerHdl_p,
unsigned long ulTime_p, unsigned long ulTime_p,
tEplTimerArg Argument_p); tEplTimerArg Argument_p);
tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl* pTimerHdl_p); tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl * pTimerHdl_p);
BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p); BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p);
#endif // #ifndef _EPLTIMERU_H_ #endif // #ifndef _EPLTIMERU_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment