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:
Alexis Fourmaux 2026-05-06 17:51:04 +02:00
parent 244d1eea21
commit 61b0b740d2
5 changed files with 53 additions and 20 deletions

View file

@ -1,5 +1,7 @@
#pragma once
#define MAX_RESTART 3
uint64_t joinEUI = 0x35f48318e1324e2e;
uint64_t devEUI = 0x0586fe41112d83d9;
uint8_t appKey[] = {