diff --git a/src/meshberry/EvilChatMesh.h b/src/meshberry/EvilChatMesh.h index 90ba683..dd48433 100644 --- a/src/meshberry/EvilChatMesh.h +++ b/src/meshberry/EvilChatMesh.h @@ -14,7 +14,7 @@ #include #define MAX_MSG_LEN 100 -#define MAX_HISTORY 32 +#define MAX_HISTORY 128 #define MAX_NODES 30 struct NodePresence { @@ -35,8 +35,8 @@ extern int nodesCount; extern uint8_t broadcastAddressEspNow[6]; /* Timings */ -#define TIMEOUT_PRESENCE 2000 -#define PING_INTERVAL 500 +#define TIMEOUT_PRESENCE 3000 +#define PING_INTERVAL 1000 extern unsigned long lastPing; /* ---------- BUFFER SÉCURISÉ POUR LE CALLBACK ---------- */