Simulated time for unit test

This change needs some modification in EpoxyDuino that are not yet accepted.
This commit is contained in:
hsaturn
2022-12-29 00:54:15 +01:00
parent f348d82167
commit f0af2b95e3
5 changed files with 60 additions and 11 deletions

View File

@@ -7,6 +7,7 @@
#ifndef TINY_MQTT_DEFAULT_ALIVE
#define TINY_MQTT_DEFAULT_ALIVE 10
#endif
#define TINY_MQTT_CLIENT_ALIVE_TOLERANCE 5
// TODO Should add a AUnit with both TINY_MQTT_ASYNC and not TINY_MQTT_ASYNC
// #define TINY_MQTT_ASYNC // Uncomment this to use ESPAsyncTCP instead of normal cnx