24 #include "CrDaConstants.h" 33 printf(
"CrFwRepInCmdOutcome: unexpected outcome for InCommand %d, service type %d,\n",instanceId,servType);
34 printf(
" service sub-type %d, and discriminant %d\n",servSubType,disc);
41 printf(
"CrFwRepInCmdOutcomeCreFailt: failure to create InCommand component\n");
unsigned char CrFwServSubType_t
Type used for the command or report sub-type.
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
void CrFwRepInCmdOutcomeCreFail(CrFwRepInCmdOutcome_t outcome, CrFwOutcome_t failCode, CrFwPckt_t pckt)
Report the a "creation failure" outcome for the processing of a packet carrying an InCommand...
unsigned short CrFwInstanceId_t
Type used for instance identifiers.
static CrFwServSubType_t servSubType
Service sub-type.
unsigned char CrFwServType_t
Type used for the service type of a command or report.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
static CrFwDiscriminant_t disc
Discriminant.
void CrFwRepInCmdOutcome(CrFwRepInCmdOutcome_t outcome, CrFwInstanceId_t instanceId, CrFwServType_t servType, CrFwServSubType_t servSubType, CrFwDiscriminant_t disc, CrFwOutcome_t failCode, FwSmDesc_t inCmd)
Report the outcome of the processing of an InCommand.
unsigned char CrFwOutcome_t
Type used for the outcome of a check (see CrFwCmpData).
Interface for reporting the outcome of the processing of an InCommand.
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
CrFwRepInCmdOutcome_t
Enumerated type for the outcome of the processing of an incoming command.
static CrFwServType_t servType
The InCommand type as computed in the Validity Check.
static FwSmDesc_t inCmd[CR_FW_INFACTORY_MAX_NOF_INCMD]
The pre-allocated InCommand instances.