A multifunctional and modular Firmware for Multitech's mDot based on ARM mBed provides a widerange of functionality for several Sensors such as MAX44009, BME280, MPU9250, SI1143 and uBlox. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

Dependencies:   mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SensorMessage.h Source File

SensorMessage.h

Go to the documentation of this file.
00001 /**
00002  * @file SensorMessage.h
00003  *
00004  * @author Adrian
00005  * @date 01.06.2016
00006  *
00007  */
00008 #ifndef SENSORMESSAGE_H_
00009 #define SENSORMESSAGE_H_
00010 
00011 /**
00012  * @class SensorMessage
00013  * @brief The Base Class of a Container that can hold acquired values from a Sensor. The container will be
00014  * transported via a MessageQueue between different Tasks.
00015  */
00016 class SensorMessage {
00017 public:
00018     SensorMessage();
00019     virtual ~SensorMessage();
00020 
00021     /**
00022      * Gets a small LoRaMessage Type Formated String from the SensorMessage.
00023      * This String can later be used for transportation via LoRa
00024      * @return
00025      */
00026     virtual char* getLoRaMessageString();
00027 
00028 private:
00029 //  virtual char* getLoRaMessageId();
00030 
00031 };
00032 
00033 #endif /* SENSORMESSAGE_H_ */