Changement du mode de transmission du buffer de messages MQTT au mode timer.
This commit is contained in:
@@ -2,15 +2,16 @@
|
||||
#define DEFINES_H
|
||||
|
||||
|
||||
#define SOFTWARE_VERSION "1.07-DBG"
|
||||
|
||||
#define GENERAL_MESSAGES_MAX_LOG_LINES 5000 //The number of lines of general status log we keep in the general status window (avoids fucking up because you know.... RAM)
|
||||
#define GENERAL_MESSAGES_SEND_TO_STDOUT //Comment this line to avoid printing log messages using qDebug.
|
||||
|
||||
#define MQTT_CLIENT_RECONNECT_TIMEOUT 5000 //Time in ms between reconnect attemps to MQTT broker when connection is lost
|
||||
#define MQTT_CLIENT_MSG_QUEUE_FLUSH_TIMEOUT 500 //The delay in ms between the TX messages when flushing the msg queue after a server reconnection
|
||||
#define MQTT_CLIENT_MSG_QUEUE_FLUSH_TIMEOUT 50 //The delay in ms between the TX messages when flushing the msg queue after a server reconnection
|
||||
#define MQTT_CLIENT_MSG_QUEUE_SIZE 5000 //The maximum number of messages to be queued. Older messages are lost when adding a new one in a full queue
|
||||
#define MQTT_TIMESTAMP_IN_PAYLOAD //Defining this adds the local timestamp to each MQTT payloads.
|
||||
//#define MQTT_USE_TIMER_TO_FLUSH_QUEUE //Use a timer based transmission of MQTT msgs while emtpying the queue instead of the "MessageSent" event.
|
||||
#define MQTT_USE_TIMER_TO_FLUSH_QUEUE //Use a timer based transmission of MQTT msgs while emtpying the queue instead of the "MessageSent" event.
|
||||
|
||||
#define USE_TOPIC_PREFIX
|
||||
#define FORCE_FLOAT_REPRESENTATION
|
||||
@@ -20,7 +21,7 @@
|
||||
#undef ENABLE_CHIPSET_DRIVER
|
||||
//#define ENABLE_CHIPSET_DRIVER //POUR ACTIVER LE DRIVER, IL FAUT INCLURE LA LIBRAIRIE AXIOMTEK DANS LE .PRO (pis oublie pas de faire clean / run qMake)...
|
||||
|
||||
//#define ENABLE_DEVELOPMENT_DEBUG_TOOLS
|
||||
#define ENABLE_DEVELOPMENT_DEBUG_TOOLS
|
||||
|
||||
enum eOtarcikGeneralReturns
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user