Version FC
Dependencies: DmTftLibrary eeprom SX1280Lib filesystem mbed
Fork of MSNV2-Terminal_V1-5 by
Diff: ChannelDescription.hpp
- Revision:
- 24:92c30dabfda4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ChannelDescription.hpp Tue Sep 11 21:45:52 2018 +0000 @@ -0,0 +1,30 @@ +#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__