Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: messages/DataMessagePart.hpp
- Branch:
- Integration
- Revision:
- 37:b565750d9978
- Child:
- 39:13e66d087ae9
--- /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__
