13#ifndef Svc_FileUplink_HPP
14#define Svc_FileUplink_HPP
16#include <Svc/FileUplink/FileUplinkComponentAc.hpp>
23 public FileUplinkComponentBase
33 typedef enum { START, DATA } ReceiveMode;
70 checksum = this->checksum;
82 n(0), fileUplink(fileUplink)
90 this->fileUplink->tlmWrite_FilesReceived(n);
104 class PacketsReceived {
109 PacketsReceived(
FileUplink *
const fileUplink) :
110 n(0), fileUplink(fileUplink)
116 void packetReceived() {
118 this->fileUplink->tlmWrite_PacketsReceived(n);
138 n(0), fileUplink(fileUplink)
150 void packetOutOfBounds(
151 const U32 sequenceIndex,
156 void packetOutOfOrder(
157 const U32 sequenceIndex,
158 const U32 lastSequenceIndex
175 this->fileUplink->tlmWrite_Warnings(n);
197 const char *
const name
219 void bufferSendIn_handler(
248 void handleCancelPacket();
251 void checkSequenceIndex(
const U32 sequenceIndex);
257 void goToStartMode();
269 ReceiveMode receiveMode;
272 U32 lastSequenceIndex;
278 FilesReceived filesReceived;
281 PacketsReceived packetsReceived;
PlatformIntType NATIVE_INT_TYPE
uint8_t U8
8-bit unsigned integer
Class representing a CFDP checksum.
The type of a data packet.
The type of an end packet.
void init(const NATIVE_INT_TYPE queueDepth, const NATIVE_INT_TYPE instance)
The type of a start packet.