CORDET Framework - C2 Implementation
CrPsUtilitiesServEvt.c
Go to the documentation of this file.
1 
21 #include "CrPsUtilitiesServEvt.h"
22 #include "Pckt/CrFwPckt.h" /* --- interface to adaptation point CrFwPckt --- */
23 
24 /* CrFramework includes */
27 #include <CrFwCmpData.h>
28 
29 /* FwProfile includes */
30 #include <FwPrCore.h>
31 #include <FwPrConfig.h>
32 #include <FwSmConfig.h>
33 
36 
37 #include <DataPool/CrPsDp.h>
38 #include <DataPool/CrPsDpServEvt.h>
39 
40 #include <stdlib.h>
41 
42 /* global handles for the procedures */
43 FwPrDesc_t prDescEvtCmd5EidStart;
44 
49 {
50  /***********************************************************************/
51  /* Service Event Reporting Procedure */
52  /***********************************************************************/
53  prDescEvtCmd5EidStart = CrPsCmd5EidStartCreate(NULL);
54  if (FwPrCheck(prDescEvtCmd5EidStart) != prSuccess)
55  {
56  return EXIT_FAILURE;
57  }
58 
59  /* initialize Datapool Values */
60  initDpServEvt();
61 
62  return EXIT_SUCCESS;
63 }
64 
69 {
70  return;
71 }
72 
76 inline FwPrDesc_t getPrDescEvtCmd5EidStart()
77 {
78  return prDescEvtCmd5EidStart;
79 }
void initDpServEvt(void)
Initialises ServEvt.
Definition: CrPsDpServEvt.c:30
Create one instance of the CrPsCmd5EidStart procedure.
Interface for accessing data pool items.
Definition of the OutFactory component.
Header file to define all service and packet identifiers.
Interface for creating and accessing a report or command packet.
FwPrDesc_t getPrDescEvtCmd5EidStart()
Getter for EvtCmd5EidStart procedure descriptor.
int CrPsInitServEvt()
Initialization of CORDET Framework PUS Extension components.
Interface through which applications can initialize and execute framework PUS extension components...
void CrPsExecServEvt()
Execution of CORDET Framework PUS Extension components.
Interface for accessing data pool items.
Definition of the OutLoader component.
FwPrDesc_t CrPsCmd5EidStartCreate(void *prData)
Create a new procedure descriptor.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved