F´ Flight Software - C/C++ Documentation
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_
10 
11 namespace Svc {
12 
13 // If this is set to true, the run handler will look to
14 // see if a packet is ready. If it is false, the next packet
15 // will be sent as soon as the previous is complete.
16 static const bool FILEDOWNLINK_PACKETS_BY_RUN = false;
17 // If this is set, errors that would cause FileDownlink to return an error response, such as a
18 // missing file or attempting to send a partial chunk past the end of the file will instead
19 // return success. This is recommended to avoid a non-serious FileDownlink error aborting a
20 // sequence early. These errors will still be logged as events.
21 static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED = true;
22 // Size of the internal file downlink buffer. This must now be static as
23 // file down maintains its own internal buffer.
25 
26 } // namespace Svc
27 
28 #endif /* SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ */
static const bool FILEDOWNLINK_PACKETS_BY_RUN
RateGroupDivider component implementation.
static const U32 FILEDOWNLINK_INTERNAL_BUFFER_SIZE
static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED
#define FW_FILE_BUFFER_MAX_SIZE
Max size of file buffer (i.e. chunk of file)
Definition: FpConfig.h:236