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

LoRa-Sensornode Firmware for Multitech mDot

A multifunctional and modular Firmware for Multitech's mDot which provides a widerange of functionality for several Sensors. It allows you to quickly build a Sensornode that measures specific data with its sensors and sends it via LoRaWAN.

/media/uploads/mitea1/logo-lora-600x370.png /media/uploads/mitea1/mt_mdot_family_642px.png

Supported Sensors

Idea

The Firmware has some predefined Application Modes running different Tasks(Measurements). Each mode can be used in a different Scenario. Application_Modes define which sensors are used, how often they aquire data and how often the data has to be sent via LoRa. Lets say you just want to measure the Light then you choose an Application_Mode (or define one) that only runs TaskLight for light measurement. As a standard all measurements are taken every second and sent via LoRa but you can change that interval depending on your usage Scenario

Committer:
mitea1
Date:
Fri Nov 02 17:01:02 2018 +0000
Revision:
10:4051c38bf73f
Parent:
7:87cbeafdba06
wtf

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mitea1 7:87cbeafdba06 1 /**
mitea1 7:87cbeafdba06 2 * @file CommandMessage.h
mitea1 0:f2815503561f 3 *
mitea1 7:87cbeafdba06 4 * @author Adrian
mitea1 7:87cbeafdba06 5 * @date 08.06.2016
mitea1 7:87cbeafdba06 6 *
mitea1 0:f2815503561f 7 */
mitea1 0:f2815503561f 8 #ifndef APP_COMMANDMESSAGE_H_
mitea1 0:f2815503561f 9 #define APP_COMMANDMESSAGE_H_
mitea1 0:f2815503561f 10
mitea1 7:87cbeafdba06 11 #include <string>
mitea1 7:87cbeafdba06 12 #include <vector>
mitea1 7:87cbeafdba06 13 #include <stdint.h>
mitea1 7:87cbeafdba06 14
mitea1 0:f2815503561f 15 class CommandMessage {
mitea1 0:f2815503561f 16 public:
mitea1 0:f2815503561f 17 CommandMessage();
mitea1 0:f2815503561f 18 virtual ~CommandMessage();
mitea1 0:f2815503561f 19
mitea1 0:f2815503561f 20 std::string getCommandString();
mitea1 7:87cbeafdba06 21 void setCommandString(std::vector<uint8_t> commandMessage);
mitea1 7:87cbeafdba06 22 uint8_t getCommandHex();
mitea1 7:87cbeafdba06 23 void setCommandHex(uint8_t hexValue);
mitea1 0:f2815503561f 24 private:
mitea1 7:87cbeafdba06 25 std::string* command;
mitea1 7:87cbeafdba06 26 uint8_t commandHex;
mitea1 0:f2815503561f 27
mitea1 0:f2815503561f 28 };
mitea1 0:f2815503561f 29
mitea1 0:f2815503561f 30 #endif /* APP_COMMANDMESSAGE_H_ */