aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Communication/Container.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2018-10-25 11:10:35 +0300
committerShlomo Hecht <shlomo@twine-s.com>2018-10-25 11:10:35 +0300
commit2eb5e880d44c358ef6a97232e90e77ea0ec582ae (patch)
tree156599c15b3013d83a29e8e36fc6f94b7d9fb9c7 /Software/Embedded_SW/Embedded/Communication/Container.c
parentb2ff9df011e1e710381683f8c50d66e9f34616a2 (diff)
parentf24af73628e5e7ddfa3590fe278c1623f6ede2df (diff)
downloadTango-2eb5e880d44c358ef6a97232e90e77ea0ec582ae.tar.gz
Tango-2eb5e880d44c358ef6a97232e90e77ea0ec582ae.zip
merge
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 bf8106b20..ddcdc70ca 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"
@@ -312,6 +313,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");