63 {(
void*)&dpServHkParams.
sid,
sizeof(dpServHkParams.
sid),
HK_N_REP_DEF,
sizeof(dpServHkParams.
sid[0])},
106 {(
void*)&dpServLptVars.
lptSize,
sizeof(dpServLptVars.
lptSize), LPT_N_BUF,
sizeof(dpServLptVars.
lptSize[0])},
107 {(
void*)&dpServLptVars.
lptSrc,
sizeof(dpServLptVars.
lptSrc), LPT_N_BUF,
sizeof(dpServLptVars.
lptSrc[0])},
108 {(
void*)&dpServLptVars.
lptTime,
sizeof(dpServLptVars.
lptTime), LPT_N_BUF,
sizeof(dpServLptVars.
lptTime[0])},
143 if (
id >= DpIdParamsLowest &&
id <= DpIdParamsHighest)
145 p = &dpMetaInfoParams[
id-DpIdParamsLowest];
160 if (
id >= DpIdVarsLowest &&
id <= DpIdVarsHighest)
162 p = &dpMetaInfoVars[
id-DpIdVarsLowest];
199 (void)memcpy(dest, entry->
addr, entry->
length);
212 size_t getDpValueEx(ParameterId_t
id,
void*
dest,
size_t* pElementLength,
unsigned int* pNElements)
220 (void)memcpy(dest, entry->
addr, entry->
length);
241 (void)memcpy(entry->
addr, src, entry->
length);
CrPsTid_t largeMsgTransId[LPT_N_BUF]
CrPsTid_t Array of LPT_N_BUF elements.
CrPsDestSrc_t OnBoardConnectDestLst[TEST_MAX_APP]
List of identifiers of target applications for an On-Board-Connection Test.
CrFwCounterU4_t nOfReroutingFailed
Number of commands for which re-routing failed.
#define EVT_N_EID
Number of event identifiers supported by the application.
size_t elementLength
The length of a single array element.
static DpMetaInfoEntry_t dpMetaInfoParams[]
Array of _DpMetaInfoEntry_t to hold the meta information of all datapool entries of the type paramete...
Header file to define all user-configurable constants and types for the IASW Application.
Interface for accessing data pool items.
CrPsFailData_t verFailData
Verification Failure Data (data item of fixed size but variable.
CrPsSid_t sid[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
CrPsNumberU2_t nOfDisabledEid_4
Number of event identifiers of level 4 which are disabled.
Interface for accessing data pool items.
CrPsNumberU4_t nOfGenEvtRep_4
Number of generated level 4 event reports.
Interface for accessing data pool items.
CrFwTimeStamp_t lastEvtTime_2
Time when the last level 2 event report was generated.
CrFwCounterU4_t nOfAccFailed
Number of commands which have failed their acceptance check.
CrFwTypeId_t pcktIdAccFailed
Packet identifier of last command which failed its Acceptance.
CrFwTypeId_t pcktIdTermFailed
Packet identifier of last command which failed its Termination.
Interface for accessing data pool items.
CrPsEid_t lastEvtEid_3
Event identifier of the last generated level 3 event report.
CrPsNumberU4_t nOfGenEvtRep_2
Number of generated level 2 event reports.
size_t getDpSize(ParameterId_t id)
Get the size of a datapool item by identifier.
CrPsDestSrc_t AreYouAliveSrc
Source of the latest (17,2) report received in response to a (17,1) command triggered by a (17...
size_t getDpParamSize(ParameterId_t id)
Get the size of a datapool parameter by identifier.
CrPsTimeOut_t lptTimeOut[LPT_N_BUF]
CrPsTimeOut_t TimeOut.
CrPsFailCode_t failCodeStartFailed
Failure code of last command which failed its Start Check.
static DpMetaInfoEntry_t * getMetaInfoVar(ParameterId_t id)
Get the meta information of a datapool variable by identifier.
CrPsEid_t lastEvtEid_4
Event identifier of the last generated level 4event report.
size_t getDpValue(ParameterId_t id, void *dest)
Get the value of a datapool item by identifier.
CrPsNumberU4_t nOfGenEvtRep_3
Number of generated level 3 event reports.
CrPsFailCode_t failCodePrgrFailed
Failure code of last command which failed its Progress Check.
CrPsNumberU2_t nOfDisabledEid_1
Number of event identifiers of level 1 which are disabled.
CrPsAddr_t debugVarAddr[HK_N_DEBUG_VAR]
Array of HK_N_DEBUG_VAR elements.
CrPsNumberU2_t nSimple[HK_N_REP_DEF]
max ximple
CrPsNumberU2_t nOfDisabledEid_2
Number of event identifiers of level 2 which are disabled.
size_t getDpValueEx(ParameterId_t id, void *dest, size_t *pElementLength, unsigned int *pNElements)
Get the value of a datapool item plus meta information by identifier.
CrPsFailCode_t lptFailCode[LPT_N_BUF]
CrPsFailCode_t Array of LPT_N_BUF elements.
CrPsNumberU4_t nOfGenEvtRep_1
Number of generated level 1 event reports.
CrFwCounterU4_t nOfStartFailed
Number of commands which have failed their Start Check since.
int setDpValue(ParameterId_t id, const void *src)
Set the value of a datapool item by identifier.
CrPsStepId_t stepPrgrFailed
Step identifier of last command which failed its Progress Check.
CrPsEid_t lastEvtEid_2
Event identifier of the last generated level 2 event report.
CrPsTimeOut_t AreYouAliveTimeOut
Time-out for the Are-You-Alive Test initiated in response to an Is-Application-Process-Alive Test...
CrFwCounterU4_t partSeqNmb[LPT_N_BUF]
conteru4_t Array of LPT_N_BUF elements.
static DpMetaInfoEntry_t dpMetaInfoVars[]
Array of _DpMetaInfoEntry_t to hold the meta information of all datapool entries of the type variable...
CrPsFlag_t isEnabled[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
Interface for accessing data pool items.
CrPsDestSrc_t lptSrc[LPT_N_BUF]
CrPsDestSrc_t Array of LPT_N_BUF elements.
CrPsDestSrc_t invDestRerouting
Destination of last command for which re-routing failed.
CrPsRepetition_t lstSampleRep[HK_N_REP_DEF *HK_MAX_N_GR]
max N group; rep[1..nGroup]
CrPsNumberU2_t lstNSampRep[HK_N_REP_DEF *HK_MAX_N_GR]
Max N rep; nRep[1..nGroup].
size_t getDpVarSize(ParameterId_t id)
Get the size of a datapool variable by identifier.
CrFwCounterU4_t nOfPrgrFailed
Number of commands which have failed their Progress Check.
CrFwCounterU4_t cycleCnt[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
static DpMetaInfoEntry_t * getMetaInfo(ParameterId_t id)
Get the meta information of a datapool item by identifier.
CrPsSize_t lptRemSize[LPT_N_BUF]
CrPsSize_t Array of LPT_N_BUF elements.
Structure to hold the location and size information of a datapool entry.
CrPsSize_t lptSize[LPT_N_BUF]
CrPsSize_t Array of LPT_N_BUF elements.
void * addr
The address of the datapool entry.
struct _DpMetaInfoEntry_t DpMetaInfoEntry_t
Structure to hold the location and size information of a datapool entry.
CrFwTypeId_t pcktIdReroutingFailed
Packet identifier of last command for which re-routing failed.
CrFwTimeStamp_t lastEvtTime_3
Time when the last level 3 event report was generated.
static CrFwDestSrc_t dest
Destination.
CrFwTypeId_t pcktIdPrgrFailed
Packet identifier of last command which failed its Progress.
#define TEST_MAX_APP
Maximum number of target applications for On-Board-Connection Test.
CrFwCounterU4_t nOfDownlinks
conteru4_t Number of on-going down-link transfers
CrPsPeriod_t period[HK_N_REP_DEF]
Collection period in units of HK_COLLECT_PER.
#define HK_N_REP_DEF
Number of Report Definitions in the Report Definition List (maximum number of housekeeping/diagnostic...
CrFwTimeStamp_t lastEvtTime_4
Time when the last level 4 event report was generated.
CrPsEid_t lastEvtEid_1
Event identifier of the last generated level 1 event report.
CrPsNumberU4_t nOfDetectedEvts_3
Number of detected occurrences of level 3 events.
CrPsFlag_t isEidEnabled[EVT_N_EID]
Array of EVT_N_EID elements holding the enable status of the event identifiers.
CrFwCounterU4_t nOfUplinks
conteru4_t Number of on-going up-link transfers
CrPsValueU4_t debugVar[HK_N_DEBUG_VAR]
Array of HK_N_DEBUG_VAR elements.
#define HK_MAX_N_GR
Maximum number of super-commutated groups in a house- keeping/diagnostic report.
CrPsParamId_t lstId[HK_N_REP_DEF *HK_MAX_N_ITEMS]
Max N Items.
CrFwTimeStamp_t lastEvtTime_1
Time when the last level 1 event report was generated.
CrPsDestSrc_t dest[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
CrPsFailCode_t failCodeTermFailed
Failure code of last command which failed its Termination.
CrPsNumberU4_t nOfDetectedEvts_2
Number of detected occurrences of level 2 events.
CrPsFailCode_t failCodeAccFailed
Failure code of last command which failed its Acceptance.
size_t length
The length in bytes of the datapool entry.
CrPsDestSrc_t OnBoardConnectDest
Destination of the (17,1) triggered by a (17,3) command.
Interface for accessing data pool items.
CrPsNumberU2_t nOfDisabledEid_3
Number of event identifiers of level 3 which are disabled.
CrFwTimeStamp_t lptTime[LPT_N_BUF]
CrFwTimeStamp_t Array of LPT_N_BUF elements.
unsigned int nElements
The number of array elements.
CrPsNumberU4_t nOfDetectedEvts_1
Number of detected occurrences of level 1 events.
CrFwTypeId_t pcktIdStartFailed
Packet identifier of last command which failed its Start Check.
CrPsParamId_t sampleBufId[HK_N_REP_DEF]
Array of HK_N_REP_DEF elements.
static DpMetaInfoEntry_t * getMetaInfoParam(ParameterId_t id)
Get the meta information of a datapool parameter by identifier.
CrPsNumberU4_t nOfDetectedEvts_4
Number of detected occurrences of level 4 events.
CrFwCounterU4_t nOfTermFailed
Number of commands which have failed their Termination.
#define HK_N_DEBUG_VAR
Number of debug variables.