F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
FileDownlinkCfg.hpp
Go to the documentation of this file.
1 /*
2  * FileDownlinkCfg.hpp:
3  *
4  * Configuration settings for file downlink component.
5  */
6 
7 #ifndef SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_
8 #define SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_
9 #include <FpConfig.hpp>
10 
11 namespace Svc {
12  // If this is set to true, the run handler will look to
13  // see if a packet is ready. If it is false, the next packet
14  // will be sent as soon as the previous is complete.
15  static const bool FILEDOWNLINK_PACKETS_BY_RUN = false;
16  // If this is set, errors that would cause FileDownlink to return an error response, such as a
17  // missing file or attempting to send a partial chunk past the end of the file will instead
18  // return success. This is recommended to avoid a non-serious FileDownlink error aborting a
19  // sequence early. These errors will still be logged as events.
20  static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED = true;
21  // Size of the internal file downlink buffer. This must now be static as
22  // file down maintains its own internal buffer.
24 }
25 
26 #endif /* SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ */
U32 FwPacketDescriptorType
Definition: FpConfig.h:87
#define FW_COM_BUFFER_MAX_SIZE
Definition: FpConfig.h:282
C++-compatible configuration header for fprime configuration.
static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED
static const U32 FILEDOWNLINK_INTERNAL_BUFFER_SIZE
static const bool FILEDOWNLINK_PACKETS_BY_RUN