Version FC

Dependencies:   DmTftLibrary eeprom SX1280Lib filesystem mbed

Fork of MSNV2-Terminal_V1-5 by Francis CHATAIN

ChannelDescription.hpp

Committer:
patrick_duc
Date:
2018-09-11
Revision:
24:92c30dabfda4

File content as of revision 24:92c30dabfda4:

#ifndef __CHANNELDESCRIPTION_HPP__
#define __CHANNELDESCRIPTION_HPP__

#include "Context.h"


#include "DataMessagePart.hpp"


namespace misnet {
    class ChannelDescription;
}


// This class represents a channel description block.
// NB. The term "channel" represents both the channel concept and the index of a service in a payload.
class misnet::ChannelDescription {
    public:

    private:
        uint8_t     _channel;           // Index of the payload channel whose description follows
        uint8_t     _configuration;     // 1 bit for state(enabled/disabled),
                                        // 1 bit for request mode (trigger or frequency),
                                        // 1 bit for trigger mode (by range, by delta or on change)
                                        // and 1 bit RFU
        uint8_t     _type;              // LwM2M/MISNet object code (range starting at 3200)
        uint8_t     _data_type;         // LwM2M value resource data type (range starting at 5000)
};

#endif  // __CHANNELDESCRIPTION_HPP__