Francis CHATAIN / Mbed 2 deprecated MSNV2-Terminal_V1-6

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

Branch:
Integration
Revision:
37:b565750d9978
Child:
39:13e66d087ae9
diff -r 14a8da4108d5 -r b565750d9978 messages/DataMessagePart.hpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messages/DataMessagePart.hpp	Tue Oct 16 11:28:33 2018 +0000
@@ -0,0 +1,22 @@
+#ifndef __DATAMESSAGEPART_HPP__
+#define __DATAMESSAGEPART_HPP__
+
+#include <string>
+
+#include "Context.h"
+
+
+namespace misnet {
+    class DataMessagePart;
+}
+
+class misnet::DataMessagePart {
+public:
+    virtual ~DataMessagePart() {
+      DEBUG("Building DataMessagePart...");
+    }
+
+  virtual void serialize(std::string & result) = 0; // Updates the argument string to represents the data to be sent to gateway
+};
+
+#endif  // __DATAMESSAGEPART_HPP__