28 #include "FwPrConstants.h" 29 #include "FwPrDCreate.h" 30 #include "FwPrConfig.h" 32 #include "FwSmConfig.h" 35 #include <CrFwCmpData.h> 51 static FwSmDesc_t
rep;
70 prData = FwPrGetData(prDesc);
71 smDesc = prData->smDesc;
76 inPckt = inSpecificData->
pckt;
131 pckt = cmpSpecificData->
pckt;
136 prData = FwPrGetData(prDesc);
137 smDesc = prData->smDesc;
142 inPckt = inSpecificData->
pckt;
169 CrFwCounterU4_t nOfAccFailed;
196 prData = FwPrGetData(prDesc);
197 smDesc = prData->smDesc;
202 inPckt = inSpecificData->
pckt;
205 PacketId = CrFwPcktGetApid(inPckt);
228 prData = FwPrGetData(prDesc);
229 smDesc = prData->smDesc;
251 prData = FwPrGetData(prDesc);
252 smDesc = prData->smDesc;
static void setDpfailCodeAccFailed(CrPsFailCode_t failCodeAccFailed)
Sets the value of the datapool item failCodeAccFailed.
Type for the Framework Component Data (FCD).
static void setDpnOfAccFailed(CrFwCounterU4_t nOfAccFailed)
Sets the value of the datapool item nOfAccFailed.
The Inloader acceptance of a component failed (see CrPsRepErr.h)
CrFwDestSrc_t CrFwPcktGetSrc(CrFwPckt_t pckt)
Return the source of the command or report encapsulated in a packet.
CrFwServType_t CrFwPcktGetServType(CrFwPckt_t pckt)
Return the service type of the command or report encapsulated in a packet.
CrFwDiscriminant_t CrFwPcktGetDiscriminant(CrFwPckt_t pckt)
Return the discriminant of the command or report encapsulated in a packet.
CrFwTypeId_t CrFwCmpGetTypeId(FwSmDesc_t smDesc)
Return the type identifier of the argument component.
void CrPsPcktAccFailN2(FwPrDesc_t prDesc)
Action for node N2.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
Create one instance of the CrPsPcktAccFail procedure.
#define CR_FW_INREPORT_TYPE
Type identifier for the InReport component.
static CrPsFailData_t getDpverFailData()
Gets the value of the datapool item verFailData.
#define CRPS_REQVERIF_ACC_FAIL
Subtype identifier of the Request Verification Acceptance Failed out-going report packet...
FwPrBool_t CrPsPcktAccFailG1(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N1.
unsigned short int CrFwTypeId_t
Type used for the identifier of a component type.
Definition of the OutFactory component.
Type for the data describing an OutComponent.
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.
Type for the data describing an InReport.
CrFwPckt_t pckt
Packet to which the out-going command or report is serialized.
Interface for creating and accessing a report or command packet.
CrFwPckt_t pckt
Packet holding the InReport.
FwPrBool_t CrPsPcktAccFailG2(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION2 to N3.
static void setDppcktIdAccFailed(CrFwTypeId_t pcktIdAccFailed)
Sets the value of the datapool item pcktIdAccFailed.
static FwSmDesc_t rep
CrPsPcktAccFail function definitions.
#define CRPS_REQVERIF_PROG_SUCC
Subtype identifier of the Request Verification Progress Successful out-going report packet...
void CrPsPcktAccFailN6(FwPrDesc_t prDesc)
Action for node N6.
void CrFwOutLoaderLoad(FwSmDesc_t outCmp)
Load an OutComponent into its OutManager.
Interface for accessing fields in packets of service "ServReqVerif".
The Outfactory failed to make the component (see CrPsRepErr.h)
Interface for accessing data pool items.
void CrPsPcktAccFailN5(FwPrDesc_t prDesc)
Action for node N5.
CrPsRepErrCode_t
Identifier for the errors reported through the error reporting interface of CrFwRepErr.h.
FwPrBool_t CrPsPcktAccFailG1E(FwPrDesc_t prDesc)
Guard on the Control Flow from DECISION1 to N2.
generic Interface for accessing fields in packets.
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.
static CrFwCounterU4_t getDpnOfAccFailed()
Gets the value of the datapool item nOfAccFailed.
#define CR_FW_INCOMMAND_TYPE
Type identifier for the InCommand component.
void CrPsPcktAccFailN1(FwPrDesc_t prDesc)
Action for node N1.
uint16_t CrPsFailCode_t
Type used for the Failure Code of a packet.
static void setVerFailedAccRepFailureData(void *p, CrPsFailData_t FailureData)
Set "FailureData" in "VerFailedAccRep" packet.
void setVerFailedAccRepRid(void *p, CrPsRid_t Rid)
Set "RequestId" in a "VerFailedAccRep" packet.
CrFwServSubType_t CrFwPcktGetServSubType(CrFwPckt_t pckt)
Return the service sub-type of the command or report encapsulated in a packet.
void CrPsRepErr(CrPsRepErrCode_t errCode, CrFwServType_t repType, CrFwServSubType_t repSubType, CrFwDiscriminant_t repDiscriminant)
Report an error which has no parameters attached to it.
Definition of Base Component.
Interface for reporting an error detected by a PUS Extension component.
auxiliary Interface for accessing fields in packets of service "ServReqVerif".
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
void CrPsPcktAccFailN3(FwPrDesc_t prDesc)
Action for node N3.
static void setVerFailedAccRepFailureCode(void *p, CrPsFailCode_t FailureCode)
Set "FailureCode" in "VerFailedAccRep" packet.
Definition of the OutComponent Component of the framework.
static CrPsRid_t getPcktRid(void *p)
Getter for the RequestId from a packet.
void CrFwOutCmpSetDest(FwSmDesc_t smDesc, CrFwDestSrc_t dest)
Set the destination of the OutComponent.
Type for the data describing an InCommand.
void CrPsPcktAccFailN4(FwPrDesc_t prDesc)
Action for node N4.
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.
#define CRPS_REQVERIF
Type identifier of the Request Verification Service.