CORDET Framework - C2 Implementation
CrPsDpServTest.c
Go to the documentation of this file.
1 
23 #include "CrPsDpServTest.h"
24 
25 DpServTestParams_t dpServTestParams ;
26 DpServTestVars_t dpServTestVars ;
27 
31 void initDpServTest(void)
32 {
33  uint32_t i;
34 
35  static CrPsDestSrc_t initOnBoardConnectDestLst[TEST_MAX_APP];
36  for (i=0;i<TEST_MAX_APP;i++)
37  {
38  initOnBoardConnectDestLst[i] = 0;
39  }
40 
41  dpServTestParams.AreYouAliveTimeOut = 10;
42  memcpy(dpServTestParams.OnBoardConnectDestLst, initOnBoardConnectDestLst, sizeof(dpServTestParams.OnBoardConnectDestLst));
43  dpServTestVars.AreYouAliveSrc = 0;
44  dpServTestVars.OnBoardConnectDest = 0;
45 }
CrPsDestSrc_t OnBoardConnectDestLst[TEST_MAX_APP]
List of identifiers of target applications for an On-Board-Connection Test.
CrFwCounterU4_t i
CrPsCmd5EidStart function definitions.
void initDpServTest(void)
Initialises ServTest.
Interface for accessing data pool items.
CrPsDestSrc_t AreYouAliveSrc
Source of the latest (17,2) report received in response to a (17,1) command triggered by a (17...
uint16_t CrPsDestSrc_t
Type used for the Destination or Source of a packet.
CrPsTimeOut_t AreYouAliveTimeOut
Time-out for the Are-You-Alive Test initiated in response to an Is-Application-Process-Alive Test...
Type description.
#define TEST_MAX_APP
Maximum number of target applications for On-Board-Connection Test.
Type description.
CrPsDestSrc_t OnBoardConnectDest
Destination of the (17,1) triggered by a (17,3) command.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved