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_
9
#include <
Fw/FPrimeBasicTypes.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.
24
static
const
U32
FILEDOWNLINK_INTERNAL_BUFFER_SIZE
=
FW_FILE_BUFFER_MAX_SIZE
;
25
26
}
// namespace Svc
27
28
#endif
/* SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ */
FPrimeBasicTypes.hpp
Svc::FILEDOWNLINK_PACKETS_BY_RUN
static const bool FILEDOWNLINK_PACKETS_BY_RUN
Definition:
FileDownlinkCfg.hpp:16
Svc
RateGroupDivider component implementation.
Definition:
ActiveRateGroupCfg.hpp:18
Svc::FILEDOWNLINK_INTERNAL_BUFFER_SIZE
static const U32 FILEDOWNLINK_INTERNAL_BUFFER_SIZE
Definition:
FileDownlinkCfg.hpp:24
Svc::FILEDOWNLINK_COMMAND_FAILURES_DISABLED
static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED
Definition:
FileDownlinkCfg.hpp:21
FW_FILE_BUFFER_MAX_SIZE
#define FW_FILE_BUFFER_MAX_SIZE
Max size of file buffer (i.e. chunk of file)
Definition:
FpConfig.h:236
default
config
FileDownlinkCfg.hpp
Generated by
1.8.14