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: libmDot-mbed5 LoRa_Miun_lib
Fork of Dot-Examples by
Revision 22:7230c1ce7bc2, committed 2017-04-20
- Comitter:
- biwa1400
- Date:
- Thu Apr 20 07:03:29 2017 +0000
- Parent:
- 21:99ca5fc42f3e
- Child:
- 23:c4dbb237bb76
- Child:
- 25:c54ffd0a0437
- Commit message:
- SmartMiunV1
Changed in this revision
--- a/lib/LoRa_Miun.lib Wed Apr 12 05:35:40 2017 +0000 +++ b/lib/LoRa_Miun.lib Thu Apr 20 07:03:29 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/biwa1400/code/LoRa_Miun_lib/#cd7fc646a3aa +https://developer.mbed.org/users/biwa1400/code/LoRa_Miun_lib/#5d835ae2a591
--- a/lib/SmartApp_Miun.lib Wed Apr 12 05:35:40 2017 +0000 +++ b/lib/SmartApp_Miun.lib Thu Apr 20 07:03:29 2017 +0000 @@ -1,1 +1,1 @@ -https://developer.mbed.org/users/biwa1400/code/SmartApp_Miun/#3cd336aba723 +https://developer.mbed.org/users/biwa1400/code/SmartApp_Miun/#5b29579a065e
--- a/project/inc/example.h Wed Apr 12 05:35:40 2017 +0000
+++ b/project/inc/example.h Thu Apr 20 07:03:29 2017 +0000
@@ -12,6 +12,8 @@
//@override
virtual void run(std::string payload);
+
+ virtual void interrupt();
};
@@ -21,7 +23,7 @@
Application2(uint8_t appNumber):AppUnit(appNumber){};
//@override
- virtual void interrupt();
+ //virtual void interrupt();
};
--- a/project/src/example.cpp Wed Apr 12 05:35:40 2017 +0000
+++ b/project/src/example.cpp Thu Apr 20 07:03:29 2017 +0000
@@ -11,6 +11,7 @@
Application2 app2(2);
smartApp.addApp(app1);
smartApp.addApp(app2);
+ smartApp.setSleepTime(30);
//smartApp.showAppMap();
smartApp.startRunning();
@@ -24,9 +25,10 @@
send("Test Packet");
}
-void Application2::interrupt()
+void Application1::interrupt()
{
- logInfo("app2 interrupt");
+ logInfo("app1 interrupt");
+ send("Hello World");
}
uint8_t SmartApp_Example::measuredBattery()
