feat: improve error management to avoid infinite loop
The device goes in deep sleep after 3 restarts when connection is not successful
This commit is contained in:
parent
244d1eea21
commit
61b0b740d2
5 changed files with 53 additions and 20 deletions
|
|
@ -1,5 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#define MAX_RESTART 3
|
||||
|
||||
uint64_t joinEUI = 0x35f48318e1324e2e;
|
||||
uint64_t devEUI = 0x0586fe41112d83d9;
|
||||
uint8_t appKey[] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue