Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

ConfigDataMessagePart.hpp

Committer:
FCH_31
Date:
2018-10-22
Revision:
41:5a436163dddf
Parent:
24:92c30dabfda4

File content as of revision 41:5a436163dddf:

#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__