CORDET Framework - C2 Implementation
CrFwInRep.h
Go to the documentation of this file.
1 
60 #ifndef CRFW_INREP_H_
61 #define CRFW_INREP_H_
62 
63 /* Include FW Profile files */
64 #include "FwSmConstants.h"
65 #include "FwPrConstants.h"
66 /* Include configuration files */
67 #include "Pckt/CrFwPcktQueue.h"
68 #include "CrFwUserConstants.h"
69 /* Include framework files */
70 #include "CrFwConstants.h"
71 
77 CrFwDestSrc_t CrFwInRepGetSrc(FwSmDesc_t smDesc);
78 
84 CrFwGroup_t CrFwInRepGetGroup(FwSmDesc_t smDesc);
85 
91 CrFwServType_t CrFwInRepGetServType(FwSmDesc_t smDesc);
92 
98 CrFwServType_t CrFwInRepGetServSubType(FwSmDesc_t smDesc);
99 
106 
112 CrFwSeqCnt_t CrFwInRepGetSeqCnt(FwSmDesc_t smDesc);
113 
124 CrFwPckt_t CrFwInRepGetParStart(FwSmDesc_t smDesc);
125 
136 CrFwPcktLength_t CrFwInRepGetParLength(FwSmDesc_t smDesc);
137 
151 void CrFwInRepConfigCheck(FwPrDesc_t prDesc);
152 
164 CrFwPckt_t CrFwInRepGetPckt(FwSmDesc_t smDesc);
165 
185 CrFwPckt_t CrFwInRepGetPcktFromPrDesc(FwPrDesc_t prDesc);
186 
199 CrFwBool_t CrFwInRepDefValidityCheck(FwPrDesc_t prDesc);
200 
201 #endif /* CRFW_INREP_H_ */
CrFwGroup_t CrFwInRepGetGroup(FwSmDesc_t smDesc)
Return the group of the InReport.
Definition: CrFwInRep.c:49
unsigned char * CrFwPckt_t
Type for packets (see CrFwPckt.h).
Definition: CrFwConstants.h:38
CrFwDestSrc_t CrFwInRepGetSrc(FwSmDesc_t smDesc)
Return the source of the InReport.
Definition: CrFwInRep.c:41
int CrFwBool_t
Type used for boolean values (1 represent "true" and 0 represents "false").
Definition: CrFwConstants.h:32
unsigned char CrFwGroup_t
Type used for the destination or source group of a packet.
Header file to define all invariant publicly available constants and types for the CORDET Framework...
unsigned short CrFwDiscriminant_t
Type used for the discriminant of a command or report.
unsigned char CrFwDestSrc_t
Type used for the command or report destination and source.
CrFwSeqCnt_t CrFwInRepGetSeqCnt(FwSmDesc_t smDesc)
Return the sequence counter of the InReport.
Definition: CrFwInRep.c:81
CrFwServType_t CrFwInRepGetServSubType(FwSmDesc_t smDesc)
Return the sub-type of the InReport.
Definition: CrFwInRep.c:65
Definition and management of packet queues.
CrFwPckt_t CrFwInRepGetPcktFromPrDesc(FwPrDesc_t prDesc)
Convenience function to extract the InReport's packet from the descriptor of the InReport's execution...
Definition: CrFwInRep.c:121
CrFwPcktLength_t CrFwInRepGetParLength(FwSmDesc_t smDesc)
Return the length in bytes of the parameter area of the InReport.
Definition: CrFwInRep.c:96
void CrFwInRepConfigCheck(FwPrDesc_t prDesc)
Configuration check for an InReport.
Definition: CrFwInRep.c:103
CrFwDiscriminant_t CrFwInRepGetDiscriminant(FwSmDesc_t smDesc)
Return the discriminant of the InReport.
Definition: CrFwInRep.c:73
Header file to define all user-configurable constants and types for the CORDET Framework (the non-con...
unsigned short int CrFwPcktLength_t
Type for the packet length.
CrFwPckt_t CrFwInRepGetPckt(FwSmDesc_t smDesc)
Return the pointer to the packet which holds the InReport.
Definition: CrFwInRep.c:114
CrFwBool_t CrFwInRepDefValidityCheck(FwPrDesc_t prDesc)
Default implementation of the validity check of an InReport.
Definition: CrFwInRep.c:129
CrFwPckt_t CrFwInRepGetParStart(FwSmDesc_t smDesc)
Return the start address of the parameter area of the InReport.
Definition: CrFwInRep.c:89
CrFwServType_t CrFwInRepGetServType(FwSmDesc_t smDesc)
Return the type of the InReport.
Definition: CrFwInRep.c:57
unsigned char CrFwServType_t
Type used for the service type of a command or report.
unsigned int CrFwSeqCnt_t
Type used for the sequence counter of commands or reports.
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved