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.
Diff: Node.cpp
- Revision:
- 9:cfe697b53d71
- Parent:
- 8:8ce065f8c62f
- Child:
- 10:9bf05e9b4cde
--- a/Node.cpp Sun Oct 16 08:16:29 2016 +0200
+++ b/Node.cpp Sun Oct 16 09:57:58 2016 +0200
@@ -85,5 +85,20 @@
os_runloop_once();
}
+void Node::enableLinkCheck()
+{
+ setLinkCheck(true);
+}
+
+void Node::disableLinkCheck()
+{
+ setLinkCheck(false);
+}
+
+void Node::setLinkCheck(int state)
+{
+ LMIC_setLinkCheckMode(state);
+}
+
} /* namespace SimpleLoRaWAN */