increase timeouts

This commit is contained in:
my 2026-09-24 15:00:58 +02:00
parent 542351e05e
commit 3a4f713fcc

View file

@ -14,7 +14,7 @@
#include <array> #include <array>
#define MAX_MSG_LEN 100 #define MAX_MSG_LEN 100
#define MAX_HISTORY 32 #define MAX_HISTORY 128
#define MAX_NODES 30 #define MAX_NODES 30
struct NodePresence { struct NodePresence {
@ -35,8 +35,8 @@ extern int nodesCount;
extern uint8_t broadcastAddressEspNow[6]; extern uint8_t broadcastAddressEspNow[6];
/* Timings */ /* Timings */
#define TIMEOUT_PRESENCE 2000 #define TIMEOUT_PRESENCE 3000
#define PING_INTERVAL 500 #define PING_INTERVAL 1000
extern unsigned long lastPing; extern unsigned long lastPing;
/* ---------- BUFFER SÉCURISÉ POUR LE CALLBACK ---------- */ /* ---------- BUFFER SÉCURISÉ POUR LE CALLBACK ---------- */