2022-08-23 20:30:41 +02:00
|
|
|
#ifndef FSFW_CFDP_HANDLER_DEFS_H
|
|
|
|
#define FSFW_CFDP_HANDLER_DEFS_H
|
|
|
|
|
|
|
|
namespace cfdp {
|
|
|
|
|
|
|
|
enum class CfdpStates { IDLE, BUSY_CLASS_1_NACKED, BUSY_CLASS_2_ACKED, SUSPENDED };
|
|
|
|
|
2022-10-17 12:19:31 +02:00
|
|
|
static constexpr uint8_t SSID = SUBSYSTEM_ID::CFDP;
|
|
|
|
|
|
|
|
namespace events {
|
|
|
|
|
|
|
|
static constexpr Event STORE_ERROR = event::makeEvent(SSID, 0, severity::LOW);
|
|
|
|
static constexpr Event MSG_QUEUE_ERROR = event::makeEvent(SSID, 1, severity::LOW);
|
|
|
|
static constexpr Event SERIALIZATION_ERROR = event::makeEvent(SSID, 2, severity::LOW);
|
2023-02-24 15:49:05 +01:00
|
|
|
static constexpr Event FILESTORE_ERROR = event::makeEvent(SSID, 3, severity::LOW);
|
|
|
|
//! [EXPORT] : [COMMENT] P1: Transaction step ID, P2: 0 for source file name, 1 for dest file name
|
|
|
|
static constexpr Event FILENAME_TOO_LARGE_ERROR = event::makeEvent(SSID, 4, severity::LOW);
|
2022-10-17 12:19:31 +02:00
|
|
|
|
|
|
|
} // namespace events
|
|
|
|
|
|
|
|
} // namespace cfdp
|
2022-08-23 20:30:41 +02:00
|
|
|
#endif // FSFW_CFDP_HANDLER_DEFS_H
|