32 #include "CrFwCmpData.h" 35 #include "FwSmConstants.h" 36 #include "FwSmConfig.h" 38 #include "FwPrDCreate.h" 39 #include "FwPrConfig.h" 41 #include "FwPrConstants.h" 78 prDataPtr = FwPrGetData(prDesc);
79 smDesc = prDataPtr->smDesc;
84 pckt = cmpSpecificData->
pckt;
90 if (tcServSubType == 9)
94 else if (tcServSubType == 11)
124 prDataPtr = FwPrGetData(prDesc);
125 smDesc = prDataPtr->smDesc;
127 stepIdentifier = iSid;
167 prDataPtr = FwPrGetData(prDesc);
168 smDesc = prDataPtr->smDesc;
173 pckt = cmpSpecificData->
pckt;
193 prDataPtr = FwPrGetData(prDesc);
194 smDesc = prDataPtr->smDesc;
197 prDataPtr->outcome = 1;
198 FwPrSetData(prDesc, prDataPtr);
203 FwSmSetData(smDesc, cmpData);
218 prDataPtr = FwPrGetData(prDesc);
219 smDesc = prDataPtr->smDesc;
222 prDataPtr->outcome = 2;
223 FwPrSetData(prDesc, prDataPtr);
228 FwSmSetData(smDesc, cmpData);
242 prDataPtr = FwPrGetData(prDesc);
243 sid = prDataPtr->sidPtr;
247 currentSid = sid[iSid];
261 prDataPtr = FwPrGetData(prDesc);
262 sid = prDataPtr->sidPtr;
266 currentSid = sid[iSid];
301 prDataPtr = FwPrGetData(prDesc);
302 sid = prDataPtr->sidPtr;
305 if (sid[iSid + 1] == 0)
322 if (FwPrGetNodeExecCnt(prDesc))
Type for the Framework Component Data (FCD).
CrFwOutcome_t outcome
The outcome of an action or check executed by a state machine or by one of its procedures.
CrFwDestSrc_t CrFwPcktGetSrc(CrFwPckt_t pckt)
Return the source of the command or report encapsulated in a packet.
FwPrBool_t CrPsCmd3s9PrgrG3(FwPrDesc_t prDesc)
Guard on the Control Flow from N7 to N9.
Interface through which applications can initialize and execute framework PUS extension components...
#define CRPS_REQVERIF_PROG_FAIL
Subtype identifier of the Request Verification Progress Failed out-going report packet.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
void CrPsCmd3s9PrgrN5(FwPrDesc_t prDesc)
Action for node N5.
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
Header file to define all user-configurable constants and types for the IASW Application.
FwPrBool_t CrPsCmd3s9PrgrG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N6.
Create one instance of the CrPsCmd3s9Prgr procedure.
Interface for accessing data pool items.
FwSmDesc_t rep
CrPsCmd3s9Prgr function definitions.
Definition of the OutFactory component.
CrFwPckt_t pckt
Packet holding the InCommand.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
Header file to define all service and packet identifiers.
Interface for creating and accessing a report or command packet.
void CrPsCmd3s9PrgrN7(FwPrDesc_t prDesc)
Action for node N7.
static void setDpverFailData(CrPsFailData_t verFailData)
Sets the value of the datapool item verFailData.
void CrPsCmd3s9PrgrN9(FwPrDesc_t prDesc)
Action for node N9.
uint32_t CrPsStepId_t
Type used for the Step ID of a packet.
void CrFwOutLoaderLoad(FwSmDesc_t outCmp)
Load an OutComponent into its OutManager.
auxiliary Interface for accessing fields in packets of service "ServHk".
#define OUTFACTORY_FAIL
Failure Codes for Service 5 (Event Report)
void CrPsCmd3s9PrgrN4(FwPrDesc_t prDesc)
Action for node N4.
#define CRPS_HK_DIAGREP_STRUCT_REP
Subtype identifier of the Housekeeping Diagnostic Parameter Report Structure Report out-going report ...
The Outfactory failed to make the component (see CrPsRepErr.h)
Interface for accessing data pool items.
CrPsRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
uint32_t CrPsFailData_t
Type used for the Failure Data of a packet.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
FwPrBool_t CrPsCmd3s9PrgrG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
void CrPsCmd3s9PrgrN2(FwPrDesc_t prDesc)
Action for node N2.
size_t getHkRepStructSize(CrPsSid_t sid)
Get "RepStrucSize by SID".
void CrPsCmd3s9PrgrN3(FwPrDesc_t prDesc)
Action for node N3.
uint16_t CrPsFailCode_t
Type used for the Failure Code of a packet.
CrFwServSubType_t CrFwPcktGetServSubType(CrFwPckt_t pckt)
Return the service sub-type of the command or report encapsulated in a packet.
static CrFwDestSrc_t dest
Destination.
void CrPsRepErr(CrPsRepErrCode_t errCode, CrFwServType_t repType, CrFwServSubType_t repSubType, CrFwDiscriminant_t repDiscriminant)
Report an error which has no parameters attached to it.
#define CRPS_HK
Type identifier of the Housekeeping Data Report out-going report packet.
void SendReqVerifPrgrFailRep(FwSmDesc_t smDesc, CrPsStepId_t stepIdentifier, CrPsFailCode_t FailureCode)
Generate a Request Verification Progress Failed out-going report.
Interface for reporting an error detected by a PUS Extension component.
uint8_t CrPsSid_t
Type used for the Parameter Report Structure ID of a packet.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
#define CRPS_HK_HKREP_STRUCT_REP
Subtype identifier of the Housekeeping Housekeeping Parameter Report Structure Report out-going repor...
void CrPsCmd3s9PrgrN1(FwPrDesc_t prDesc)
Action for node N1.
Definition of the OutComponent Component of the framework.
void CrFwOutCmpSetDest(FwSmDesc_t smDesc, CrFwDestSrc_t dest)
Set the destination of the OutComponent.
void CrPsCmd3s9PrgrN8(FwPrDesc_t prDesc)
Action for node N8.
Interface through which applications can initialize and execute framework PUS extension components...
Interface for accessing fields in packets of service "ServHk".
Type for the data describing an InCommand.
Definition of the OutLoader component.
FwSmDesc_t CrFwOutFactoryMakeOutCmp(CrFwServType_t type, CrFwServSubType_t subType, CrFwDiscriminant_t discriminant, CrFwPcktLength_t length)
Make function for an OutComponent.
void CrPsCmd3s9PrgrN6(FwPrDesc_t prDesc)
Action for node N6.
#define CRPS_REQVERIF
Type identifier of the Request Verification Service.