summaryrefslogtreecommitdiff
path: root/LoRaHandler/LoRaHandler.h
diff options
context:
space:
mode:
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