summaryrefslogtreecommitdiff
path: root/LoRaHandler/LoRaHandler.h
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-20 08:13:35 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-20 08:13:35 -0600
commit674cdb5c13bad3598381b81d843b5aeee5798d1f (patch)
tree1d18d592b5df2513036838bc94530648ad36631e /LoRaHandler/LoRaHandler.h
parent11412cbac7021dd8aee14ac4f1dc25994c9ab45b (diff)
downloadmtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.tar.gz
mtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.tar.bz2
mtdot-box-evb-factory-firmware-674cdb5c13bad3598381b81d843b5aeee5798d1f.zip
implement basic single survey mode - still needs sending data packet and data survey file
Diffstat (limited to 'LoRaHandler/LoRaHandler.h')
-rw-r--r--LoRaHandler/LoRaHandler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LoRaHandler/LoRaHandler.h b/LoRaHandler/LoRaHandler.h
index 20f9d6f..1a68668 100644
--- a/LoRaHandler/LoRaHandler.h
+++ b/LoRaHandler/LoRaHandler.h
@@ -36,6 +36,8 @@ class LoRaHandler {
LoRaStatus getStatus();
LoRaPing getPingResults();
uint32_t getNextTx();
+ uint32_t getJoinAttempts();
+ void resetJoinAttempts();
osThreadId _main;
@@ -44,6 +46,7 @@ class LoRaHandler {
LoRaPing _ping;
mDot* _dot;
Mutex _mutex;
+ uint32_t _join_attempts;
};
#endif