28 #include "CrFwCmpData.h" 32 #include "FwPrConfig.h" 34 #include "FwSmConfig.h" 78 uint32_t *lptMemStartAddr;
80 CrPsSize_t partSize, partSize_prev, lptRemSize;
82 CrPsNumberU4_t PartSeqNmb;
86 pckt = cmpSpecificData->
pckt;
88 LptBufferId = DownTransferLptBufferId;
Type for the Framework Component Data (FCD).
#define CR_FW_MAX_PCKT_LENGTH
The maximum size in number of bytes of a packet.
#define CRFW_UNUSED(x)
A macro that can be used to specify that a function parameter is not used.
static CrPsSize_t getDplptRemSizeItem(int i)
Gets the value of the i-th element in the datapool array lptRemSize.
#define CRC_LENGTH
The length of CRC.
Interface for accessing data pool items.
Type for the data describing an OutComponent.
Header file to define all service and packet identifiers.
CrFwPckt_t pckt
Packet to which the out-going command or report is serialized.
Interface for creating and accessing a report or command packet.
Interface through which applications can initialize and execute framework PUS extension components...
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Create one instance of the CrPsLpt state machine.
static void setDplptRemSizeItem(int i, CrPsSize_t lptRemSize)
Sets the value of the i-th element in the datapool array lptRemSize.
static CrPsTid_t getDplargeMsgTransIdItem(int i)
Gets the value of the i-th element in the datapool array largeMsgTransId.
CrPsTid_t Tid
CrPsLptUpCmdStart function definitions.
static void setLptDownLastRepPartSeqNmb(void *p, CrPsNumberU4_t PartSeqNmb)
Set "PartSeqNmb" in "LptDownLastRep" packet.
void * cmpSpecificData
Derived data which are specific to each type of framework component.
Interface for accessing fields in packets of service "ServLPT".
Implementation of TM(13,3) LptDownLastRep.
FwSmDesc_t getSmDescLpt()
Getter for Lpt state machine descriptor.
CrFwBool_t CrPsLptDownLastRepEnableCheck(FwSmDesc_t smDesc)
Enable check of TM(13,3) LptDownLastRep.
uint32_t * getLptMemStartAddr(uint32_t LptBuffer)
Getter function for the Address of the Data.
#define CrPsLpt_DOWN_TRANSFER
Make sure to include this header file only once.
char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition of the OutComponent Component of the framework.
static CrFwCounterU4_t getDppartSeqNmbItem(int i)
Gets the value of the i-th element in the datapool array partSeqNmb.
auxiliary Interface for accessing fields in packets of service "ServLPT".
static void setLptDownLastRepTid(void *p, CrPsTid_t Tid)
Set "Tid" in "LptDownLastRep" packet.
void CrPsLptDownLastRepUpdateAction(FwSmDesc_t smDesc)
Update action of TM(13,3) LptDownLastRep.
void setLptDownLastRepPart(void *p, unsigned char *Part, unsigned short length)
Set "Part" in "LptDownLastRep" packet.