Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed
You are viewing an older revision! See the latest version
Getting Started
Using the mDot as a specific LoRa Sensornode is very easy. Just take a look at the predefined Application_Modes and choose the one that suits your use case.
Add the Application_Mode as a parameter to init() thats all
building of a specific Sensorapplication using APPLICATION_MODE_1
int main() {
Application application;
application.init(APPLICATION_MODE_1);
while (true) {
sleep();
}
return 0;
}
You are also able to define your own Application_Mode and start your self defined Sensornode
building of a specific Sensorapplication using a selfdefined YOUR_OWN_APPLICATION_MODE
int main() {
Application application;
application.init(YOUR_OWN_APPLICATION_MODE);
while (true) {
sleep();
}
return 0;
}