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.
23
static
const
U32
FILEDOWNLINK_INTERNAL_BUFFER_SIZE
=
FW_COM_BUFFER_MAX_SIZE
-
sizeof
(
FwPacketDescriptorType
);
24
}
25
26
#endif
/* SVC_FILEDOWNLINK_FILEDOWNLINKCFG_HPP_ */
FwPacketDescriptorType
U32 FwPacketDescriptorType
Definition:
FpConfig.h:87
FW_COM_BUFFER_MAX_SIZE
#define FW_COM_BUFFER_MAX_SIZE
Definition:
FpConfig.h:282
FpConfig.hpp
C++-compatible configuration header for fprime configuration.
Svc
Definition:
ActiveRateGroupCfg.hpp:18
Svc::FILEDOWNLINK_COMMAND_FAILURES_DISABLED
static const bool FILEDOWNLINK_COMMAND_FAILURES_DISABLED
Definition:
FileDownlinkCfg.hpp:20
Svc::FILEDOWNLINK_INTERNAL_BUFFER_SIZE
static const U32 FILEDOWNLINK_INTERNAL_BUFFER_SIZE
Definition:
FileDownlinkCfg.hpp:23
Svc::FILEDOWNLINK_PACKETS_BY_RUN
static const bool FILEDOWNLINK_PACKETS_BY_RUN
Definition:
FileDownlinkCfg.hpp:15
config
FileDownlinkCfg.hpp
Generated by
1.9.1