add retry mechanic

This commit is contained in:
technyon
2023-01-14 10:09:35 +01:00
parent dec259ad0d
commit 633b7e8423
5 changed files with 56 additions and 4 deletions

View File

@@ -84,6 +84,9 @@ private:
bool _keypadEnabled = false;
bool _configRead = false;
uint _maxKeypadCodeCount = 0;
int _nrOfRetries = 0;
int _retryDelay = 0;
int _retryCount = -1;
unsigned long _nextLockStateUpdateTs = 0;
unsigned long _nextBatteryReportTs = 0;
unsigned long _nextConfigUpdateTs = 0;