Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

Revision:
24:92c30dabfda4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ConfigDataMessagePart.hpp	Tue Sep 11 21:45:52 2018 +0000
@@ -0,0 +1,28 @@
+#ifndef __CONFIGDATAMESSAGEPART_HPP__
+#define __CONFIGDATAMESSAGEPART_HPP__
+
+#include <vector>
+
+#include "Context.h"
+
+#include "DataMessagePart.hpp"
+class ChannelDescription;
+
+
+namespace misnet {
+    class ConfigDataMessagePart;
+}
+
+
+// This class describes the data part of an IOT configuration message.
+// It consists in a sequence of description blocks, one per service.
+// A 16-bit MAC is appended after the last service description block.
+class misnet::ConfigDataMessagePart : virtual DataMessagePart {
+    public:
+
+    private:
+        vector<ChannelDescription>  _channelDescriptions;   // Vector of channel descriptions
+        uint16_t                    _mic;                   // Message Authentication Code
+};
+
+#endif  // __CONFIGDATAMESSAGEPART_HPP__