aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/Container.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-10-23 18:34:18 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-10-23 18:34:18 +0300
commitddde99ac703d1e4ccfdea5030042fbf85dfcec38 (patch)
treec73c95110f217aef15451668e8183f6f8fd59222 /Software/Embedded_SW/Embedded/Communication/Container.c
parentcf83283f25844b9b673b7adc9bb851bcf19a399d (diff)
downloadTango-ddde99ac703d1e4ccfdea5030042fbf85dfcec38.tar.gz
Tango-ddde99ac703d1e4ccfdea5030042fbf85dfcec38.zip
infrastructure for file system commands. rockers disabled
Diffstat (limited to 'Software/Embedded_SW/Embedded/Communication/Container.c')
-rw-r--r--Software/Embedded_SW/Embedded/Communication/Container.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Embedded_SW/Embedded/Communication/Container.c b/Software/Embedded_SW/Embedded/Communication/Container.c
index a9bffa90d..751f7bfca 100644
--- a/Software/Embedded_SW/Embedded/Communication/Container.c
+++ b/Software/Embedded_SW/Embedded/Communication/Container.c
@@ -37,6 +37,7 @@
#include "Modules/General/process.h"
#include "Modules/Thread/Thread_ex.h"
+#include "Common/SWUpdate/FileSystem.h"
#include "Communication/CommunicationTask.h"
#include "StateMachines/Printing/PrintingSTM.h"
@@ -310,6 +311,30 @@ void receive_callback(char* buffer, size_t length)
case MESSAGE_TYPE__KeepAliveRequest:
KeepAliveRequestFunc(requestContainer);
break;
+ case MESSAGE_TYPE__FileUploadRequest:
+ FileUploadRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__FileChunkUploadRequest:
+ FileChunkUploadRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__ExecuteProcessRequest:
+ ExecuteProcessRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__KillProcessRequest:
+ KillProcessRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__CreateRequest:
+ CreateRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__DeleteRequest:
+ DeleteRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__GetStorageInfoRequest:
+ GetStorageInfoRequestFunc(requestContainer);
+ break;
+ case MESSAGE_TYPE__GetFilesRequest:
+ GetFilesRequestFunc(requestContainer);
+ break;
default:
//unsupported message type !!
LOG_ERROR (requestContainer->type,"unsupported message type");