added command to list directory into file

This commit is contained in:
2021-07-19 20:06:28 +02:00
committed by Robin Mueller
parent 81ac5a3b2c
commit 5c01401042
3 changed files with 59 additions and 1 deletions

View File

@ -8,6 +8,8 @@
class CoreController: public ExtendedControllerBase {
public:
static constexpr ActionId_t LIST_DIRECTORY_INTO_FILE = 0;
static constexpr uint8_t SUBSYSTEM_ID = SUBSYSTEM_ID::CORE;
static constexpr Event ALLOC_FAILURE = event::makeEvent(SUBSYSTEM_ID, 0, severity::MEDIUM);
@ -16,6 +18,9 @@ public:
ReturnValue_t initialize() override;
ReturnValue_t executeAction(ActionId_t actionId,
MessageQueueId_t commandedBy, const uint8_t *data, size_t size) override;
ReturnValue_t handleCommandMessage(CommandMessage *message) override;
void performControlOperation() override;