Sille Van Landschoot / Simple-LoRaWAN

Dependencies:   LMiC SX1276Lib

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 */